Skip to content

Commit

Permalink
fixup 7f93baa
Browse files Browse the repository at this point in the history
  • Loading branch information
JGRennison committed Oct 6, 2024
1 parent b3bc68a commit 20ee5c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/video/cocoa/cocoa_wnd.mm
Original file line number Diff line number Diff line change
Expand Up @@ -860,9 +860,9 @@ - (BOOL)internalHandleKeycode:(unsigned short)keycode unicode:(char32_t)unicode
if (!EditBoxInGlobalFocus() || IsInsideMM(pressed_key & ~WKC_SPECIAL_KEYS, WKC_F1, WKC_PAUSE + 1)) {
HandleKeypress(pressed_key, unicode);
}
Debug(driver, 3, "cocoa_v: QZ_KeyEvent: {:x} ({:x}), down, mapping: {:x}", keycode, unicode, pressed_key);
Debug(driver, 3, "cocoa_v: QZ_KeyEvent: {:x} ({:x}), down, mapping: {:x}", keycode, (int)unicode, pressed_key);
} else {
Debug(driver, 3, "cocoa_v: QZ_KeyEvent: {:x} ({:x}), up", keycode, unicode);
Debug(driver, 3, "cocoa_v: QZ_KeyEvent: {:x} ({:x}), up", keycode, (int)unicode);
}

return interpret_keys;
Expand Down

0 comments on commit 20ee5c6

Please sign in to comment.