Fixed gamepad glitch I introduced
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7504 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
6eddb2baf9
commit
073757f53e
@ -219,10 +219,10 @@ bool GamePadDevice::processAndMapInput(Input::InputType type, const int id, cons
|
|||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If axis did not send proper values yet, ignore it.
|
||||||
|
if (!m_axis_ok[id]) return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// If axis did not send proper values yet, ignore it.
|
|
||||||
if (!m_axis_ok[id]) return false;
|
|
||||||
|
|
||||||
if (m_configuration != NULL)
|
if (m_configuration != NULL)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user