HID services: Difference between revisions

No edit summary
Line 180: Line 180:
| 310 || [6.0.0+] [[#ResetSevenSixAxisSensorTimestamp]]
| 310 || [6.0.0+] [[#ResetSevenSixAxisSensorTimestamp]]
|-
|-
| 400 || [3.0.0+] IsUsbFullKeyControllerEnabled
| 400 || [3.0.0+] [[#IsUsbFullKeyControllerEnabled]]
|-
|-
| 401 || [3.0.0+] EnableUsbFullKeyController
| 401 || [3.0.0+] [[#EnableUsbFullKeyController]]
|-
|-
| 402 || [3.0.0+] IsUsbFullKeyControllerConnected
| 402 || [3.0.0+] [[#IsUsbFullKeyControllerConnected]]
|-
|-
| 403 || [4.0.0+] HasBattery
| 403 || [4.0.0+] [[#HasBattery]]
|-
|-
| 404 || [4.0.0+] HasLeftRightBattery
| 404 || [4.0.0+] [[#HasLeftRightBattery]]
|-
|-
| 405 || [4.0.0+] [[#GetNpadInterfaceType]]
| 405 || [4.0.0+] [[#GetNpadInterfaceType]]
|-
|-
| 406 || [4.0.0+] GetNpadLeftRightInterfaceType
| 406 || [4.0.0+] [[#GetNpadLeftRightInterfaceType]]
|-
|-
| 407 || [10.0.0+] GetNpadOfHighestBatteryLevel ([9.0.0+] GetNpadOfHighestBatteryLevelForJoyLeft)
| 407 || [10.0.0+] GetNpadOfHighestBatteryLevel ([9.0.0+] GetNpadOfHighestBatteryLevelForJoyLeft)
Line 592: Line 592:
== ResetSevenSixAxisSensorTimestamp ==
== ResetSevenSixAxisSensorTimestamp ==
Takes a PID and an u64 [[AM_services|AppletResourceUserId]], no output.
Takes a PID and an u64 [[AM_services|AppletResourceUserId]], no output.
== IsUsbFullKeyControllerEnabled ==
No input, returns an output bool.
== EnableUsbFullKeyController ==
Takes an input bool, no output.
== IsUsbFullKeyControllerConnected ==
Takes an input u32 [[#NpadIdType]], returns an output bool.
== HasBattery ==
Takes an input u32, returns an output bool.
== HasLeftRightBattery ==
Takes an input u32, returns two output bools.


== GetNpadInterfaceType ==
== GetNpadInterfaceType ==
Takes an input u32 NpadIdType, returns an output u8 [[#NpadInterfaceType]].
Takes an input u32 [[#NpadIdType]], returns an output u8 [[#NpadInterfaceType]].
 
The NpadInterfaceType must be 1-4, otherwise this will Abort.


The NpadInterfaceType must be 1-4, otherwise this will assert.
== GetNpadLeftRightInterfaceType ==
Takes an input u32 [[#NpadIdType]], returns two output u8s [[#NpadInterfaceType]].


== IAppletResource ==
== IAppletResource ==