nn::hid::CTR::AccelerometerReader::SetSensitivity Member Function
void SetSensitivity(
s16 play,
s16 sensitivity
);
| Name | Description | |
|---|---|---|
| in | play | The play. Specify a value from 0 to nn::hid::CTR::MAX_OF_ACCELEROMETER_PLAY, inclusive. |
| in | sensitivity | Indicates the sensitivity.0 ~ Specify a value in the range from 0 to nn::hid::CTR::MAX_OF_ACCELEROMETER_SENSITIVITY, inclusive. If you specify a value of 0, response ceases completely. If you specify a value of nn::hid::CTR::MAX_OF_ACCELEROMETER_SENSITIVITY, response is based directly on the values obtained from the device. |
Sets the sensitivity and play tolerance for the change in acceleration between samples.
By default, play is set to 0 and sensitivity is set to nn::hid::CTR::MAX_OF_ACCELEROMETER_SENSITIVITY.
CONFIDENTIAL