src/video/directfb/SDL_DirectFB_events.c
changeset 395 276d0d7ba96c
parent 382 74bdcae44bf5
child 464 1c4be4a16410
     1.1 --- a/src/video/directfb/SDL_DirectFB_events.c	Mon Jun 10 20:21:55 2002 +0000
     1.2 +++ b/src/video/directfb/SDL_DirectFB_events.c	Mon Jun 10 20:23:26 2002 +0000
     1.3 @@ -156,9 +156,11 @@
     1.4    keymap[DIKI_RIGHT] = SDLK_RIGHT;
     1.5    keymap[DIKI_UP] = SDLK_UP;
     1.6    keymap[DIKI_DOWN] = SDLK_DOWN;
     1.7 -  keymap[DIKI_CTRL] = SDLK_LCTRL;
     1.8 -  keymap[DIKI_SHIFT] = SDLK_LSHIFT;
     1.9 -  keymap[DIKI_ALT] = SDLK_LALT;
    1.10 +  keymap[DIKI_CONTROL_L] = SDLK_LCTRL;
    1.11 +  keymap[DIKI_CONTROL_R] = SDLK_RCTRL;
    1.12 +  keymap[DIKI_SHIFT_L] = SDLK_LSHIFT;
    1.13 +  keymap[DIKI_SHIFT_R] = SDLK_RSHIFT;
    1.14 +  keymap[DIKI_ALT_L] = SDLK_LALT;
    1.15    keymap[DIKI_ALTGR] = SDLK_RALT;
    1.16    keymap[DIKI_TAB] = SDLK_TAB;
    1.17    keymap[DIKI_ENTER] = SDLK_RETURN;
    1.18 @@ -170,9 +172,9 @@
    1.19    keymap[DIKI_END] = SDLK_END;
    1.20    keymap[DIKI_PAGE_UP] = SDLK_PAGEUP;
    1.21    keymap[DIKI_PAGE_DOWN] = SDLK_PAGEDOWN;
    1.22 -  keymap[DIKI_CAPSLOCK] = SDLK_CAPSLOCK;
    1.23 -  keymap[DIKI_NUMLOCK] = SDLK_NUMLOCK;
    1.24 -  keymap[DIKI_SCRLOCK] = SDLK_SCROLLOCK;
    1.25 +  keymap[DIKI_CAPS_LOCK] = SDLK_CAPSLOCK;
    1.26 +  keymap[DIKI_NUM_LOCK] = SDLK_NUMLOCK;
    1.27 +  keymap[DIKI_SCROLL_LOCK] = SDLK_SCROLLOCK;
    1.28    keymap[DIKI_PRINT] = SDLK_PRINT;
    1.29    keymap[DIKI_PAUSE] = SDLK_PAUSE;
    1.30    keymap[DIKI_KP_DIV] = SDLK_KP_DIVIDE;