removed debug checks that are no more needed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3320 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
5ca3f169ca
commit
5b50990c3e
@ -47,7 +47,7 @@ bool DeviceManager::mapInputToPlayerAndAction( Input::InputType type, int id0, i
|
||||
}
|
||||
else if(type == Input::IT_STICKMOTION)
|
||||
{
|
||||
std::cout << "stick motion, ID=" <<id0 << " axis=" << id1 << " value=" << value << std::endl;
|
||||
// std::cout << "stick motion, ID=" <<id0 << " axis=" << id1 << " value=" << value << std::endl;
|
||||
for(unsigned int n=0; n<m_gamepad_amount; n++)
|
||||
{
|
||||
if( /*m_gamepads[n].m_index == id0 &&*/ m_gamepads[n].hasBinding(id1 /* axis */, value, *player, action /* out */) )
|
||||
|
@ -503,7 +503,7 @@ void InputManager::input()
|
||||
{
|
||||
const int value = ev.jaxis.value;
|
||||
|
||||
//if(user_config->m_gamepad_debug)
|
||||
if(user_config->m_gamepad_debug)
|
||||
{
|
||||
printf("axis motion: which=%d axis=%d value=%d\n",
|
||||
ev.jaxis.which, ev.jaxis.axis, value);
|
||||
|
Loading…
Reference in New Issue
Block a user