Ported over from LÖVE 0.8 to 0.9. Joystick handling still shoddy, especially with non-gamepads