HID services: Difference between revisions

No edit summary
Line 2,152: Line 2,152:
! Cmd || Name
! Cmd || Name
|-
|-
| 1 || GetBusHandle
| 1 || [[#GetBusHandle]]
|-
|-
| 2 || IsExternalDeviceConnected
| 2 || [[#IsExternalDeviceConnected]]
|-
|-
| 3 || Initialize
| 3 || [[#Initialize]]
|-
|-
| 4 || Finalize
| 4 || [[#Finalize]]
|-
|-
| 5 || EnableExternalDevice
| 5 || [[#EnableExternalDevice]]
|-
|-
| 6 || GetExternalDeviceId
| 6 || [[#GetExternalDeviceId]]
|-
|-
| 7 || SendCommandAsync
| 7 || [[#SendCommandAsync]]
|-
|-
| 8 || GetSendCommandAsynceResult
| 8 || [[#GetSendCommandAsynceResult]]
|-
|-
| 9 || SetEventForSendCommandAsycResult
| 9 || [[#SetEventForSendCommandAsycResult]]
|-
|-
| 10 || GetSharedMemoryHandle
| 10 || [[#GetSharedMemoryHandle]]
|-
|-
| 11 || EnableJoyPollingReceiveMode
| 11 || [[#EnableJoyPollingReceiveMode]]
|-
|-
| 12 || DisableJoyPollingReceiveMode
| 12 || [[#DisableJoyPollingReceiveMode]]
|-
|-
| 13 || [5.0.0-6.2.0] GetPollingData
| 13 || [5.0.0-6.2.0] GetPollingData
|-
|-
| 14 || [6.0.0+] SetStatusManagerType
| 14 || [6.0.0+] [[#SetStatusManagerType]]
|}
|}
== GetBusHandle ==
Takes an input u32, an u64, an u64 [[AM_services|AppletResourceUserId]], returns an output u8 bool and a [[#BusHandle]].
== IsExternalDeviceConnected ==
Takes an input [[#BusHandle]], returns an output u8 bool.
== Initialize ==
Takes an input [[#BusHandle]], an u64 [[AM_services|AppletResourceUserId]], no output.
== Finalize ==
Takes an input [[#BusHandle]], an u64 [[AM_services|AppletResourceUserId]], no output.
== EnableExternalDevice ==
Takes an input u8 bool, a [[#BusHandle]], an u64, an u64 [[AM_services|AppletResourceUserId]], no output.
== GetExternalDeviceId ==
Takes an input [[#BusHandle]], returns an output u32.
== SendCommandAsync ==
Takes a type-0x21 input buffer and a [[#BusHandle]], no output.
== GetSendCommandAsynceResult ==
Takes a type-0x22 output buffer and a [[#BusHandle]], returns an output u32.
== SetEventForSendCommandAsycResult ==
Takes an input [[#BusHandle]], returns an output handle.
== GetSharedMemoryHandle ==
No input, returns an output handle.
== EnableJoyPollingReceiveMode ==
Takes a type-0x21 input buffer, a handle, two u32s, a [[#BusHandle]], no output.
== DisableJoyPollingReceiveMode ==
Takes an input [[#BusHandle]], no output.
== SetStatusManagerType ==
Takes an input u32, no output.
== BusHandle ==
This is "nn::hidbus::BusHandle". This is 0x8-bytes.


= RomFS =
= RomFS =