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 analog stick.

Member Variables

hold Bits (BUTTON_*) are set corresponding to each button that is held down.
trigger Bits (BUTTON_*) are set corresponding to each button at the moment it is pressed.
release Bits (BUTTON_*) are set corresponding to each button at the moment it is released.
stick Input value for the analog stick. Refer to AnalogStickStatus.

Revision History

2010/01/07
Initial version.

CONFIDENTIAL