diff --git a/libs/common b/libs/common index 0f34bc9..eac26ad 160000 --- a/libs/common +++ b/libs/common @@ -1 +1 @@ -Subproject commit 0f34bc991ff77e6610e1877abaddc09a1b2134a7 +Subproject commit eac26ad4f13a2dd56c9c5e0aef3f5d0a9ced2b10 diff --git a/src/com/limelight/input/EvdevHandler.java b/src/com/limelight/input/EvdevHandler.java index 3b3cc8f..26e7791 100644 --- a/src/com/limelight/input/EvdevHandler.java +++ b/src/com/limelight/input/EvdevHandler.java @@ -75,11 +75,11 @@ public class EvdevHandler extends EvdevReader { short gamepadButton = 0; if (code==EvdevConstants.BTN_LEFT) - mouseButton = MouseButtonPacket.BUTTON_1; + mouseButton = MouseButtonPacket.BUTTON_LEFT; else if (code==EvdevConstants.BTN_MIDDLE) - mouseButton = MouseButtonPacket.BUTTON_2; + mouseButton = MouseButtonPacket.BUTTON_MIDDLE; else if (code==EvdevConstants.BTN_RIGHT) - mouseButton = MouseButtonPacket.BUTTON_3; + mouseButton = MouseButtonPacket.BUTTON_RIGHT; else if (code==mapping.btn_south) gamepadButton = ControllerPacket.A_FLAG; else if (code==mapping.btn_west)