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 Bits (DEBUG_PAD_*) indicating buttons that are held down.
trigger Bits (DEBUG_PAD_*) indicating buttons that were just pressed.
release Bits (DEBUG_PAD_*) indicating buttons that were just released.
leftStickX X-axis of the left stick (-1.0f to 1.0f)
leftStickY Y-axis of the left stick (-1.0f to 1.0f)
rightStickX X-axis of the right stick (-1.0f to 1.0f)
rightStickY Y-axis of the right stick (-1.0f to 1.0f)

Revision History

2010/06/14
Initial version.

CONFIDENTIAL