nn::hid::CTR::ExtraPad Class

Syntax

class ExtraPad

Description

Class that controls the Nintendo 3DS Circle Pad Pro.

The Circle Pad Pro is an accessory for the CTR system that provides an additional input interface. It has a ZL Button, ZR Button, R Button, and the Right Circle Pad.

Enumerated Types

ConnectionState Enumerated type representing the connection states of the Circle Pad Pro.

Member Functions

Initialization and Shutdown
S Initialize Performs initialization for using the Circle Pad Pro.
S Finalize Finalizes the Circle Pad Pro.
Starting and Stopping Sampling
S StartSampling Starts sampling the Nintendo 3DS Circle Pad Pro. When this function succeeds, a thread for sampling is created internally using application resources.
S StopSampling Stops sampling the Nintendo 3DS Circle Pad Pro. When this function succeeds, it releases the thread that was created when the StartSampling function was run.
State Changes
S IsSampling Returns whether the Nintendo 3DS Circle Pad Pro is currently being sampled.
S GetConnectionState Returns the connection state of the Nintendo 3DS Circle Pad Pro.
S RegisterConnectionEvent Registers the nn::os::LightEvent for which notifications are sent when the Circle Pad Pro connection state changes.
S UnregisterConnectionEvent Unregisters the event that was registered by the RegisterConnectionEvent function.
S RegisterSamplingEvent Registers the nn::os::LightEvent for which notifications are sent when the Circle Pad Pro is sampled.
S UnregisterSamplingEvent Unregisters the event that was registered by the RegisterSamplingEvent function.

Revision History

2011/10/06
Initial version.

CONFIDENTIAL