Add patch from upstream to report caps lock key presses on cocoa
c4903d9267
This commit is contained in:
parent
246972b59f
commit
fdbd8df7b2
1 changed files with 2 additions and 0 deletions
|
|
@ -345,6 +345,8 @@ static NSUInteger translateKeyToModifierFlag(int key)
|
|||
case GLFW_KEY_LEFT_SUPER:
|
||||
case GLFW_KEY_RIGHT_SUPER:
|
||||
return NSEventModifierFlagCommand;
|
||||
case GLFW_KEY_CAPS_LOCK:
|
||||
return NSEventModifierFlagCapsLock;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue