src/video/x11/SDL_x11events.c
changeset 83 4c8b9babaae4
parent 82 2bddc38a9f5d
child 88 71774090f286
equal deleted inserted replaced
82:2bddc38a9f5d 83:4c8b9babaae4
    56 #include "SDL_x11events_c.h"
    56 #include "SDL_x11events_c.h"
    57 
    57 
    58 
    58 
    59 /* Define this if you want to debug X11 events */
    59 /* Define this if you want to debug X11 events */
    60 /*#define DEBUG_XEVENTS*/
    60 /*#define DEBUG_XEVENTS*/
    61 #define DEBUG_XEVENTS
       
    62 
    61 
    63 /* The translation tables from an X11 keysym to a SDL keysym */
    62 /* The translation tables from an X11 keysym to a SDL keysym */
    64 static SDLKey ODD_keymap[256];
    63 static SDLKey ODD_keymap[256];
    65 static SDLKey MISC_keymap[256];
    64 static SDLKey MISC_keymap[256];
    66 SDL_keysym *X11_TranslateKey(Display *display, XKeyEvent *xkey, KeyCode kc,
    65 SDL_keysym *X11_TranslateKey(Display *display, XKeyEvent *xkey, KeyCode kc,