Changes

1,616 bytes added ,  18:20, 26 November 2020
no edit summary
Line 58: Line 58:  
| 72 || [[#ResetSixAxisSensorFusionParameters]]
 
| 72 || [[#ResetSixAxisSensorFusionParameters]]
 
|-
 
|-
| 73 || SetAccelerometerParameters
+
| 73 || [[#SetAccelerometerParameters]]
 
|-
 
|-
| 74 || GetAccelerometerParameters
+
| 74 || [[#GetAccelerometerParameters]]
 
|-
 
|-
| 75 || ResetAccelerometerParameters
+
| 75 || [[#ResetAccelerometerParameters]]
 
|-
 
|-
| 76 || SetAccelerometerPlayMode
+
| 76 || [[#SetAccelerometerPlayMode]]
 
|-
 
|-
| 77 || GetAccelerometerPlayMode
+
| 77 || [[#GetAccelerometerPlayMode]]
 
|-
 
|-
| 78 || ResetAccelerometerPlayMode
+
| 78 || [[#ResetAccelerometerPlayMode]]
 
|-
 
|-
 
| 79 || [[#SetGyroscopeZeroDriftMode]]
 
| 79 || [[#SetGyroscopeZeroDriftMode]]
Line 306: Line 306:  
== 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.
 +
 +
== SetAccelerometerParameters ==
 +
Takes a PID, a [[#SixAxisSensorHandle]], two floats, and an [[AM_services|AppletResourceUserId]], no output.
 +
 +
sdknso will throw an error before using this cmd, if either of the floats are less than 0.0f, or when the second float is larger than the first float.
 +
 +
sdknso doesn't expose this, it's only implemented under "nn::hid::detail::".
 +
 +
== GetAccelerometerParameters ==
 +
Takes a PID, a [[#SixAxisSensorHandle]], and an [[AM_services|AppletResourceUserId]], returns two output floats.
 +
 +
sdknso doesn't expose this, it's only implemented under "nn::hid::detail::".
 +
 +
== ResetAccelerometerParameters ==
 +
Takes a PID, a [[#SixAxisSensorHandle]], and an [[AM_services|AppletResourceUserId]], no output.
 +
 +
sdknso doesn't expose this, it's only implemented under "nn::hid::detail::".
 +
 +
== SetAccelerometerPlayMode ==
 +
Takes a PID, a [[#SixAxisSensorHandle]], an u32 [[#AccelerometerPlayMode]], and an u64 [[AM_services|AppletResourceUserId]], no output.
 +
 +
sdknso doesn't expose this, it's only implemented under "nn::hid::detail::".
 +
 +
== GetAccelerometerPlayMode ==
 +
Takes a PID, a [[#SixAxisSensorHandle]], and an [[AM_services|AppletResourceUserId]], returns an output u32 [[#AccelerometerPlayMode]].
 +
 +
sdknso doesn't expose this, it's only implemented under "nn::hid::detail::".
 +
 +
== ResetAccelerometerPlayMode ==
 +
Takes a PID, a [[#SixAxisSensorHandle]], and an [[AM_services|AppletResourceUserId]], no output.
 +
 +
sdknso doesn't expose this, it's only implemented under "nn::hid::detail::".
    
== SetGyroscopeZeroDriftMode ==
 
== SetGyroscopeZeroDriftMode ==
Line 6,448: Line 6,480:  
| 2 || StopHard || Stops the vibration immediately, with no decay phase.
 
| 2 || StopHard || Stops the vibration immediately, with no decay phase.
 
|}
 
|}
 +
 +
= AccelerometerPlayMode =
 +
This is "nn::hid::debug::AccelerometerPlayMode".
    
= GyroscopeZeroDriftMode =
 
= GyroscopeZeroDriftMode =