Bits for REG_KEYINPUT and REG_KEYCNT.
More...
|
#define | KEY_A 0x0001 |
| Button A.
|
|
#define | KEY_B 0x0002 |
| Button B.
|
|
#define | KEY_SELECT 0x0004 |
| Select button.
|
|
#define | KEY_START 0x0008 |
| Start button.
|
|
#define | KEY_RIGHT 0x0010 |
| Right D-pad.
|
|
#define | KEY_LEFT 0x0020 |
| Left D-pad.
|
|
#define | KEY_UP 0x0040 |
| Up D-pad.
|
|
#define | KEY_DOWN 0x0080 |
| Down D-pad.
|
|
#define | KEY_R 0x0100 |
| Shoulder R.
|
|
#define | KEY_L 0x0200 |
| Shoulder L.
|
|
#define | KEY_ACCEPT 0x0009 |
| Accept buttons: A or start.
|
|
#define | KEY_CANCEL 0x0002 |
| Cancel button: B (well, it usually is)
|
|
#define | KEY_RESET 0x030C |
| St+Se+L+R.
|
|
#define | KEY_FIRE 0x0003 |
| Fire buttons: A or B.
|
|
#define | KEY_SPECIAL 0x000C |
| Special buttons: Select or Start.
|
|
#define | KEY_DIR 0x00F0 |
| Directions: left, right, up down.
|
|
#define | KEY_SHOULDER 0x0300 |
| L or R.
|
|
#define | KEY_ANY 0x03FF |
| Here's the Any key :)
|
|
#define | KEY_MASK 0x03FF |
|
Bits for REG_KEYINPUT and REG_KEYCNT.