mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2026-10-23 03:27:56 +09:00
Use int for buttonFlags
This commit is contained in:
1 parent
b06b146824
commit
c7134a48db
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user