examples: Minor tweak to joystick examples' comments.

This commit is contained in:
Ryan C. Gordon
2025-09-06 23:03:46 -04:00
parent cf92ef7994
commit 79b881fc2e
2 changed files with 4 additions and 4 deletions

View File

@@ -13,8 +13,8 @@
and knows how to map arbitrary buttons and such to look like an and knows how to map arbitrary buttons and such to look like an
Xbox/PlayStation/etc gamepad. This is easier, and better, for many games, Xbox/PlayStation/etc gamepad. This is easier, and better, for many games,
but isn't necessarily a good fit for complex apps and hardware. A flight but isn't necessarily a good fit for complex apps and hardware. A flight
simulator, a realistic racing game, etc, might want this interface instead simulator, a realistic racing game, etc, might want the joystick interface
of gamepads. */ instead of gamepads. */
/* SDL can handle multiple joysticks, but for simplicity, this program only /* SDL can handle multiple joysticks, but for simplicity, this program only
deals with the first stick it sees. */ deals with the first stick it sees. */

View File

@@ -13,8 +13,8 @@
and knows how to map arbitrary buttons and such to look like an and knows how to map arbitrary buttons and such to look like an
Xbox/PlayStation/etc gamepad. This is easier, and better, for many games, Xbox/PlayStation/etc gamepad. This is easier, and better, for many games,
but isn't necessarily a good fit for complex apps and hardware. A flight but isn't necessarily a good fit for complex apps and hardware. A flight
simulator, a realistic racing game, etc, might want this interface instead simulator, a realistic racing game, etc, might want the joystick interface
of gamepads. */ instead of gamepads. */
#define SDL_MAIN_USE_CALLBACKS 1 /* use the callbacks instead of main() */ #define SDL_MAIN_USE_CALLBACKS 1 /* use the callbacks instead of main() */
#include <SDL3/SDL.h> #include <SDL3/SDL.h>