Add extended button support with Sunshine

This commit is contained in:
Cameron Gutman 2023-06-18 14:32:18 -05:00
commit e42de9d155
3 changed files with 13 additions and 3 deletions

View file

@ -19,7 +19,7 @@ struct GamepadState {
SDL_TimerID mouseEmulationTimer;
uint32_t lastStartDownTime;
short buttons;
int buttons;
short lsX, lsY;
short rsX, rsY;
unsigned char lt, rt;