1 
2 /*
3 
4    joypad.h
5 
6    This file contains the X-keyboard configuration.
7 
8 */
9 
10 
11 /* joypad configuration (keys in X-mode) */
12 
13 #ifdef UNIX
14 #define GBPAD_up                             XK_Up
15 #define GBPAD_down                           XK_Down
16 #define GBPAD_left                           XK_Left
17 #define GBPAD_right                          XK_Right
18 #define GBPAD_a                              XK_c
19 #define GBPAD_b                              XK_x
20 #define GBPAD_start                          XK_s
21 #define GBPAD_select                         XK_d
22 #endif
23 
24 #ifdef DOS
25 #define GBPAD_up                             72
26 #define GBPAD_down                           80
27 #define GBPAD_left                           75
28 #define GBPAD_right                          77
29 #define GBPAD_a                              46
30 #define GBPAD_b                              45
31 #define GBPAD_start                          31
32 #define GBPAD_select                         32
33 #endif
34