Added analog joystick support (still a bit more work to do, esp. for g-sensor support and adding in-game options