comparison src/video/directfb/SDL_DirectFB_events.c @ 395:276d0d7ba96c

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.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 10 Jun 2002 20:23:26 +0000
parents 74bdcae44bf5
children 1c4be4a16410
comparison
equal deleted inserted replaced
394:d15bef937f00 395:276d0d7ba96c
154 keymap[DIKI_ESCAPE] = SDLK_ESCAPE; 154 keymap[DIKI_ESCAPE] = SDLK_ESCAPE;
155 keymap[DIKI_LEFT] = SDLK_LEFT; 155 keymap[DIKI_LEFT] = SDLK_LEFT;
156 keymap[DIKI_RIGHT] = SDLK_RIGHT; 156 keymap[DIKI_RIGHT] = SDLK_RIGHT;
157 keymap[DIKI_UP] = SDLK_UP; 157 keymap[DIKI_UP] = SDLK_UP;
158 keymap[DIKI_DOWN] = SDLK_DOWN; 158 keymap[DIKI_DOWN] = SDLK_DOWN;
159 keymap[DIKI_CTRL] = SDLK_LCTRL; 159 keymap[DIKI_CONTROL_L] = SDLK_LCTRL;
160 keymap[DIKI_SHIFT] = SDLK_LSHIFT; 160 keymap[DIKI_CONTROL_R] = SDLK_RCTRL;
161 keymap[DIKI_ALT] = SDLK_LALT; 161 keymap[DIKI_SHIFT_L] = SDLK_LSHIFT;
162 keymap[DIKI_SHIFT_R] = SDLK_RSHIFT;
163 keymap[DIKI_ALT_L] = SDLK_LALT;
162 keymap[DIKI_ALTGR] = SDLK_RALT; 164 keymap[DIKI_ALTGR] = SDLK_RALT;
163 keymap[DIKI_TAB] = SDLK_TAB; 165 keymap[DIKI_TAB] = SDLK_TAB;
164 keymap[DIKI_ENTER] = SDLK_RETURN; 166 keymap[DIKI_ENTER] = SDLK_RETURN;
165 keymap[DIKI_SPACE] = SDLK_SPACE; 167 keymap[DIKI_SPACE] = SDLK_SPACE;
166 keymap[DIKI_BACKSPACE] = SDLK_BACKSPACE; 168 keymap[DIKI_BACKSPACE] = SDLK_BACKSPACE;
168 keymap[DIKI_DELETE] = SDLK_DELETE; 170 keymap[DIKI_DELETE] = SDLK_DELETE;
169 keymap[DIKI_HOME] = SDLK_HOME; 171 keymap[DIKI_HOME] = SDLK_HOME;
170 keymap[DIKI_END] = SDLK_END; 172 keymap[DIKI_END] = SDLK_END;
171 keymap[DIKI_PAGE_UP] = SDLK_PAGEUP; 173 keymap[DIKI_PAGE_UP] = SDLK_PAGEUP;
172 keymap[DIKI_PAGE_DOWN] = SDLK_PAGEDOWN; 174 keymap[DIKI_PAGE_DOWN] = SDLK_PAGEDOWN;
173 keymap[DIKI_CAPSLOCK] = SDLK_CAPSLOCK; 175 keymap[DIKI_CAPS_LOCK] = SDLK_CAPSLOCK;
174 keymap[DIKI_NUMLOCK] = SDLK_NUMLOCK; 176 keymap[DIKI_NUM_LOCK] = SDLK_NUMLOCK;
175 keymap[DIKI_SCRLOCK] = SDLK_SCROLLOCK; 177 keymap[DIKI_SCROLL_LOCK] = SDLK_SCROLLOCK;
176 keymap[DIKI_PRINT] = SDLK_PRINT; 178 keymap[DIKI_PRINT] = SDLK_PRINT;
177 keymap[DIKI_PAUSE] = SDLK_PAUSE; 179 keymap[DIKI_PAUSE] = SDLK_PAUSE;
178 keymap[DIKI_KP_DIV] = SDLK_KP_DIVIDE; 180 keymap[DIKI_KP_DIV] = SDLK_KP_DIVIDE;
179 keymap[DIKI_KP_MULT] = SDLK_KP_MULTIPLY; 181 keymap[DIKI_KP_MULT] = SDLK_KP_MULTIPLY;
180 keymap[DIKI_KP_MINUS] = SDLK_KP_MINUS; 182 keymap[DIKI_KP_MINUS] = SDLK_KP_MINUS;