键盘代码
完整的映射表为:
Action | Key (QWERTY) | P1 ID | P2 ID | P3 ID | P4 ID |
---|---|---|---|---|---|
Up | Up Arrow | 0 | 8 | 16 | 24 |
Down | Down Arrow | 1 | 9 | 17 | 25 |
Left | Left Arrow | 2 | 10 | 18 | 26 |
Right | Right Arrow | 3 | 11 | 19 | 27 |
A | Z | 4 | 12 | 20 | 28 |
B | X | 5 | 13 | 21 | 29 |
X | A | 6 | 14 | 22 | 30 |
Y | S | 7 | 15 | 23 | 31 |