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. |
||
---|---|---|
.. | ||
joystick-input.go |
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. |
||
---|---|---|
.. | ||
joystick-input.go |