bug: getLastInputDeviceType()
doesn't look at gamepad sticks or mouse move
#572
Labels
bug
Something isn't working
just do
then connect a game controller. Press a button, it changes to
gamepad
. Use the keyboard to change it back tokeyboard
and then move a stick on the controller, it doesn't change togamepad
. Also, clicking changes it tomouse
but moving the mouse does not.Since mouse move and gamepad stick are "passive", maybe KAPLAY can be set to only look at them for getLastInputDeviceType() if the game attaches a
onMouseMove
oronGamepadStick
handler and ignore these otherwise.The text was updated successfully, but these errors were encountered: