mirror of
https://github.com/encounter/SDL.git
synced 2025-12-10 05:57:44 +00:00
Replaced a few single-line "//" comments.
This commit is contained in:
@@ -609,8 +609,8 @@ SDL_SYS_JoystickDetect(void)
|
||||
}
|
||||
}
|
||||
|
||||
// run this after the checks above so we don't set device->removed and delete the device before
|
||||
// SDL_SYS_JoystickUpdate can run to clean up the SDL_Joystick object that owns this device
|
||||
/* run this after the checks above so we don't set device->removed and delete the device before
|
||||
SDL_SYS_JoystickUpdate can run to clean up the SDL_Joystick object that owns this device */
|
||||
while (CFRunLoopRunInMode(SDL_JOYSTICK_RUNLOOP_MODE,0,TRUE) == kCFRunLoopRunHandledSource) {
|
||||
/* no-op. Pending callbacks will fire in CFRunLoopRunInMode(). */
|
||||
}
|
||||
|
||||
@@ -331,7 +331,7 @@ SDL_SYS_JoystickUpdate(SDL_Joystick * joystick)
|
||||
|
||||
for(i = 0; i < item->naxes; i++) {
|
||||
if(item->axis[i] != gamepadState.axis[i]) {
|
||||
// do we need to do conversion?
|
||||
/* do we need to do conversion? */
|
||||
SDL_PrivateJoystickAxis(item->joystick, i,
|
||||
(Sint16) (32767.*gamepadState.axis[i]));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user