nn::hid::CTR::PadStatus

nn::hid::CTR::PadStatus Structure

Syntax

struct PadStatus
{
bit32 hold;
bit32 trigger;
bit32 release;
AnalogStickStatus stick;
};

Description

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

Member Variables

hold bit32 Bits (BUTTON_*) are set corresponding to each button that is held down.
trigger bit32 Bits (BUTTON_*) are set corresponding to each button at the moment it is pressed.
release bit32 Bits (BUTTON_*) are set corresponding to each button at the moment it is released.
stick AnalogStickStatus Circle Pad input values. Refer to AnalogStickStatus.

Revision History

2010/01/07
Initial version.

CONFIDENTIAL