mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-06-16 22:01:11 +00:00
Update Limelight-common
This commit is contained in:
+1
-1
Submodule libs/common updated: 0f34bc991f...eac26ad4f1
@@ -75,11 +75,11 @@ public class EvdevHandler extends EvdevReader {
|
|||||||
short gamepadButton = 0;
|
short gamepadButton = 0;
|
||||||
|
|
||||||
if (code==EvdevConstants.BTN_LEFT)
|
if (code==EvdevConstants.BTN_LEFT)
|
||||||
mouseButton = MouseButtonPacket.BUTTON_1;
|
mouseButton = MouseButtonPacket.BUTTON_LEFT;
|
||||||
else if (code==EvdevConstants.BTN_MIDDLE)
|
else if (code==EvdevConstants.BTN_MIDDLE)
|
||||||
mouseButton = MouseButtonPacket.BUTTON_2;
|
mouseButton = MouseButtonPacket.BUTTON_MIDDLE;
|
||||||
else if (code==EvdevConstants.BTN_RIGHT)
|
else if (code==EvdevConstants.BTN_RIGHT)
|
||||||
mouseButton = MouseButtonPacket.BUTTON_3;
|
mouseButton = MouseButtonPacket.BUTTON_RIGHT;
|
||||||
else if (code==mapping.btn_south)
|
else if (code==mapping.btn_south)
|
||||||
gamepadButton = ControllerPacket.A_FLAG;
|
gamepadButton = ControllerPacket.A_FLAG;
|
||||||
else if (code==mapping.btn_west)
|
else if (code==mapping.btn_west)
|
||||||
|
|||||||
Reference in New Issue
Block a user