comparison src/video/directfb/SDL_DirectFB_events.c @ 1775:5572e4204f36

Date: Sun, 7 May 2006 19:22:33 -0400 From: Mike Frysinger Subject: [SDL] [patch] fix building with DirectFB-0.9.25.1 another DirectFB release, another small bit of API breakage :) this time around, DIKI_ALTGR has been removed and DIKI_ALT_R is supposed to be used ... DIKI_ALT_R is not a new define, so there shouldnt be any need for checking the DirectFB version ... it should work with older DirectFB's as well thanks to Sascha Schwarz for pointing this out on the Gentoo bugzilla: http://bugs.gentoo.org/132571 -mike
author Sam Lantinga <slouken@libsdl.org>
date Mon, 08 May 2006 02:09:34 +0000
parents d910939febfa
children 782fd950bd46 c121d94672cb a1b03ba2fcd0
comparison
equal deleted inserted replaced
1774:92354d20a3ce 1775:5572e4204f36
153 keymap[DIKI_CONTROL_L - DIKI_UNKNOWN] = SDLK_LCTRL; 153 keymap[DIKI_CONTROL_L - DIKI_UNKNOWN] = SDLK_LCTRL;
154 keymap[DIKI_CONTROL_R - DIKI_UNKNOWN] = SDLK_RCTRL; 154 keymap[DIKI_CONTROL_R - DIKI_UNKNOWN] = SDLK_RCTRL;
155 keymap[DIKI_SHIFT_L - DIKI_UNKNOWN] = SDLK_LSHIFT; 155 keymap[DIKI_SHIFT_L - DIKI_UNKNOWN] = SDLK_LSHIFT;
156 keymap[DIKI_SHIFT_R - DIKI_UNKNOWN] = SDLK_RSHIFT; 156 keymap[DIKI_SHIFT_R - DIKI_UNKNOWN] = SDLK_RSHIFT;
157 keymap[DIKI_ALT_L - DIKI_UNKNOWN] = SDLK_LALT; 157 keymap[DIKI_ALT_L - DIKI_UNKNOWN] = SDLK_LALT;
158 keymap[DIKI_ALTGR - DIKI_UNKNOWN] = SDLK_RALT; 158 keymap[DIKI_ALT_R - DIKI_UNKNOWN] = SDLK_RALT;
159 keymap[DIKI_TAB - DIKI_UNKNOWN] = SDLK_TAB; 159 keymap[DIKI_TAB - DIKI_UNKNOWN] = SDLK_TAB;
160 keymap[DIKI_ENTER - DIKI_UNKNOWN] = SDLK_RETURN; 160 keymap[DIKI_ENTER - DIKI_UNKNOWN] = SDLK_RETURN;
161 keymap[DIKI_SPACE - DIKI_UNKNOWN] = SDLK_SPACE; 161 keymap[DIKI_SPACE - DIKI_UNKNOWN] = SDLK_SPACE;
162 keymap[DIKI_BACKSPACE - DIKI_UNKNOWN] = SDLK_BACKSPACE; 162 keymap[DIKI_BACKSPACE - DIKI_UNKNOWN] = SDLK_BACKSPACE;
163 keymap[DIKI_INSERT - DIKI_UNKNOWN] = SDLK_INSERT; 163 keymap[DIKI_INSERT - DIKI_UNKNOWN] = SDLK_INSERT;