From 83a362f22c3a2f910fc38c4faa361060351858ae Mon Sep 17 00:00:00 2001 From: Renaud Lepage Date: Mon, 19 Sep 2005 21:20:05 +0000 Subject: [PATCH] Should've commit this one a while ago. --- stepmania/src/arch/InputHandler/InputHandler_Xbox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/arch/InputHandler/InputHandler_Xbox.cpp b/stepmania/src/arch/InputHandler/InputHandler_Xbox.cpp index a39b9fdff4..4acd2c2448 100644 --- a/stepmania/src/arch/InputHandler/InputHandler_Xbox.cpp +++ b/stepmania/src/arch/InputHandler/InputHandler_Xbox.cpp @@ -123,7 +123,7 @@ void InputHandler_Xbox::Update(float fDeltaTime) if(nowPressed != wasPressed) { - JoystickButton Button = JoystickButton(JOY_1 + j); + JoystickButton Button = JoystickButton(JOY_BUTTON_1 + j); if(Button >= NUM_JOYSTICK_BUTTONS) { LOG->Warn("Ignored joystick event (button too high)"); @@ -168,7 +168,7 @@ void InputHandler_Xbox::GetDevicesAndDescriptions(vector& vDevicesO if( joysticks[i] != 0 ) { vDevicesOut.push_back( InputDevice(DEVICE_JOY1+i) ); - vDescriptionsOut.push_back( "" ); + vDescriptionsOut.push_back( "XboxGameHardware" ); } } }