Add absolute mouse motion support

This commit is contained in:
Cameron Gutman
2020-04-11 15:40:50 -07:00
parent f0c3b57d11
commit ef7de27727
3 changed files with 40 additions and 3 deletions

View File

@@ -26,7 +26,8 @@ typedef struct _NV_KEYBOARD_PACKET {
} NV_KEYBOARD_PACKET, *PNV_KEYBOARD_PACKET;
#define PACKET_TYPE_MOUSE_MOVE 0x08
#define MOUSE_MOVE_MAGIC 0x06
#define MOUSE_MOVE_ABS_MAGIC 0x05
#define MOUSE_MOVE_REL_MAGIC 0x06
typedef struct _NV_MOUSE_MOVE_PACKET {
NV_INPUT_HEADER header;
int magic;