mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
ALT modifier has no special meaning for key input
This commit is contained in:
parent
487de16200
commit
0bab90aa20
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue