21 lines
502 B
C
21 lines
502 B
C
// key configuration
|
|
// see https://sdl.beuc.net/sdl.wiki/SDLKey for keysyms
|
|
// for joypad support use a tool like antimicro
|
|
#define DPAD_UP SDLK_w
|
|
#define DPAD_DOWN SDLK_s
|
|
#define DPAD_LEFT SDLK_a
|
|
#define DPAD_RIGHT SDLK_d
|
|
|
|
#define A_BUTTON SDLK_j
|
|
#define B_BUTTON SDLK_k
|
|
#define L_BUTTON SDLK_o
|
|
#define R_BUTTON SDLK_p
|
|
|
|
#define FS_BUTTON SDLK_f
|
|
#define PAUSE_BUTTON SDLK_q
|
|
|
|
// video scaling factor
|
|
#define SCALE_FACTOR 2
|
|
|
|
// sound support
|
|
//#define SOUND_ON
|