[Android] Fix joysticks only capable of right/down movements. Also make it capable of using onscreen joystick even if controller 1 is bound.

This commit is contained in:
Ryan Houdek
2013-12-12 21:24:39 -06:00
parent d7be993889
commit 2e1aa64958
4 changed files with 12 additions and 15 deletions

View File

@ -140,7 +140,7 @@ namespace ButtonManager
auto it = m_controllers.begin();
if (it == m_controllers.end())
return value;
return it->second->AxisValue(padID, axis);
return value != 0.0f ? value : it->second->AxisValue(padID, axis);
}
void TouchEvent(int padID, ButtonType button, int action)
{