mirror of
https://github.com/yawut/SDL.git
synced 2026-08-24 17:55:17 -05:00
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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user