Use int for buttonFlags

This commit is contained in:
Cameron Gutman 2023-10-10 18:31:18 -05:00
parent b06b146824
commit c7134a48db

View File

@ -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;