mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-11-28 08:44:21 +00:00
Extend to 32-bit button flags for the older LiSendControllerEvent() API
This commit is contained in:
1 parent
d457fbb487
commit
426745fa24
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -1072,7 +1072,7 @@ static int sendControllerEventInternal(short controllerNumber, short activeGamep
|
||||
}
|
||||
|
||||
// Send a controller event to the streaming machine
|
||||
int LiSendControllerEvent(short buttonFlags, unsigned char leftTrigger, unsigned char rightTrigger,
|
||||
int LiSendControllerEvent(int buttonFlags, unsigned char leftTrigger, unsigned char rightTrigger,
|
||||
short leftStickX, short leftStickY, short rightStickX, short rightStickY)
|
||||
{
|
||||
return sendControllerEventInternal(0, 0x1, buttonFlags, leftTrigger, rightTrigger,
|
||||
|
||||
Reference in new issue
Block a user