mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-21 15:56:57 +00:00
Add support for keyboard and mouse combo devices in raw input mode
This commit is contained in:
1 parent
6bae056e3a
commit
77c8051ec6
5 files changed
+190
No files matched your search
@@ -8,6 +8,7 @@ public class EvdevEvent {
|
||||
public static final short EV_SYN = 0x00;
|
||||
public static final short EV_KEY = 0x01;
|
||||
public static final short EV_REL = 0x02;
|
||||
public static final short EV_MSC = 0x04;
|
||||
|
||||
/* Relative axes */
|
||||
public static final short REL_X = 0x00;
|
||||
@@ -18,6 +19,11 @@ public class EvdevEvent {
|
||||
public static final short BTN_LEFT = 0x110;
|
||||
public static final short BTN_RIGHT = 0x111;
|
||||
public static final short BTN_MIDDLE = 0x112;
|
||||
public static final short BTN_SIDE = 0x113;
|
||||
public static final short BTN_EXTRA = 0x114;
|
||||
public static final short BTN_FORWARD = 0x115;
|
||||
public static final short BTN_BACK = 0x116;
|
||||
public static final short BTN_TASK = 0x117;
|
||||
|
||||
public short type;
|
||||
public short code;
|
||||
|
||||
Reference in new issue
Block a user