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