nn::hid::CTR::AccelerometerReader::SetSensitivity Member Function| 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. Specify a value in the range of 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