HID services: Difference between revisions

Line 748: Line 748:
== SetHdlsState ==
== SetHdlsState ==
Takes an input [[#HdlsState]] and an input 8-byte '''HdlsHandle''', no output.
Takes an input [[#HdlsState]] and an input 8-byte '''HdlsHandle''', no output.
== HdlsNpadAssignment ==
This is a 0x208-byte struct. This seems to be an array, structure unknown.


== AbstractedPadState ==
== AbstractedPadState ==
Line 822: Line 819:


The above "[[#DeviceType]] |=" notes only apply when type2 is 0x2.
The above "[[#DeviceType]] |=" notes only apply when type2 is 0x2.
== HdlsNpadAssignment ==
{| class="wikitable" border="1"
|-
! Offset || Size || Description
|-
| 0x0 || 0x4 || s32 Total entries
|-
| 0x4 || 0x4 || Padding
|-
| 0x8 || 0x200(0x20*0x10) || Array of [[#HdlsNpadAssignmentEntry]].
|}
This is a 0x208-byte struct.
=== HdlsNpadAssignmentEntry ===
{| class="wikitable" border="1"
|-
! Offset || Size || Description
|-
| 0x0 || 0x8 || HdlsHandle
|-
| 0x8 || 0x4 || ?
|-
| 0xC || 0x4 || ?
|-
| 0x10 || 0x8 || ?
|-
| 0x18 || 0x1 || ?
|-
| 0x19 || 0x7 || Padding
|}
This is a 0x20-byte struct.


== HdlsStateList ==
== HdlsStateList ==
Line 828: Line 859:
! Offset || Size || Description
! Offset || Size || Description
|-
|-
| 0x0 || 0x4 || Total entries
| 0x0 || 0x4 || s32 Total entries
|-
|-
| 0x4 || 0x4 || Padding
| 0x4 || 0x4 || Padding