GCW Zero >> OpenDingux
SDL Key
對應SDL按鍵的關係如下所示:
GCW0 | SDL | Hex |
---|---|---|
Up | SDLK_UP | 0x40000052 |
Down | SDLK_DOWN | 0x40000051 |
Left | SDLK_LEFT | 0x40000050 |
Right | SDLK_RIGHT | 0x4000004f |
A | SDLK_LCTRL | 0x400000e0 |
B | SDLK_LALT | 0x400000e2 |
X | SDLK_LSHIFT | 0x400000e1 |
Y | SDLK_SPACE | 0x20 |
Start | SDLK_RETURN | 0x0d |
Select | SDLK_ESCAPE | 0x1b |
L | SDLK_TAB | 0x09 |
R | SDLK_BACKSPACE | 0x08 |