A joystick like controller that uses the phonegap accelerometer api