It recognizes horizontal hand-waving using two SHARP distance sensors 2Y0A211.

The cube with our compact design
The cube, detached