|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Macros | |
| #define | SCREEN_WIDTH 640 |
| #define | SCREEN_HEIGHT 480 |
| #define | MARGIN_HORIZONTAL 20 |
| #define | MARGIN_VERTICAL 20 |
| #define | PATTERN_OFFSET 64 |
Functions | |
| static void | kb_test (cursor_t *cursor) |
| static void | on_key_event (maple_device_t *dev, kbd_key_t key, key_state_t state, kbd_mods_t mods, kbd_leds_t leds, void *user_data) |
| int | main (int argc, char **argv) |
| #define MARGIN_HORIZONTAL 20 |
Referenced by kb_test(), main(), and on_key_event().
| #define MARGIN_VERTICAL 20 |
Referenced by main().
| #define PATTERN_OFFSET 64 |
Referenced by main().
| #define SCREEN_HEIGHT 480 |
Referenced by main().
|
static |
References bfont_draw(), BFONT_HEIGHT, BFONT_THIN_WIDTH, k, KBD_QUEUE_END, kbd_queue_pop(), maple_dev_status(), maple_enum_type(), MAPLE_FUNC_CONTROLLER, MAPLE_FUNC_KEYBOARD, MARGIN_HORIZONTAL, mutex_lock(), mutex_unlock(), printf, SCREEN_WIDTH, cont_state_t::start, and vram_s.
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv ) |
|
static |
References BFONT_HEIGHT, kbd_get_state(), KBD_KEY_ENTER, kbd_key_to_ascii(), key, KEY_STATE_CHANGED_DOWN, MARGIN_HORIZONTAL, mutex_trylock(), mutex_unlock(), maple_device_t::port, printf, maple_device_t::unit, and key_state_t::value.
Referenced by main().