removed a few debug prints now that it works
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3334 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
71f99430c1
commit
6da2c08e99
@ -267,7 +267,6 @@ 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 */)
|
bool GamePadDevice::hasBinding(Input::InputType type, const int id, const int value, const int player, PlayerAction* action /* out */)
|
||||||
{
|
{
|
||||||
printf("Something's triggered in gamepad\n");
|
|
||||||
if(type == Input::IT_STICKMOTION)
|
if(type == Input::IT_STICKMOTION)
|
||||||
{
|
{
|
||||||
// going to negative from positive
|
// going to negative from positive
|
||||||
@ -333,7 +332,6 @@ bool GamePadDevice::hasBinding(Input::InputType type, const int id, const int va
|
|||||||
}
|
}
|
||||||
else if(type == Input::IT_STICKBUTTON)
|
else if(type == Input::IT_STICKBUTTON)
|
||||||
{
|
{
|
||||||
printf(" It's a button press, #%i\n", id);
|
|
||||||
// find corresponding action and return it
|
// find corresponding action and return it
|
||||||
for(int n=0; n<PA_COUNT; n++)
|
for(int n=0; n<PA_COUNT; n++)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user