mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-11-27 00:05:06 +00:00
Split controller motion events onto their own channels
This commit is contained in:
1 parent
53c29f11ba
commit
377d37503f
3 files changed
+7
-6
No files matched your search
+2
-2
@@ -1421,8 +1421,8 @@ int LiSendControllerMotionEvent(uint8_t controllerNumber, uint8_t motionType, fl
|
||||
return -1;
|
||||
}
|
||||
|
||||
// Send each controller on a separate channel
|
||||
holder->channelId = CTRL_CHANNEL_GAMEPAD_BASE + controllerNumber;
|
||||
// Send each controller on a separate channel specific to motion sensors
|
||||
holder->channelId = CTRL_CHANNEL_SENSOR_BASE + controllerNumber;
|
||||
|
||||
// Motion events are so rapid that we can just drop any events that are lost in transit
|
||||
holder->enetPacketFlags = 0;
|
||||
|
||||
Reference in new issue
Block a user