From e869c2f9b8c1921acd33cb092f9bd3de690c8187 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 8 May 2006 02:09:34 +0000 Subject: [PATCH] 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 --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401734 --- src/video/directfb/SDL_DirectFB_events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/directfb/SDL_DirectFB_events.c b/src/video/directfb/SDL_DirectFB_events.c index 97c54c208..0864d9ac5 100644 --- a/src/video/directfb/SDL_DirectFB_events.c +++ b/src/video/directfb/SDL_DirectFB_events.c @@ -155,7 +155,7 @@ void DirectFB_InitOSKeymap (_THIS) keymap[DIKI_SHIFT_L - DIKI_UNKNOWN] = SDLK_LSHIFT; keymap[DIKI_SHIFT_R - DIKI_UNKNOWN] = SDLK_RSHIFT; keymap[DIKI_ALT_L - DIKI_UNKNOWN] = SDLK_LALT; - keymap[DIKI_ALTGR - DIKI_UNKNOWN] = SDLK_RALT; + keymap[DIKI_ALT_R - DIKI_UNKNOWN] = SDLK_RALT; keymap[DIKI_TAB - DIKI_UNKNOWN] = SDLK_TAB; keymap[DIKI_ENTER - DIKI_UNKNOWN] = SDLK_RETURN; keymap[DIKI_SPACE - DIKI_UNKNOWN] = SDLK_SPACE;