Fix incorrect mapping of Alt key on linux

This commit is contained in:
minebill
2023-10-07 22:28:39 +03:00
parent a9dd9adc22
commit e903348d71

View File

@@ -945,7 +945,7 @@ const char* ButtonCodeToKeyName(KeyboardKeys code)
// Row #6 // Row #6
case KeyboardKeys::Control: return "LCTL"; // Left Control case KeyboardKeys::Control: return "LCTL"; // Left Control
case KeyboardKeys::LeftWindows: return "LWIN"; case KeyboardKeys::LeftWindows: return "LWIN";
case KeyboardKeys::LeftMenu: return "LALT"; case KeyboardKeys::Alt: return "LALT";
case KeyboardKeys::Spacebar: return "SPCE"; case KeyboardKeys::Spacebar: return "SPCE";
case KeyboardKeys::RightMenu: return "RALT"; case KeyboardKeys::RightMenu: return "RALT";
case KeyboardKeys::RightWindows: return "RWIN"; case KeyboardKeys::RightWindows: return "RWIN";