Add support for vertical scrolling

This commit is contained in:
Cameron Gutman
2014-10-12 11:59:42 -07:00
parent 3dee3a60d5
commit a0d9174e75
3 changed files with 45 additions and 0 deletions
+12
View File
@@ -52,4 +52,16 @@ typedef struct _NV_CONTROLLER_PACKET {
short tailB;
} NV_CONTROLLER_PACKET, *PNV_CONTROLLER_PACKET;
#define PACKET_TYPE_SCROLL 0xA
#define MAGIC_A 0x09
typedef struct _NV_SCROLL_PACKET {
NV_INPUT_HEADER header;
char magicA;
char zero1;
short zero2;
short scrollAmt1;
short scrollAmt2;
short zero3;
} NV_SCROLL_PACKET, *PNV_SCROLL_PACKET;
#pragma pack(pop)