HID services: Difference between revisions
No edit summary |
No edit summary |
||
Line 337: | Line 337: | ||
== SetNpadJoyHoldType == | == SetNpadJoyHoldType == | ||
Takes a PID-descriptor, | 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 | 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: | ||
|} | |} | ||
= | = VibrationGcErmCommand = | ||
This is "nn::hid:: | This is "nn::hid::VibrationGcErmCommand". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 6,297: | Line 6,309: | ||
|- | |- | ||
| 1 || Start | | 1 || Start | ||
|- | |||
| 2 || | |||
|} | |} | ||