mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-05 17:36:25 +00:00
The timestamp_us
member of the sensor events has been renamed sensor_timestamp
and now represents nanoseconds.
This commit is contained in:
@@ -63,7 +63,7 @@ typedef struct _SDL_JoystickSensorInfo
|
||||
SDL_bool enabled;
|
||||
float rate;
|
||||
float data[3]; /* If this needs to expand, update SDL_ControllerSensorEvent */
|
||||
Uint64 timestamp_us;
|
||||
Uint64 sensor_timestamp;
|
||||
} SDL_JoystickSensorInfo;
|
||||
|
||||
struct _SDL_Joystick
|
||||
|
Reference in New Issue
Block a user