HID services: Difference between revisions

Ac K (talk | contribs)
Line 602: Line 602:
| 301 || [5.0.0+] [[#GetAbstractedPadHandles]]
| 301 || [5.0.0+] [[#GetAbstractedPadHandles]]
|-
|-
| 302 || [5.0.0+] GetAbstractedPadState
| 302 || [5.0.0+] [[#GetAbstractedPadState]]
|-
|-
| 303 || [5.0.0+] GetAbstractedPadsState
| 303 || [5.0.0+] [[#GetAbstractedPadsState]]
|-
|-
| 321 || [5.0.0+] SetAutoPilotVirtualPadState
| 321 || [5.0.0+] SetAutoPilotVirtualPadState
Line 686: Line 686:


Returns a handle for each controller detected by the system.
Returns a handle for each controller detected by the system.
== GetAbstractedPadState ==
Takes an input u64 '''AbstractedPadHandle''', returns an output [[#AbstractedPadState]].
== GetAbstractedPadsState ==
Takes a type-0xA output buffer containing an array of u64 '''AbstractedPadHandle''', a type-0x22 output buffer containing an array of [[#AbstractedPadState]], and returns an output s32 for total entries.


== AttachHdlsWorkBuffer ==
== AttachHdlsWorkBuffer ==
Line 732: Line 738:
== HdlsNpadAssignment ==
== HdlsNpadAssignment ==
This is a 0x208-byte struct. This seems to be an array, structure unknown.
This is a 0x208-byte struct. This seems to be an array, structure unknown.
== AbstractedPadState ==
{| class="wikitable" border="1"
|-
! Offset || Size || Description
|-
| 0x0 || 0x98 || ?
|}


== HdlsStateList ==
== HdlsStateList ==