summaryrefslogtreecommitdiff
path: root/platform/macos
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-02-22 14:50:18 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-02-22 14:50:18 +0100
commit32bd912bb622dffe4608da6b02559bd7c4b5b949 (patch)
treeb2e70840334b1d62aaa58a36f45535c20d4c4b16 /platform/macos
parentd8014e9fabb8f8188ef79101142fd454df3ff6cd (diff)
parentfdf56a2fc28e6f185fe1039d845efbffd2493148 (diff)
Merge pull request #73750 from bruvzg/brace
[Input] Use BRACKET_ instead of BRACE_ for physical keys.
Diffstat (limited to 'platform/macos')
-rw-r--r--platform/macos/key_mapping_macos.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/macos/key_mapping_macos.mm b/platform/macos/key_mapping_macos.mm
index 31b71ac1b8..c3f147e33f 100644
--- a/platform/macos/key_mapping_macos.mm
+++ b/platform/macos/key_mapping_macos.mm
@@ -98,10 +98,10 @@ void KeyMappingMacOS::initialize() {
keysym_map[0x1b] = Key::MINUS;
keysym_map[0x1c] = Key::KEY_8;
keysym_map[0x1d] = Key::KEY_0;
- keysym_map[0x1e] = Key::BRACERIGHT;
+ keysym_map[0x1e] = Key::BRACKETRIGHT;
keysym_map[0x1f] = Key::O;
keysym_map[0x20] = Key::U;
- keysym_map[0x21] = Key::BRACELEFT;
+ keysym_map[0x21] = Key::BRACKETLEFT;
keysym_map[0x22] = Key::I;
keysym_map[0x23] = Key::P;
keysym_map[0x24] = Key::ENTER;