diff --git a/src/engine/client/input.cpp b/src/engine/client/input.cpp index fccb9f4e4..498dca6b8 100644 --- a/src/engine/client/input.cpp +++ b/src/engine/client/input.cpp @@ -171,7 +171,20 @@ int CInput::Update() break; // handle keys case SDL_KEYDOWN: - // See SDL_Keymod for possible modifiers + // See SDL_Keymod for possible modifiers: + // NONE = 0 + // LSHIFT = 1 + // RSHIFT = 2 + // LCTRL = 64 + // RCTRL = 128 + // LALT = 256 + // RALT = 512 + // LGUI = 1024 + // RGUI = 2048 + // NUM = 4096 + // CAPS = 8192 + // MODE = 16384 + // Sum if you want to ignore multiple modifiers. if(!(Event.key.keysym.mod & g_Config.m_InpIgnoredModifiers)) { Key = KeycodeToKey(Event.key.keysym.sym);