possibly a fix this time for the jpenguin bug. It would be a bug related to having >1 gamepads.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3434 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -283,6 +283,8 @@ void GamePadDevice::resetAxisDirection(const int axis, Input::AxisDirection dire
|
||||
// -----------------------------------------------------------------------------
|
||||
bool GamePadDevice::hasBinding(Input::InputType type, const int id, const int value, const int player, PlayerAction* action /* out */)
|
||||
{
|
||||
if(m_prevAxisDirections == NULL) return false; // device not open
|
||||
|
||||
if(type == Input::IT_STICKMOTION)
|
||||
{
|
||||
std::cout << "For jpenguin (a)\n";
|
||||
|
||||
Reference in New Issue
Block a user