jkuhlmann / gainput

Cross-platform C++ input library supporting gamepads, keyboard, mouse, touch
http://gainput.johanneskuhlmann.de/
MIT License
858 stars 103 forks source link

Windows Gamepad LeftTrigger & RightTrigger events cause IsValidButton() to return false #71

Open KC3BZU opened 4 years ago

KC3BZU commented 4 years ago

When running the Listener example on Windows, when I press the LeftTrigger or RightTrigger of my gamepad (Logitech F310 in XINPUT mode), there is an assert error. This is because IsValidButton() is returning false for PadButtonAxis4 and PadButtonAxis5.