Sync SDL3 wiki -> header

[ci skip]
This commit is contained in:
SDL Wiki Bot
2024-10-21 18:06:39 +00:00
parent 9c848e08e4
commit 54e52d055f

View File

@@ -549,8 +549,8 @@ typedef struct SDL_JoyButtonEvent
/** /**
* Joystick device event structure (event.jdevice.*) * Joystick device event structure (event.jdevice.*)
* *
* SDL will send JOYSTICK_ADDED events for devices that * SDL will send JOYSTICK_ADDED events for devices that are already plugged in
* are already plugged in during SDL_Init. * during SDL_Init.
* *
* \since This struct is available since SDL 3.0.0. * \since This struct is available since SDL 3.0.0.
* *
@@ -620,11 +620,12 @@ typedef struct SDL_GamepadButtonEvent
/** /**
* Gamepad device event structure (event.gdevice.*) * Gamepad device event structure (event.gdevice.*)
* *
* Joysticks that are supported gamepads receive both an SDL_JoyDeviceEvent and * Joysticks that are supported gamepads receive both an SDL_JoyDeviceEvent
* an SDL_GamepadDeviceEvent. * and an SDL_GamepadDeviceEvent.
* *
* SDL will send GAMEPAD_ADDED events for joysticks * SDL will send GAMEPAD_ADDED events for joysticks that are already plugged
* that are already plugged in during SDL_Init() and are recognized as gamepads. It will also send events for joysticks that get gamepad mappings at runtime. * in during SDL_Init() and are recognized as gamepads. It will also send
* events for joysticks that get gamepad mappings at runtime.
* *
* \since This struct is available since SDL 3.0.0. * \since This struct is available since SDL 3.0.0.
* *