Updated HiddbgHdlsDeviceInfo struct.

This commit is contained in:
yellows8 2019-06-25 11:33:35 -04:00
parent 18f977aa76
commit cebc1bed33
No known key found for this signature in database
GPG Key ID: 0AF90DA3F1E60E43

View File

@ -10,10 +10,10 @@
/// HdlsDeviceInfo
typedef struct {
u32 type; ///< Only one bit can be set. BIT(0) = Pro-Controller, BIT(1) = Joy-Con Left, BIT(2) = Joy-Con Right.
u32 type; ///< Only one bit can be set. BIT(0) = Pro-Controller, BIT(1) = Joy-Con Left, BIT(2) = Joy-Con Right, BIT(21) = unknown.
u32 singleColorBody; ///< RGBA Single Body Color
u32 singleColorButtons; ///< RGBA Single Buttons Color
u8 unk_xc; ///< Unknown
u8 type2; ///< Additional type field used with the above type field, if the value doesn't match one of the following a default is used. Type Pro-Controller: value 0x3 indicates that the controller is connected via USB. Type Joy-Con Left/Right: with value 0x2 the system doesn't list the controller in hid sharedmem. Type BIT(21): value 0x3 = unknown.
u8 pad[0x3]; ///< Padding
} HiddbgHdlsDeviceInfo;