Add support for X1 and X2 mouse buttons

This commit is contained in:
Cameron Gutman
2018-10-05 00:56:30 -07:00
parent 7dea322bbd
commit 1d7c8697e9
4 changed files with 36 additions and 2 deletions

View File

@@ -4,6 +4,8 @@ public interface EvdevListener {
int BUTTON_LEFT = 1;
int BUTTON_MIDDLE = 2;
int BUTTON_RIGHT = 3;
int BUTTON_X1 = 4;
int BUTTON_X2 = 5;
void mouseMove(int deltaX, int deltaY);
void mouseButtonEvent(int buttonId, boolean down);