Rename button constants to something reasonable

This commit is contained in:
Cameron Gutman 2014-09-01 14:02:53 -07:00
parent c9eee2e075
commit e7f1b822f7

View File

@ -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)
{ {