Fixed glitch that appeared in the new input configuration screen (I actually fail to see why it worked before)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5363 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -212,7 +212,7 @@ void InputManager::inputSensing(Input::InputType type, int deviceID, int btnID,
|
||||
m_sensed_input->btnID = btnID;
|
||||
m_sensed_input->axisDirection = axisDirection;
|
||||
|
||||
if (type == Input::IT_KEYBOARD)
|
||||
if (type == Input::IT_KEYBOARD && value > Input::MAX_VALUE/2)
|
||||
{
|
||||
OptionsScreenInput2::getInstance()->gotSensedInput(m_sensed_input);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user