gamepad
gamepad copied to clipboard
How do I know which button is pressed?
Since button is just type of byte
, how do I know which button has which byte value? And how do I know the value of two buttons have pressed at the same time (or more) ?