Fix 1->many mapping of keyboards (again)

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@830 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
ghaushe
2003-02-25 21:06:58 +00:00
parent 6a5900d546
commit 8facb6dcb2
+2 -2
View File
@@ -129,11 +129,11 @@ ProcessKeyboardEvent(const SDL_Event *Event)
exit(0); exit(0);
//Store the actual key (without nay shift/ctrl modifiers) //Store the actual key (without nay shift/ctrl modifiers)
//since the modifiers can't be retreived on a key-up //since the modifiers can't be retreived on a key-up
KeyboardDown[k] |= 0x3; KeyboardDown[UNICODEToKBD (KBDToUNICODE (k))] |= 0x3;
} }
else else
{ {
KeyboardDown[k] &= (~0x1); KeyboardDown[UNICODEToKBD (KBDToUNICODE (k))] &= (~0x1);
} }
} }