mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-06-17 06:10:58 +00:00
Rename button constants to something reasonable
This commit is contained in:
@@ -16,12 +16,9 @@ public class MouseButtonPacket extends InputPacket {
|
|||||||
public static final byte PRESS_EVENT = 0x07;
|
public static final byte PRESS_EVENT = 0x07;
|
||||||
public static final byte RELEASE_EVENT = 0x08;
|
public static final byte RELEASE_EVENT = 0x08;
|
||||||
|
|
||||||
// left
|
public static final byte BUTTON_LEFT = 0x01;
|
||||||
public static final byte BUTTON_1 = 0x01;
|
public static final byte BUTTON_MIDDLE = 0x02;
|
||||||
// middle
|
public static final byte BUTTON_RIGHT = 0x03;
|
||||||
public static final byte BUTTON_2 = 0x02;
|
|
||||||
// right
|
|
||||||
public static final byte BUTTON_3 = 0x03;
|
|
||||||
|
|
||||||
public MouseButtonPacket(boolean buttonDown, byte mouseButton)
|
public MouseButtonPacket(boolean buttonDown, byte mouseButton)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user