From 22f1ac695c321f4dd074b74dd904369e39e4bb20 Mon Sep 17 00:00:00 2001 From: Iwan Timmer Date: Thu, 4 Sep 2014 13:08:11 +0200 Subject: [PATCH] Update Limelight-common --- libs/common | 2 +- src/com/limelight/input/EvdevHandler.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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)