summaryrefslogtreecommitdiff
path: root/platform/linuxbsd/x11/key_mapping_x11.cpp
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/linuxbsd/x11/key_mapping_x11.cpp
parente13fae1414b0369fdd3f51b4e3529fd3f272b0e1 (diff)
[Input] Use BRACKET_ instead of BRACE_ for physical keys.
Diffstat (limited to 'platform/linuxbsd/x11/key_mapping_x11.cpp')
-rw-r--r--platform/linuxbsd/x11/key_mapping_x11.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/linuxbsd/x11/key_mapping_x11.cpp b/platform/linuxbsd/x11/key_mapping_x11.cpp
index e5eba6ccad..f21c151288 100644
--- a/platform/linuxbsd/x11/key_mapping_x11.cpp
+++ b/platform/linuxbsd/x11/key_mapping_x11.cpp
@@ -217,8 +217,8 @@ void KeyMappingX11::initialize() {
scancode_map[0x1F] = Key::I;
scancode_map[0x20] = Key::O;
scancode_map[0x21] = Key::P;
- scancode_map[0x22] = Key::BRACELEFT;
- scancode_map[0x23] = Key::BRACERIGHT;
+ scancode_map[0x22] = Key::BRACKETLEFT;
+ scancode_map[0x23] = Key::BRACKETRIGHT;
scancode_map[0x24] = Key::ENTER;
scancode_map[0x25] = Key::CTRL;
scancode_map[0x26] = Key::A;