Mercurial > sdl-ios-xcode
diff src/joystick/linux/SDL_sysjoystick.c @ 3011:8f4ed5ec2b06
I ran a global "make indent" it modified the following files.
author | Bob Pendleton <bob@pendleton.com> |
---|---|
date | Fri, 09 Jan 2009 20:43:30 +0000 |
parents | 99210400e8b9 |
children | 8cc00819c8d6 |
line wrap: on
line diff
--- a/src/joystick/linux/SDL_sysjoystick.c Fri Jan 09 20:41:31 2009 +0000 +++ b/src/joystick/linux/SDL_sysjoystick.c Fri Jan 09 20:43:30 2009 +0000 @@ -960,8 +960,8 @@ #endif /* USE_LOGICAL_JOYSTICKS */ SDL_PrivateJoystickHat(stick, hat, - position_map[the_hat-> - axis[1]][the_hat->axis[0]]); + position_map[the_hat->axis[1]][the_hat-> + axis[0]]); } } @@ -1092,13 +1092,13 @@ code -= BTN_MISC; #ifndef NO_LOGICAL_JOYSTICKS if (!LogicalJoystickButton(joystick, - joystick-> - hwdata->key_map[code], + joystick->hwdata-> + key_map[code], events[i].value)) #endif SDL_PrivateJoystickButton(joystick, - joystick-> - hwdata->key_map[code], + joystick->hwdata-> + key_map[code], events[i].value); } break; @@ -1124,8 +1124,8 @@ events[i].value)) #endif SDL_PrivateJoystickAxis(joystick, - joystick-> - hwdata->abs_map[code], + joystick->hwdata-> + abs_map[code], events[i].value); break; }