mirror of
https://github.com/encounter/SDL.git
synced 2025-12-16 08:27:05 +00:00
Added microsecond timestamp to sensor values for PS4 and PS5 controllers using the HIDAPI driver
This commit is contained in:
@@ -23,8 +23,9 @@
|
||||
/* The private structure used to keep track of a sensor */
|
||||
struct sensor_hwdata
|
||||
{
|
||||
float data[3];
|
||||
Uint32 counter;
|
||||
unsigned int last_timestamp;
|
||||
Uint64 timestamp_us;
|
||||
};
|
||||
|
||||
/* vi: set ts=4 sw=4 expandtab: */
|
||||
|
||||
Reference in New Issue
Block a user