mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-20 23:20:10 +00:00
Add controller motion deduplication and fix gyro units
This commit is contained in:
@@ -20,9 +20,11 @@ struct GamepadState {
|
||||
uint32_t lastStartDownTime;
|
||||
|
||||
uint8_t gyroReportPeriodMs;
|
||||
float lastGyroEventData[SDL_arraysize(SDL_ControllerSensorEvent::data)];
|
||||
uint32_t lastGyroEventTime;
|
||||
|
||||
uint8_t accelReportPeriodMs;
|
||||
float lastAccelEventData[SDL_arraysize(SDL_ControllerSensorEvent::data)];
|
||||
uint32_t lastAccelEventTime;
|
||||
|
||||
int buttons;
|
||||
|
||||
Reference in New Issue
Block a user