|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
#include <stdio.h>#include <kos/dbgio.h>#include <dc/maple.h>#include <dc/maple/controller.h>#include <dc/sound/stream.h>#include <kos/init.h>#include <kos.h>#include <adx/adx.h>#include <adx/snddrv.h>Macros | |
| #define | CONT_RESUME 0x01 |
| #define | CONT_PAUSE 0x02 |
| #define | CONT_RESTART 0x03 |
| #define | CONT_STOP 0x04 |
| #define | CONT_VOLUP 0x05 |
| #define | CONT_VOLDN 0x06 |
Functions | |
| int | check_cont () |
| int | main (int argc, const char *argv[]) |
| #define CONT_PAUSE 0x02 |
Referenced by check_cont(), and main().
| #define CONT_RESTART 0x03 |
Referenced by check_cont(), and main().
| #define CONT_RESUME 0x01 |
Referenced by check_cont(), and main().
| #define CONT_STOP 0x04 |
Referenced by check_cont(), and main().
| #define CONT_VOLDN 0x06 |
Referenced by check_cont(), and main().
| #define CONT_VOLUP 0x05 |
Referenced by check_cont(), and main().
| int check_cont | ( | ) |
References cont_state_t::buttons, CONT_A, CONT_B, CONT_DPAD_DOWN, CONT_DPAD_UP, CONT_PAUSE, CONT_RESTART, CONT_RESUME, CONT_START, CONT_STOP, CONT_VOLDN, CONT_VOLUP, CONT_X, maple_dev_status(), maple_enum_type(), and MAPLE_FUNC_CONTROLLER.
Referenced by main().
| int main | ( | int | argc, |
| const char * | argv[] ) |
References BFONT_CODE_ISO8859_1, bfont_draw_str(), bfont_set_encoding(), check_cont(), CONT_PAUSE, CONT_RESTART, CONT_RESUME, CONT_STOP, CONT_VOLDN, CONT_VOLUP, printf, thd_pass(), thd_sleep(), and vram_s.