summaryrefslogtreecommitdiff
path: root/platform/macos
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2023-02-22 12:39:30 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2023-02-22 12:39:30 +0200
commitfdf56a2fc28e6f185fe1039d845efbffd2493148 (patch)
tree2e2439fae6911cff118fa60aa0af4c65467efb4e /platform/macos
parente13fae1414b0369fdd3f51b4e3529fd3f272b0e1 (diff)
[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;