Fix gamepad navigation in menus
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11131 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
f65a5c3d83
commit
ffd1432fd0
@ -247,7 +247,7 @@ bool GamePadDevice::processAndMapInput(Input::InputType type, const int id,
|
|||||||
{
|
{
|
||||||
success = m_configuration->getGameAction(type, id, value, action);
|
success = m_configuration->getGameAction(type, id, value, action);
|
||||||
}
|
}
|
||||||
else if (value > Input::MAX_VALUE/2)
|
else if (abs(value) > Input::MAX_VALUE/2)
|
||||||
{
|
{
|
||||||
// bindings can only be accessed in game and menu modes
|
// bindings can only be accessed in game and menu modes
|
||||||
assert(mode == InputManager::MENU);
|
assert(mode == InputManager::MENU);
|
||||||
|
Loading…
Reference in New Issue
Block a user