Addresses #2129 in support of user. We basically need a map of SDL button constants aligned to our own.
I do the same thing in the XInput extension, except the map is inverted since my gamepad struct holds XInput state. I am not sure if honestly we could just make a generalized structure and reuse it in all of the places. I don't know what's better, converting to or from.
The SDL gamepads also need additional work yet such as threshold for other buttons and stuff.
@@ Coverage Diff @@ ## master #2165 +/- ## ======================================= Coverage 33.03% 33.03% ======================================= Files 197 197 Lines 19059 19059 ======================================= Hits 6296 6296 Misses 12763 12763
|Impacted Files||Coverage Δ|