Added more keysym checks for Linux to detect RAlt (mod5).

This commit is contained in:
Stefan Schindler 2016-01-20 20:44:49 +01:00
parent f037c2775b
commit 4a12244aab

View File

@ -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;