Check for more 'types' of shift keys
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6722 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -329,7 +329,8 @@ void OptionsScreenInput2::gotSensedInput(Input sensed_input)
|
||||
ModalDialog::dismiss();
|
||||
input_manager->setMode(InputManager::MENU);
|
||||
|
||||
if (keyboard && sensed_input.m_button_id == irr::KEY_SHIFT)
|
||||
if (keyboard && (sensed_input.m_button_id == irr::KEY_SHIFT || sensed_input.m_button_id == irr::KEY_LSHIFT ||
|
||||
sensed_input.m_button_id == irr::KEY_RSHIFT))
|
||||
{
|
||||
new MessageDialog(_("Warning, 'Shift' is not a recommended key : when shift is pressed down, all keys that contain a character that is different in upper-case will stop working."));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user