The direction button on USB gamepad works, but other button not.
Here's my USB gamepad name and key values from RetroArch Android.
HID[DragonRise.Inc DragonRise USB Gam.
The direction key : src 16777232
square: pad 0: 188 ac=0 src=1281
triangle: pad 0: 189 ac=0 src=1281
cross: pad 0: 190 ac=0 src=1281
circle: pad 0: 191 ac=0 src=1281
L1: pad 0: 192 ac=0 src=1281
R1: pad 0: 193 ac=0 src=1281
L2: pad 0: 194 ac=0 src=1281
R2: pad 0: 195 ac=0 src=1281
SELECT: pad 0: 196 ac=0 src=1281
START: pad 0: 197 ac=0 src=1281
There are houndreds of types of USB gamepads in the world, you can not list them all. So I think the best way is not presetting the key, but mappering it by users themselves.
And we'll support them one by one just because I can, and just because I value plug and play.
ToadKing will also look into some user-defined mapping - but I definitely want to keep the autodetection stuff and have it be useful.














