1
0
Fork 0
forked from suyu/suyu
suyu/src/input_common/sdl
Morph 117bdc71e0 sdl_impl: Revert to the "old" method of mapping sticks
Not all controllers have a SDL_GameController binding. This caused controllers not present in the SDL GameController database to have buttons mapped instead of axes.

Furthermore, it was not possible to invert the axes when it could be useful such as emulating a horizontal single joycon or other potential cases. This allows us to invert the axes by reversing the order of mapping (vertical, then horizontal).
2020-11-15 23:33:21 -05:00
..
sdl.cpp
sdl.h Project Mjölnir: Part 1 2020-08-26 02:32:32 -04:00
sdl_impl.cpp sdl_impl: Revert to the "old" method of mapping sticks 2020-11-15 23:33:21 -05:00
sdl_impl.h input_common: Add VibrationDevice and VibrationDeviceFactory 2020-11-15 23:33:20 -05:00