Input.gamepaddown(...) is working just fine with my gamepad; only gamepadaxis is broken.
(Happens whether or not a gamepad is plugged in. Tested on OSX 10.8.5, using latest version of Luxe and Snow from Github. Using an Xbox 360 gamepad and Tattiebogle driver.)
Encountered this in Luxe but I think it's an issue in Snow.
Crashes when run as a native Mac app:
And when run in HTML5:
TypeError: _gamepad_state is undefined
Looks like an unexpected null in the
gamepad_axis_values
map: https://github.com/underscorediscovery/snow/blob/master/snow/input/Input.hx#L155Input.gamepaddown(...)
is working just fine with my gamepad; onlygamepadaxis
is broken.(Happens whether or not a gamepad is plugged in. Tested on OSX 10.8.5, using latest version of Luxe and Snow from Github. Using an Xbox 360 gamepad and Tattiebogle driver.)