mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Added more keysym checks for Linux to detect RAlt (mod5).
This commit is contained in:
parent
f037c2775b
commit
4a12244aab
@ -247,6 +247,8 @@ namespace
|
|||||||
case XK_Control_L: return sf::Keyboard::LControl;
|
case XK_Control_L: return sf::Keyboard::LControl;
|
||||||
case XK_Control_R: return sf::Keyboard::RControl;
|
case XK_Control_R: return sf::Keyboard::RControl;
|
||||||
case XK_Alt_L: return sf::Keyboard::LAlt;
|
case XK_Alt_L: return sf::Keyboard::LAlt;
|
||||||
|
case XK_ISO_Level3_Shift:
|
||||||
|
case XK_Mode_switch:
|
||||||
case XK_Alt_R: return sf::Keyboard::RAlt;
|
case XK_Alt_R: return sf::Keyboard::RAlt;
|
||||||
case XK_Super_L: return sf::Keyboard::LSystem;
|
case XK_Super_L: return sf::Keyboard::LSystem;
|
||||||
case XK_Super_R: return sf::Keyboard::RSystem;
|
case XK_Super_R: return sf::Keyboard::RSystem;
|
||||||
|
Loading…
Reference in New Issue
Block a user