go-sdl2-examples/examples/joystick-input
Joshua Salzedo 03cd1562fd
Fixed init and button detection runtime (#7)
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-10 22:50:16 +08:00
..
joystick-input.go Fixed init and button detection runtime (#7) 2020-03-10 22:50:16 +08:00