mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
examples: Minor tweak to joystick examples' comments.
This commit is contained in:
parent
cf92ef7994
commit
79b881fc2e
2 changed files with 4 additions and 4 deletions
|
|
@ -13,8 +13,8 @@
|
|||
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,
|
||||
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
|
||||
of gamepads. */
|
||||
simulator, a realistic racing game, etc, might want the joystick interface
|
||||
instead of gamepads. */
|
||||
|
||||
/* SDL can handle multiple joysticks, but for simplicity, this program only
|
||||
deals with the first stick it sees. */
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@
|
|||
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,
|
||||
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
|
||||
of gamepads. */
|
||||
simulator, a realistic racing game, etc, might want the joystick interface
|
||||
instead of gamepads. */
|
||||
|
||||
#define SDL_MAIN_USE_CALLBACKS 1 /* use the callbacks instead of main() */
|
||||
#include <SDL3/SDL.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue