| GamePad Right Trigger polls as cbutton(leftstick) and caxis |
| GamePad Right Trigger polls as cbutton(leftstick) and caxis |
|
mjspritzer
|
Hi, I'm building a client/server for game controllers using SDL2's new Game Controller API. Everything is working excellently...except for when I poll an SDL_Event, the right trigger is polling as both the cbutton.button (SDL_CONTROLLER_BUTTON_LEFTSTICK) and it's normal caxis.axis (SDL_CONTROLLER_AXIS_TRIGGERRIGHT). I checked my code to make sure I didn't miss any break statements between the switches as well as my values on the server side. The debugger stops on SDL_CONTROLLER_BUTTON_LEFTSTICK(this happens after It already stops on it's proper caxis.axis event) when I press the right trigger. Any insight as to why this might be happening would be greatly appreciated, especially from the library developers
|
|||||||||||
|
|
||||||||||||

