Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
BACKEND: Allow SDL2 mapping of L2/R2, fix psp2/switch mapping #2046
I'd prefer if we followed the SDL2 event model as far as standard game controller buttons / axes are concerned. For them left and right triggers are axes, not buttons. I know it does not fit the Switch very well. I've pushed to your branch a commit that enables the keymapper to remap half-axes to actions. It should accomplish the same end result, but without having a hardcoded mapping from an axis to a button in the SDL backend. Is that ok with you?