nn::hid::CTR::ExtraPadStatus Structurestruct ExtraPadStatus
{
AnalogStickStatus stick;
AnalogStickStatus extraStick;
bit32 hold;
bit32 trigger;
bit32 release;
u8 batteryLevel;
bool isConnected;
};
Represents status and information about input from the CTR system and Circle Pad Pro.
stick
|
AnalogStickStatus |
Input values from the Circle Pad on the CTR system. See AnalogStickStatus. |
|
|---|---|---|---|
extraStick
|
AnalogStickStatus |
Input values from the Right Circle Pad on the Circle Pad Pro. See AnalogStickStatus. |
|
hold
|
bit32 |
Bit array corresponding to buttons. When a button is pressed, its corresponding bit (BUTTON_*) is set. |
|
trigger
|
bit32 |
Bit array corresponding to buttons. At the moment a button is pressed, its corresponding bit (BUTTON_*) is set and then cleared. |
|
release
|
bit32 |
Bit array corresponding to buttons. At the moment a button is released, its corresponding bit (BUTTON_*) is set and then cleared. |
|
batteryLevel
|
u8 | Indicates the remaining battery life of the Circle Pad Pro. The value is 1 when there is sufficient remaining battery life. When the battery is almost depleted, the value becomes 0. |
|
isConnected
|
bool | Indicates the connection state of the Circle Pad Pro. Returns a value of true while a connection is established; otherwise returns false. |
CONFIDENTIAL