HID services: Difference between revisions

(One intermediate revision by the same user not shown)
Line 338: Line 338:
== 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 s64.
sdknso will Abort when the output is not 0-1.


== SetNpadJoyAssignmentModeSingleByDefault ==
== SetNpadJoyAssignmentModeSingleByDefault ==
Line 352: Line 354:


== GetNpadHandheldActivationMode ==
== GetNpadHandheldActivationMode ==
Takes a PID and an u64 [[AM_services|AppletResourceUserId]]. Returns an output u64. Official user-processes panic if the output u64 is not 0-2.
Takes a PID and an u64 [[AM_services|AppletResourceUserId]]. Returns an output u64. Official user-processes Abort if the output u64 is not 0-2.


== GetVibrationDeviceInfo ==
== GetVibrationDeviceInfo ==