Changes

Jump to navigation Jump to search
40 bytes added ,  19:53, 14 January 2020
no edit summary
Line 273: Line 273:     
== SetSixAxisSensorFusionParameters ==
 
== SetSixAxisSensorFusionParameters ==
Takes a PID-descriptor, an u32 SixAxisSensorHandle, two floats, and an u64 [[AM_services|AppletResourceUserId]], no output.
+
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.
 
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 ==
 
== GetSixAxisSensorFusionParameters ==
Takes a PID-descriptor, an u32 SixAxisSensorHandle, and an u64 [[AM_services|AppletResourceUserId]], returns two output floats.
+
Takes a PID-descriptor, an u32 [[#SixAxisSensorHandle]], and an u64 [[AM_services|AppletResourceUserId]], returns two output floats.
    
== 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 ==
 
== SetGyroscopeZeroDriftMode ==
Takes a PID-descriptor, an u32 "nn::hid::SixAxisSensorHandle", an u32 [[#GyroscopeZeroDriftMode]], and an u64 [[AM_services|AppletResourceUserId]], no output.
+
Takes a PID-descriptor, an u32 [[#SixAxisSensorHandle]], an u32 [[#GyroscopeZeroDriftMode]], and an u64 [[AM_services|AppletResourceUserId]], no output.
    
== GetGyroscopeZeroDriftMode ==
 
== GetGyroscopeZeroDriftMode ==
Takes a PID-descriptor, an u32 "nn::hid::SixAxisSensorHandle", and an u64 [[AM_services|AppletResourceUserId]], returns an output u32 [[#GyroscopeZeroDriftMode]].
+
Takes a PID-descriptor, an u32 [[#SixAxisSensorHandle]], and an u64 [[AM_services|AppletResourceUserId]], returns an output u32 [[#GyroscopeZeroDriftMode]].
    
Gets the value written by [[#SetGyroscopeZeroDriftMode]].
 
Gets the value written by [[#SetGyroscopeZeroDriftMode]].
    
== ResetGyroscopeZeroDriftMode ==
 
== ResetGyroscopeZeroDriftMode ==
Takes a PID-descriptor, an u32 "nn::hid::SixAxisSensorHandle", and an u64 [[AM_services|AppletResourceUserId]], no output.
+
Takes a PID-descriptor, an u32 [[#SixAxisSensorHandle]], and an u64 [[AM_services|AppletResourceUserId]], no output.
    
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).
Line 453: Line 453:  
| 2 || Tight
 
| 2 || Tight
 
|}
 
|}
 +
 +
== SixAxisSensorHandle ==
 +
This is an u32.
    
== VibrationDeviceHandle ==
 
== VibrationDeviceHandle ==

Navigation menu