mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2026-02-16 02:30:56 +00:00
Use int for buttonFlags
This commit is contained in:
@@ -86,7 +86,7 @@ void MoonlightInstance::PollGamepads() {
|
||||
|
||||
m_LastPadTimestamps[p] = padData.timestamp;
|
||||
|
||||
short buttonFlags = 0;
|
||||
int buttonFlags = 0;
|
||||
unsigned char leftTrigger = 0, rightTrigger = 0;
|
||||
short leftStickX = 0, leftStickY = 0;
|
||||
short rightStickX = 0, rightStickY = 0;
|
||||
|
||||
Reference in New Issue
Block a user