|
@@ -274,7 +274,7 @@ typedef struct SDL_MouseMotionEvent
|
|
|
Uint32 type; /**< ::SDL_MOUSEMOTION */
|
|
|
Uint64 timestamp; /**< In nanoseconds, populated using SDL_GetTicksNS() */
|
|
|
Uint32 windowID; /**< The window with mouse focus, if any */
|
|
|
- Uint32 which; /**< The mouse instance id, or SDL_TOUCH_MOUSEID */
|
|
|
+ SDL_MouseID which; /**< The mouse instance id, or SDL_TOUCH_MOUSEID */
|
|
|
Uint32 state; /**< The current button state */
|
|
|
Sint32 x; /**< X coordinate, relative to window */
|
|
|
Sint32 y; /**< Y coordinate, relative to window */
|
|
@@ -465,7 +465,7 @@ typedef struct SDL_AudioDeviceEvent
|
|
|
{
|
|
|
Uint32 type; /**< ::SDL_AUDIODEVICEADDED, or ::SDL_AUDIODEVICEREMOVED */
|
|
|
Uint64 timestamp; /**< In nanoseconds, populated using SDL_GetTicksNS() */
|
|
|
- Uint32 which; /**< The audio device index for the ADDED event (valid until next SDL_GetNumAudioDevices() call), SDL_AudioDeviceID for the REMOVED event */
|
|
|
+ SDL_AudioDeviceID which; /**< The audio device index for the ADDED event (valid until next SDL_GetNumAudioDevices() call), SDL_AudioDeviceID for the REMOVED event */
|
|
|
Uint8 iscapture; /**< zero if an output device, non-zero if a capture device. */
|
|
|
Uint8 padding1;
|
|
|
Uint8 padding2;
|