HID services: Difference between revisions

AppletDetailedUiType: wiki convention elides the first part of enums
No edit summary
Line 8: Line 8:
| 0 || [[#CreateAppletResource]]
| 0 || [[#CreateAppletResource]]
|-
|-
| 1 || ActivateDebugPad
| 1 || [[#ActivateDebugPad]]
|-
|-
| 11 || ActivateTouchScreen
| 11 || [[#ActivateTouchScreen]]
|-
|-
| 21 || ActivateMouse
| 21 || [[#ActivateMouse]]
|-
|-
| 31 || ActivateKeyboard
| 31 || [[#ActivateKeyboard]]
|-
|-
| 32 || [6.0.0+] SendKeyboardLockKeyEvent
| 32 || [6.0.0+] SendKeyboardLockKeyEvent
Line 44: Line 44:
| 65 || GetJoySixAxisSensorLifoHandle
| 65 || GetJoySixAxisSensorLifoHandle
|-
|-
| 66 || StartSixAxisSensor
| 66 || [[#StartSixAxisSensor]]
|-
|-
| 67 || StopSixAxisSensor
| 67 || [[#StopSixAxisSensor]]
|-
|-
| 68 || IsSixAxisSensorFusionEnabled
| 68 || [[#IsSixAxisSensorFusionEnabled]]
|-
|-
| 69 || EnableSixAxisSensorFusion
| 69 || [[#EnableSixAxisSensorFusion]]
|-
|-
| 70 || [[#SetSixAxisSensorFusionParameters]]
| 70 || [[#SetSixAxisSensorFusionParameters]]
Line 76: Line 76:
| 81 || [[#ResetGyroscopeZeroDriftMode]]
| 81 || [[#ResetGyroscopeZeroDriftMode]]
|-
|-
| 82 || IsSixAxisSensorAtRest
| 82 || [[#IsSixAxisSensorAtRest]]
|-
|-
| 83 || [6.0.0+] IsFirmwareUpdateAvailableForSixAxisSensor
| 83 || [6.0.0+] [[#IsFirmwareUpdateAvailableForSixAxisSensor]]
|-
|-
| 91 || [[#ActivateGesture]]
| 91 || [[#ActivateGesture]]
Line 116: Line 116:
| 127 || StopLrAssignmentMode
| 127 || StopLrAssignmentMode
|-
|-
| 128 || SetNpadHandheldActivationMode
| 128 || [[#SetNpadHandheldActivationMode]]
|-
|-
| 129 || [[#GetNpadHandheldActivationMode]]
| 129 || [[#GetNpadHandheldActivationMode]]
Line 271: Line 271:
== CreateAppletResource ==
== CreateAppletResource ==
Takes a PID and an u64 [[AM_services|AppletResourceUserId]]. Returns an [[#IAppletResource]].
Takes a PID and an u64 [[AM_services|AppletResourceUserId]]. Returns an [[#IAppletResource]].
== ActivateDebugPad ==
Takes a PID and an [[AM_services|AppletResourceUserId]], no output.
== ActivateTouchScreen ==
Takes a PID and an [[AM_services|AppletResourceUserId]], no output.
== ActivateMouse ==
Takes a PID and an [[AM_services|AppletResourceUserId]], no output.
== ActivateKeyboard ==
Takes a PID and an [[AM_services|AppletResourceUserId]], no output.
== StartSixAxisSensor ==
Takes a PID, a [[#SixAxisSensorHandle]], and an [[AM_services|AppletResourceUserId]], no output.
== StopSixAxisSensor ==
Takes a PID, a [[#SixAxisSensorHandle]], and an [[AM_services|AppletResourceUserId]], no output.
== IsSixAxisSensorFusionEnabled ==
Takes a PID, a [[#SixAxisSensorHandle]], and an [[AM_services|AppletResourceUserId]], returns an output bool.
== EnableSixAxisSensorFusion ==
Takes a PID, a bool, a [[#SixAxisSensorHandle]], and an [[AM_services|AppletResourceUserId]], no output.


== SetSixAxisSensorFusionParameters ==
== SetSixAxisSensorFusionParameters ==
Line 295: Line 319:


Same as [[#SetGyroscopeZeroDriftMode]] except the [[#GyroscopeZeroDriftMode]] is hard-coded to value 1 (Standard).
Same as [[#SetGyroscopeZeroDriftMode]] except the [[#GyroscopeZeroDriftMode]] is hard-coded to value 1 (Standard).
== IsSixAxisSensorAtRest ==
Takes a PID, a [[#SixAxisSensorHandle]], and an [[AM_services|AppletResourceUserId]], returns an output bool.
== IsFirmwareUpdateAvailableForSixAxisSensor ==
Takes a PID, a [[#SixAxisSensorHandle]], and an [[AM_services|AppletResourceUserId]], returns an output bool.


== ActivateGesture ==
== ActivateGesture ==
Line 357: Line 387:
== MergeSingleJoyAsDualJoy ==
== MergeSingleJoyAsDualJoy ==
Takes a PID-descriptor, two u32s, and an [[AM_services|AppletResourceUserId]]. No output.
Takes a PID-descriptor, two u32s, and an [[AM_services|AppletResourceUserId]]. No output.
== SetNpadHandheldActivationMode ==
Takes a PID, an [[AM_services|AppletResourceUserId]], a s64 [[#NpadHandheldActivationMode]], no output.


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


== GetVibrationDeviceInfo ==
== GetVibrationDeviceInfo ==