Skip to content

Commit

Permalink
Merge pull request #73752 from bruvzg/x11_quote_left
Browse files Browse the repository at this point in the history
Fix X11 QUOTELEFT / SECTION physical key mapping.
  • Loading branch information
akien-mga committed Feb 24, 2023
2 parents 7e00cc1 + 693afe9 commit 9e6cb51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/linuxbsd/x11/key_mapping_x11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 9e6cb51

Please sign in to comment.