HID services: Difference between revisions

Line 72: Line 72:
| 78 || ResetAccelerometerPlayMode
| 78 || ResetAccelerometerPlayMode
|-
|-
| 79 || SetGyroscopeZeroDriftMode
| 79 || [[#SetGyroscopeZeroDriftMode]]
|-
|-
| 80 || GetGyroscopeZeroDriftMode
| 80 || [[#GetGyroscopeZeroDriftMode]]
|-
|-
| 81 || ResetGyroscopeZeroDriftMode
| 81 || [[#ResetGyroscopeZeroDriftMode]]
|-
|-
| 82 || IsSixAxisSensorAtRest
| 82 || IsSixAxisSensorAtRest
Line 282: Line 282:
== ResetSixAxisSensorFusionParameters ==
== ResetSixAxisSensorFusionParameters ==
Takes a PID-descriptor, an u32 SixAxisSensorHandle, and an u64 [[AM_services|AppletResourceUserId]], no output.
Takes a PID-descriptor, an u32 SixAxisSensorHandle, and an u64 [[AM_services|AppletResourceUserId]], no output.
== SetGyroscopeZeroDriftMode ==
Takes a PID-descriptor, an u32 "nn::hid::SixAxisSensorHandle", an u32, and an u64 [[AM_services|AppletResourceUserId]], no output.
Official sw loads the input u32 from "nn::hid::GyroscopeZeroDriftMode".
== GetGyroscopeZeroDriftMode ==
Takes a PID-descriptor, an u32 "nn::hid::SixAxisSensorHandle", and an u64 [[AM_services|AppletResourceUserId]], returns an output u32.
Gets the value written by [[#SetGyroscopeZeroDriftMode]].
== ResetGyroscopeZeroDriftMode ==
Takes a PID-descriptor, an u32 "nn::hid::SixAxisSensorHandle", and an u64 [[AM_services|AppletResourceUserId]], no output.
Same as [[#SetGyroscopeZeroDriftMode]] except the written mode is hard-coded value 1.


== SetSupportedNpadStyleSet ==
== SetSupportedNpadStyleSet ==