libnx
v4.8.0
|
Data for btdrvGetHidReportEventInfo. The data stored here depends on the BtdrvHidEventType. More...
#include <btdrv.h>
Data Fields | |
union { | |
u8 data [0x480] | |
Raw data. | |
struct { | |
union { | |
struct { | |
struct { | |
BtdrvAddress addr | |
u8 pad [2] | |
u32 res | |
u32 size | |
} hdr | |
u8 unused [0x3] | |
Unused. | |
BtdrvAddress addr | |
BtdrvAddress | |
u8 unused2 [0x3] | |
Unused. | |
BtdrvHidData report | |
} v1 | |
[1.0.0-6.2.0] | |
struct { | |
u8 unused [0x3] | |
Unused. | |
BtdrvAddress addr | |
BtdrvAddress | |
u8 unused2 [0x3] | |
Unused. | |
BtdrvHidData report | |
} v7 | |
[7.0.0-8.1.1] | |
struct { | |
u32 res | |
Always 0. | |
u8 unk_x4 | |
Always 0. | |
BtdrvAddress addr | |
BtdrvAddress | |
u8 pad | |
Padding. | |
BtdrvHidReport report | |
} v9 | |
[9.0.0+] | |
} | |
} data_report | |
::BtdrvHidEventType_DataReport | |
struct { | |
union { | |
u8 rawdata [0xC] | |
Raw data. | |
struct { | |
u32 res | |
0 = success, non-zero = error. | |
BtdrvAddress addr | |
BtdrvAddress | |
u8 pad [2] | |
Padding. | |
} | |
} | |
} set_report | |
BtdrvHidEventType_SetReport | |
struct { | |
union { | |
union { | |
u8 rawdata [0x290] | |
Raw data. | |
struct { | |
BtdrvAddress addr | |
BtdrvAddress | |
u8 pad [2] | |
Padding. | |
u32 res | |
Unknown. hid-sysmodule only uses the below data when this field is 0. | |
BtdrvHidData report | |
BtdrvHidData | |
u8 pad2 [2] | |
Padding. | |
} | |
} v1 | |
[1.0.0-8.1.1] | |
union { | |
u8 rawdata [0x2C8] | |
Raw data. | |
struct { | |
u32 res | |
Unknown. hid-sysmodule only uses the below report when this field is 0. | |
BtdrvAddress addr | |
BtdrvAddress | |
BtdrvHidReport report | |
BtdrvHidReport | |
} | |
} v9 | |
[9.0.0+] | |
} | |
} get_report | |
BtdrvHidEventType_GetReport | |
}; | |
Data for btdrvGetHidReportEventInfo. The data stored here depends on the BtdrvHidEventType.
u32 BtdrvHidReportEventInfo::res |
Always 0.
Unknown. hid-sysmodule only uses the below report when this field is 0.
Unknown. hid-sysmodule only uses the below data when this field is 0.
0 = success, non-zero = error.