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