09e8da43db
Add support for non-GameController SDL Joysticks. Add proxy class wxSDLJoyDev to support using either SDL_GameController* or SDL_Joystick* values in joystate.dev. Add pretty much identical SDL code to support SDL_Joystick* when the device cannot be opened as an SDL_GameController*, without changing the API. SDL_Joystick* devices operate almost identically to SDL_Controller* devices with their own default mappings, for both events and polling. Filter axis motion events in the bindings editor widget for subsequent events within 300ms. This gets rid of the double binding for +1/-1 when the stick is moved to a direction. Signed-off-by: Rafael Kitover <rkitover@gmail.com> |
||
---|---|---|
.. | ||
wxvbam | ||
CMakeLists.txt |