mirror of
https://github.com/glfw/glfw
synced 2026-09-26 16:18:21 +03:00
Fix Cocoa function names
This commit is contained in:
parent
3ef1f2525d
commit
64d6096e81
1 changed files with 2 additions and 2 deletions
|
|
@ -603,8 +603,8 @@ static const NSRange _glfwKEmptyRangeCocoa = { NSNotFound, 0 };
|
|||
{
|
||||
// HACK: Some key combinations are consumed before reaching keyDown:
|
||||
// so we claim those events and emit them here
|
||||
const int key = translateKey([event keyCode]);
|
||||
const int mods = translateFlags([event modifierFlags]);
|
||||
const int key = _glfwTranslateKeyCocoa([event keyCode]);
|
||||
const int mods = _glfwTranslateFlagsCocoa([event modifierFlags]);
|
||||
|
||||
if (mods & GLFW_MOD_CONTROL)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue