nn::hid::CTR::DebugPadStatus

nn::hid::CTR::DebugPadStatus Structure

Syntax

struct DebugPadStatus
{
bit16 hold;
bit16 trigger;
bit16 release;
f32 leftStickX;
f32 leftStickY;
f32 rightStickX;
f32 rightStickY;
};

Description

Structure used to store sampling data from the buttons and Circle Pad on the debug pad.

Member Variables

hold bit16 Bits (DEBUG_PAD_*) indicating buttons that are held down.
trigger bit16 Bits (DEBUG_PAD_*) indicating buttons that were just pressed.
release bit16 Bits (DEBUG_PAD_*) indicating buttons that were just released.
leftStickX f32 X-axis of the left stick (-1.0f to 1.0f)
leftStickY f32 Y-axis of the left stick (-1.0f to 1.0f)
rightStickX f32 X-axis of the right stick (-1.0f to 1.0f)
rightStickY f32 Y-axis of the right stick (-1.0f to 1.0f)

Revision History

2010/06/14
Initial version.

CONFIDENTIAL