HID services: Difference between revisions

No edit summary
No edit summary
Line 605: Line 605:
Takes an input u32, returns an output bool.
Takes an input u32, returns an output bool.


sdknso only exposes the hidsys version of this cmd.
sdknso exposes this under "nn::hid::system::". [10.0.0+] sdknso now only exposes the hidsys version of this cmd.


== HasLeftRightBattery ==
== HasLeftRightBattery ==
Takes an input u32, returns two output bools.
Takes an input u32, returns two output bools.


sdknso only exposes the hidsys version of this cmd.
sdknso exposes this under "nn::hid::system::". [10.0.0+] sdknso now only exposes the hidsys version of this cmd.


== GetNpadInterfaceType ==
== GetNpadInterfaceType ==
Line 617: Line 617:
The NpadInterfaceType must be 1-4, otherwise this will Abort.
The NpadInterfaceType must be 1-4, otherwise this will Abort.


sdknso only exposes the hidsys version of this cmd.
sdknso exposes this under "nn::hid::system::". [10.0.0+] sdknso now only exposes the hidsys version of this cmd.


== GetNpadLeftRightInterfaceType ==
== GetNpadLeftRightInterfaceType ==
Takes an input u32 [[#NpadIdType]], returns two output u8s [[#NpadInterfaceType]].
Takes an input u32 [[#NpadIdType]], returns two output u8s [[#NpadInterfaceType]].


sdknso only exposes the hidsys version of this cmd.
sdknso exposes this under "nn::hid::system::". [10.0.0+] sdknso now only exposes the hidsys version of this cmd.


== GetNpadOfHighestBatteryLevel ==
== GetNpadOfHighestBatteryLevel ==
Line 1,110: Line 1,110:
| 315 || [9.0.0+] GetAppletDetailedUiType
| 315 || [9.0.0+] GetAppletDetailedUiType
|-
|-
| 316 || [10.0.0+] GetNpadInterfaceType
| 316 || [10.0.0+] [[#GetNpadInterfaceType]]
|-
|-
| 317 || [10.0.0+] GetNpadLeftRightInterfaceType
| 317 || [10.0.0+] [[#GetNpadLeftRightInterfaceType]]
|-
|-
| 318 || [10.0.0+] HasBattery
| 318 || [10.0.0+] [[#HasBattery]]
|-
|-
| 319 || [10.0.0+] HasLeftRightBattery
| 319 || [10.0.0+] [[#HasLeftRightBattery]]
|-
|-
| 321 || [3.0.0+] [[#GetUniquePadsFromNpad]]
| 321 || [3.0.0+] [[#GetUniquePadsFromNpad]]