HID services: Difference between revisions

Line 54: Line 54:
| 69 || EnableSixAxisSensorFusion
| 69 || EnableSixAxisSensorFusion
|-
|-
| 70 || SetSixAxisSensorFusionParameters
| 70 || [[#SetSixAxisSensorFusionParameters]]
|-
|-
| 71 || GetSixAxisSensorFusionParameters
| 71 || [[#GetSixAxisSensorFusionParameters]]
|-
|-
| 72 || ResetSixAxisSensorFusionParameters
| 72 || [[#ResetSixAxisSensorFusionParameters]]
|-
|-
| 73 || SetAccelerometerParameters
| 73 || SetAccelerometerParameters
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]].
== SetSixAxisSensorFusionParameters ==
Takes a PID-descriptor, an u32 SixAxisSensorHandle, two floats, and an u64 [[AM_services|AppletResourceUserId]], no output.
Official sw will throw an error before using this cmd, if the first float is outside of the bounds of 0.0f-1.0f.
== GetSixAxisSensorFusionParameters ==
Takes a PID-descriptor, an u32 SixAxisSensorHandle, and an u64 [[AM_services|AppletResourceUserId]], returns two output floats.
== ResetSixAxisSensorFusionParameters ==
Takes a PID-descriptor, an u32 SixAxisSensorHandle, and an u64 [[AM_services|AppletResourceUserId]], no output.


== SetSupportedNpadStyleSet ==
== SetSupportedNpadStyleSet ==