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:
@@ -129,11 +129,11 @@ ProcessKeyboardEvent(const SDL_Event *Event)
|
||||
exit(0);
|
||||
//Store the actual key (without nay shift/ctrl modifiers)
|
||||
//since the modifiers can't be retreived on a key-up
|
||||
KeyboardDown[k] |= 0x3;
|
||||
KeyboardDown[UNICODEToKBD (KBDToUNICODE (k))] |= 0x3;
|
||||
}
|
||||
else
|
||||
{
|
||||
KeyboardDown[k] &= (~0x1);
|
||||
KeyboardDown[UNICODEToKBD (KBDToUNICODE (k))] &= (~0x1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user