nn::hid::CTR::PadReader Classclass PadReader : private ADLFireWall::NonCopyable
Class for loading sampling data from the game pad (which consists of the buttons and the Circle Pad).
The game pad is sampled every 4 ms.
StickClampMode
|
Enumerated type that indicates the Slide Pad clamp mode set by the SetStickClampMode function. |
|---|
PadReader
|
Constructor. | |
|---|---|---|
~PadReader
|
Destructor. | |
Read
|
Loads sampling data from the game pad, starting with the most recent samples. Does not load any data that has been previously loaded. | |
ReadLatest
|
Loads the most recent sampling data from the game pad. Unlike the nn::hid::CTR::PadReader::Read function, this function can load the same sampling data more than once. |
|
SetStickClamp
|
Sets the clamp values for the Circle Pad. | |
GetStickClamp
|
Gets the clamp values of the current clamp mode for the Circle Pad. | |
GetStickClampMode
|
Gets the clamp mode of the Circle Pad. | |
SetStickClampMode
|
Sets the clamp mode for the Circle Pad. | |
NormalizeStick
|
Normalizes the Slide Pad values obtained by the Read and ReadLatest functions to floating-point values in the range [-1.0, 1.0]. |
|
NormalizeStickWithScale
|
Normalizes the Slide Pad values obtained by the Read and ReadLatest functions to floating-point values in the range [-1.0, 1.0]. Includes a sensitivity correction feature. |
|
SetNormalizeStickScaleSettings
|
Configures the NormalizeStickWithScale settings. |
|
GetNormalizeStickScaleSettings
|
Gets the NormalizeStickWithScale settings. |
ADLFireWall::NonCopyable
nn::hid::CTR::PadReader
NormalizeStickWithScale, SetNormalizeStickScaleSettings, GetNormalizeStickScaleSettings.
CONFIDENTIAL