Skip to content

Commit 9d09a27

Browse files
committed
[[ Bug 20503 ]] Map ISOSection key code to appropriate XK code
This patch ensure that the ISOSection keycode has the appropriate (0xA7) mapping. This fixes an issue with the key to the left of 1 failing to work correctly.
1 parent ab2a142 commit 9d09a27

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

docs/notes/bugfix-20503.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Fix quote key not working with Turkish keyboard layout on Mac

engine/src/platform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ enum
338338

339339
kMCPlatformKeyCodeGrave = 0x0060,
340340

341+
kMCPlatformKeyCodeISOSection = 0x00A7,
341342

342343
kMCPlatformKeyCodeBackspace = 0xff08,
343344
kMCPlatformKeyCodeTab = 0xff09,
@@ -455,7 +456,6 @@ enum
455456
kMCPlatformKeyCodeVolumeUp = 0xfffe,
456457
kMCPlatformKeyCodeVolumeDown = 0xfffe,
457458
kMCPlatformKeyCodeMute = 0xfffe,
458-
kMCPlatformKeyCodeISOSection = 0xfffe,
459459
kMCPlatformKeyCodeJISYen = 0xfffe,
460460
kMCPlatformKeyCodeJISUnderscore = 0xfffe,
461461
kMCPlatformKeyCodeJISKeypadComma= 0xfffe,

0 commit comments

Comments
 (0)