HID services: Difference between revisions
Line 922: | Line 922: | ||
This is a 0x408-byte struct. [9.0.0+] This is a 0x488-byte struct. | This is a 0x408-byte struct. [9.0.0+] This is a 0x488-byte struct. | ||
This contains a list of all controllers, including non-virtual controllers. | This contains a list of all controllers, including non-virtual controllers. | ||
Line 936: | Line 934: | ||
| 0x8 || [[#HdlsDeviceInfo]] size || [[#HdlsDeviceInfo]]. With [[#ApplyHdlsStateList]] this is only used when creating new devices. | | 0x8 || [[#HdlsDeviceInfo]] size || [[#HdlsDeviceInfo]]. With [[#ApplyHdlsStateList]] this is only used when creating new devices. | ||
|- | |- | ||
| 0x8 + [[#HdlsDeviceInfo]] size || 0x24 || [[#HdlsState]] | | 0x8 + [[#HdlsDeviceInfo]] size, with 8-byte alignment || 0x24 || [[#HdlsState]] | ||
|- | |- | ||
| | | <Immediately following the above> || 0x4 || Padding | ||
|} | |} | ||
This is a 0x40-byte struct. | This is a 0x40-byte struct. [9.0.0+] This is a 0x48-byte struct. | ||
== HdlsDeviceInfo == | == HdlsDeviceInfo == | ||
Line 957: | Line 955: | ||
|- | |- | ||
| 0xD || 0x3 || Padding | | 0xD || 0x3 || Padding | ||
|} | |||
[9.0.0+]: | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset || Size || Description | |||
|- | |||
| 0x0 || 0x1 || Unknown | |||
|- | |||
| 0x1 || 0x1 || Unknown | |||
|- | |||
| 0x2 || 0x2 || Padding | |||
|- | |||
| 0x4 || 0x8 || Unknown | |||
|- | |- | ||
| | | 0xC || 0x8 || Unknown | ||
|} | |} | ||