nn::hid::CTR::DebugPadStatus Structurestruct DebugPadStatus
{
bit16 hold;
bit16 trigger;
bit16 release;
f32 leftStickX;
f32 leftStickY;
f32 rightStickX;
f32 rightStickY;
};
Structure used to store sampling data from the buttons and analog sticks on the debug pad.
| hold | Bits (DEBUG_PAD_*) are set corresponding to each button that is held down. |
|
|---|---|---|
| trigger | Bits (DEBUG_PAD_*) are set corresponding to each button at the moment it is pressed. |
|
release
|
Bits (DEBUG_PAD_*) are set corresponding to each button at the moment it is released. |
|
| leftStickX | X-axis of the left stick (-1.0f ~ 1.0f) | |
| leftStickY | Y-axis of the left stick (-1.0f ~ 1.0f) | |
| rightStickX | X-axis of the right stick (-1.0f ~ 1.0f) | |
| rightStickY | Y-axis of the right stick (b-1.0f ~ 1.0f) |
CONFIDENTIAL