go-sdl2-examples/examples/joystick-input
Joshua Salzedo 3b65f5e554
Fixed init and button detection runtime
The JoyButtonEvent handler incorrectly checked the t.Type rather than the T.State when deciding whether a button was pressed or released.
The joystick constructor was missing an int cast.
2020-03-09 15:57:26 -07:00
..
joystick-input.go Fixed init and button detection runtime 2020-03-09 15:57:26 -07:00