mirror of
https://github.com/encounter/SDL.git
synced 2025-12-21 18:59:15 +00:00
Replaced tabs with spaces in test programs.
This commit is contained in:
@@ -42,7 +42,7 @@ main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
/* Enable standard application logging */
|
||||
SDL_LogSetPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO);
|
||||
SDL_LogSetPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO);
|
||||
|
||||
SDL_SetHint(SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS, "1");
|
||||
|
||||
@@ -134,10 +134,10 @@ main(int argc, char *argv[])
|
||||
{
|
||||
SDL_HapticRumblePlay(haptic, 0.25, 250);
|
||||
}
|
||||
if (event.jbutton.button == 0) {
|
||||
SDL_Log("Exiting due to button press of button 0\n");
|
||||
keepGoing = SDL_FALSE;
|
||||
}
|
||||
if (event.jbutton.button == 0) {
|
||||
SDL_Log("Exiting due to button press of button 0\n");
|
||||
keepGoing = SDL_FALSE;
|
||||
}
|
||||
break;
|
||||
case SDL_JOYBUTTONUP:
|
||||
SDL_Log("Button Release: %d\n", event.jbutton.button);
|
||||
|
||||
Reference in New Issue
Block a user