Reverted Bob's indent checkin
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403475
This commit is contained in:
parent
e32916c7f0
commit
d123950aa3
33 changed files with 501 additions and 659 deletions
|
@ -960,8 +960,8 @@ HandleHat(SDL_Joystick * stick, Uint8 hat, int axis, int value)
|
|||
#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 @@ EV_HandleEvents(SDL_Joystick * joystick)
|
|||
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 @@ EV_HandleEvents(SDL_Joystick * joystick)
|
|||
events[i].value))
|
||||
#endif
|
||||
SDL_PrivateJoystickAxis(joystick,
|
||||
joystick->hwdata->
|
||||
abs_map[code],
|
||||
joystick->
|
||||
hwdata->abs_map[code],
|
||||
events[i].value);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue