common values for keypad input. More...
Defines | |
#define | REG_KEYCNT (*(vuint16*)0x04000132) |
Key input control register. | |
#define | REG_KEYINPUT (*(vuint16*)0x04000130) |
Key input register. On the ARM9, the hinge "button", the touch status, and the X and Y buttons cannot be accessed directly. | |
Typedefs | |
typedef enum KEYPAD_BITS | KEYPAD_BITS |
enum values for the keypad buttons. | |
Enumerations | |
enum | KEYPAD_BITS { KEY_A = BIT(0), KEY_B = BIT(1), KEY_SELECT = BIT(2), KEY_START = BIT(3), KEY_RIGHT = BIT(4), KEY_LEFT = BIT(5), KEY_UP = BIT(6), KEY_DOWN = BIT(7), KEY_R = BIT(8), KEY_L = BIT(9), KEY_X = BIT(10), KEY_Y = BIT(11), KEY_TOUCH = BIT(12), KEY_LID = BIT(13) } |
enum values for the keypad buttons. More... |
common values for keypad input.
common values that can be used on both the arm9 and arm7.
enum KEYPAD_BITS |
enum values for the keypad buttons.