HID services: Difference between revisions

No edit summary
No edit summary
Line 337: Line 337:


== SetNpadJoyHoldType ==
== SetNpadJoyHoldType ==
Takes a PID-descriptor, a s64, and an [[AM_services|AppletResourceUserId]]. No output.
Takes a PID-descriptor, an input [[#NpadJoyHoldType]], and an [[AM_services|AppletResourceUserId]]. No output.


== GetNpadJoyHoldType ==
== GetNpadJoyHoldType ==
Takes a PID-descriptor and an [[AM_services|AppletResourceUserId]]. Returns an output s64.
Takes a PID-descriptor and an [[AM_services|AppletResourceUserId]]. Returns an output [[#NpadJoyHoldType]].


sdknso will Abort when the output is not 0-1.
sdknso will Abort when the output is not 0-1.
Line 5,780: Line 5,780:
|-
|-
| 2 || Completed
| 2 || Completed
|}
= NpadJoyHoldType =
This is "nn::hid::NpadJoyHoldType".
{| class="wikitable" border="1"
!  Value
!  Description
|-
| 0 || Vertical
|-
| 1 || Horizontal
|}
|}


Line 6,287: Line 6,299:
|}
|}


= VibrationErmCommand =
= VibrationGcErmCommand =
This is "nn::hid::VibrationErmCommand".
This is "nn::hid::VibrationGcErmCommand".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 6,297: Line 6,309:
|-
|-
| 1 || Start
| 1 || Start
|-
| 2 ||
|}
|}