implemented "accelerometer as joystick" hint

I don't know what I'm doing, but if you guys like this, I can implement the rest of the hints this way. (It builds but is otherwise untested)