summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/x11/key_mapping_x11.cpp
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/linuxbsd/x11/key_mapping_x11.cpp
parentd8014e9fabb8f8188ef79101142fd454df3ff6cd (diff)
parentfdf56a2fc28e6f185fe1039d845efbffd2493148 (diff)
downloadredot-engine-32bd912bb622dffe4608da6b02559bd7c4b5b949.tar.gz
Merge pull request #73750 from bruvzg/brace
[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;