Date: Wed, 5 Jun 2002 12:57:56 +0200
authorSam Lantinga <slouken@libsdl.org>
Mon, 10 Jun 2002 20:23:26 +0000
changeset 395276d0d7ba96c
parent 394 d15bef937f00
child 396 11d6eed68dba
Date: Wed, 5 Jun 2002 12:57:56 +0200
From: Denis Oliver Kropp <dok@directfb.org>
Subject: [PATCH] DirectFB 0.9.11 released

Hi,

DirectFB 0.9.11 is released now. We added support for
left/right differentation of shift and control keys
(which is important for games) just before the release,
so here is another patch for the final version.
src/video/directfb/SDL_DirectFB_events.c
     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;