JOY_1 -> JOY_BUTTON_1

This commit is contained in:
Ben Anderson
2005-09-21 21:09:27 +00:00
parent ec97b839e2
commit 622293b6eb
2 changed files with 2 additions and 2 deletions
@@ -210,7 +210,7 @@ void InputHandler_SDL::Update(float fDeltaTime)
case SDL_JOYBUTTONUP:
{
InputDevice i = InputDevice(DEVICE_JOY1 + event.jbutton.which);
JoystickButton Button = JoystickButton(JOY_1 + event.jbutton.button);
JoystickButton Button = JoystickButton(JOY_BUTTON_1 + event.jbutton.button);
if(Button >= NUM_JOYSTICK_BUTTONS)
{
LOG->Warn("Ignored joystick event (button too high)");