libws libws
WSwan hardware library for the Wonderful toolchain
|
Macros | |
#define | KEY_Y4 0x0800 |
#define | KEY_Y3 0x0400 |
#define | KEY_Y2 0x0200 |
#define | KEY_Y1 0x0100 |
#define | KEY_X4 0x0080 |
#define | KEY_X3 0x0040 |
#define | KEY_X2 0x0020 |
#define | KEY_X1 0x0010 |
#define | KEY_B 0x0008 |
#define | KEY_A 0x0004 |
#define | KEY_START 0x0002 |
#define | KEY_PCV2_PASS 0x0800 |
#define | KEY_PCV2_CIRCLE 0x0400 |
#define | KEY_PCV2_CLEAR 0x0100 |
#define | KEY_PCV2_RIGHT 0x0080 |
#define | KEY_PCV2_ESC 0x0040 |
#define | KEY_PCV2_VIEW 0x0010 |
#define | KEY_PCV2_UP 0x0008 |
#define | KEY_PCV2_DOWN 0x0004 |
#define | KEY_PCV2_LEFT 0x0001 |
Functions | |
__attribute__ ((no_assume_ds_data, no_assume_ss_data)) uint16_t ws_keypad_scan(void) | |
Query the current state of the keypad. | |
__attribute__ | ( | (no_assume_ds_data, no_assume_ss_data) | ) |
Query the current state of the keypad.