A gesture recognition library for accelerometer-enabled devices (e.g. Nintendos Wiimote)