Add support for defining joystick buttons

Defined joystick input is checked with Input.check(), Input.pressed()
and Input.released() the same way you would with keys. Doesn't break any
Haxepunk projects