HID services: Difference between revisions
No edit summary |
|||
Line 312: | Line 312: | ||
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 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 | sdknso 10.x removed the nn::hid wrapper for this. | ||
== GetAccelerometerParameters == | == GetAccelerometerParameters == | ||
Takes a PID, a [[#SixAxisSensorHandle]], and an [[AM_services|AppletResourceUserId]], returns two output floats. | Takes a PID, a [[#SixAxisSensorHandle]], and an [[AM_services|AppletResourceUserId]], returns two output floats. | ||
sdknso | sdknso 10.x removed the nn::hid wrapper for this. | ||
== ResetAccelerometerParameters == | == ResetAccelerometerParameters == | ||
Takes a PID, a [[#SixAxisSensorHandle]], and an [[AM_services|AppletResourceUserId]], no output. | Takes a PID, a [[#SixAxisSensorHandle]], and an [[AM_services|AppletResourceUserId]], no output. | ||
sdknso | sdknso 10.x removed the nn::hid wrapper for this. | ||
== SetAccelerometerPlayMode == | == SetAccelerometerPlayMode == | ||
Takes a PID, a [[#SixAxisSensorHandle]], an u32 [[#AccelerometerPlayMode]], and an u64 [[AM_services|AppletResourceUserId]], no output. | Takes a PID, a [[#SixAxisSensorHandle]], an u32 [[#AccelerometerPlayMode]], and an u64 [[AM_services|AppletResourceUserId]], no output. | ||
sdknso | sdknso 10.x removed the nn::hid wrapper for this. | ||
== GetAccelerometerPlayMode == | == GetAccelerometerPlayMode == | ||
Takes a PID, a [[#SixAxisSensorHandle]], and an [[AM_services|AppletResourceUserId]], returns an output u32 [[#AccelerometerPlayMode]]. | Takes a PID, a [[#SixAxisSensorHandle]], and an [[AM_services|AppletResourceUserId]], returns an output u32 [[#AccelerometerPlayMode]]. | ||
sdknso | sdknso 10.x removed the nn::hid wrapper for this. | ||
== ResetAccelerometerPlayMode == | == ResetAccelerometerPlayMode == | ||
Takes a PID, a [[#SixAxisSensorHandle]], and an [[AM_services|AppletResourceUserId]], no output. | Takes a PID, a [[#SixAxisSensorHandle]], and an [[AM_services|AppletResourceUserId]], no output. | ||
sdknso | sdknso 10.x removed the nn::hid wrapper for this. | ||
== SetGyroscopeZeroDriftMode == | == SetGyroscopeZeroDriftMode == |