Add Share+PS combo for clickpad button emulation on PS4/5 controllers

This commit is contained in:
Cameron Gutman committed 2023-10-14 01:46:50 -05:00
1 parent 8ffadde9cc
commit 53c2c612c9
2 files changed
+26 -1

No files matched your search

+3
View File
@@ -19,6 +19,9 @@ struct GamepadState {
SDL_TimerID mouseEmulationTimer;
uint32_t lastStartDownTime;
bool clickpadButtonEmulationEnabled;
bool emulatedClickpadButtonDown;
#if SDL_VERSION_ATLEAST(2, 0, 14)
uint8_t gyroReportPeriodMs;
float lastGyroEventData[SDL_arraysize(SDL_ControllerSensorEvent::data)];