summaryrefslogtreecommitdiff
path: root/platform/linuxbsd
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-02-24 14:11:25 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-02-24 14:11:25 +0100
commit9e6cb51939663a0b3e2d6f74a259cad84ae8a108 (patch)
tree95a9ac07292df9cb2aebd1a1515cd80daeb9926e /platform/linuxbsd
parent7e00cc1f7aff8a3406de8b9a6ae98ee77593ad5a (diff)
parent693afe95d31e940009ff2e98c2901575516d205b (diff)
Merge pull request #73752 from bruvzg/x11_quote_left
Fix X11 QUOTELEFT / SECTION physical key mapping.
Diffstat (limited to 'platform/linuxbsd')
-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 f21c151288..fe73162280 100644
--- a/platform/linuxbsd/x11/key_mapping_x11.cpp
+++ b/platform/linuxbsd/x11/key_mapping_x11.cpp
@@ -232,7 +232,7 @@ void KeyMappingX11::initialize() {
scancode_map[0x2E] = Key::L;
scancode_map[0x2F] = Key::SEMICOLON;
scancode_map[0x30] = Key::APOSTROPHE;
- scancode_map[0x31] = Key::SECTION;
+ scancode_map[0x31] = Key::QUOTELEFT;
scancode_map[0x32] = Key::SHIFT;
scancode_map[0x33] = Key::BACKSLASH;
scancode_map[0x34] = Key::Z;
@@ -275,7 +275,7 @@ void KeyMappingX11::initialize() {
scancode_map[0x59] = Key::KP_3;
scancode_map[0x5A] = Key::KP_0;
scancode_map[0x5B] = Key::KP_PERIOD;
- scancode_map[0x5E] = Key::QUOTELEFT;
+ scancode_map[0x5E] = Key::SECTION;
scancode_map[0x5F] = Key::F11;
scancode_map[0x60] = Key::F12;
scancode_map[0x68] = Key::KP_ENTER;