Send pointer IDs instead of touch indices

This commit is contained in:
Cameron Gutman
2023-06-18 13:48:14 -05:00
parent cd35abbae7
commit 329c55d52f
3 changed files with 13 additions and 10 deletions
+4 -4
View File
@@ -126,8 +126,8 @@ typedef struct _SS_HSCROLL_PACKET {
typedef struct _SS_TOUCH_PACKET {
NV_INPUT_HEADER header;
uint8_t eventType;
uint8_t touchIndex;
uint8_t zero[2]; // Alignment/reserved
uint8_t zero[3]; // Alignment/reserved
uint32_t pointerId;
netfloat x;
netfloat y;
netfloat pressure;
@@ -162,8 +162,8 @@ typedef struct _SS_CONTROLLER_TOUCH_PACKET {
NV_INPUT_HEADER header;
uint8_t controllerNumber;
uint8_t eventType;
uint8_t touchIndex;
uint8_t zero[1]; // Alignment/reserved
uint8_t zero[2]; // Alignment/reserved
uint32_t pointerId;
netfloat x;
netfloat y;
netfloat pressure;