ALT modifier has no special meaning for key input

This commit is contained in:
def 2016-05-01 19:57:38 +02:00
parent 487de16200
commit 0bab90aa20

View file

@ -171,11 +171,8 @@ int CInput::Update()
break;
// handle keys
case SDL_KEYDOWN:
if(!(Event.key.keysym.mod & KMOD_LALT))
{
Key = KeycodeToKey(Event.key.keysym.sym);
Scancode = Event.key.keysym.scancode;
}
Key = KeycodeToKey(Event.key.keysym.sym);
Scancode = Event.key.keysym.scancode;
break;
case SDL_KEYUP:
Action = IInput::FLAG_RELEASE;