mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-05-19 16:10:12 +00:00
Fix controller arrival packet to actually contain the controller that arrived
This commit is contained in:
+1
-1
@@ -152,8 +152,8 @@ typedef struct _SS_PEN_PACKET {
|
||||
#define SS_CONTROLLER_ARRIVAL_MAGIC 0x55000004
|
||||
typedef struct _SS_CONTROLLER_ARRIVAL_PACKET {
|
||||
NV_INPUT_HEADER header;
|
||||
uint8_t controllerNumber;
|
||||
uint8_t type;
|
||||
uint8_t zero[1]; // Alignment/reserved
|
||||
uint16_t capabilities;
|
||||
uint32_t supportedButtonFlags;
|
||||
} SS_CONTROLLER_ARRIVAL_PACKET, *PSS_CONTROLLER_ARRIVAL_PACKET;
|
||||
|
||||
Reference in New Issue
Block a user