Accel is a simple library written in C that uses accelerometer data to find gestures in realtime.