libnds
Functions
paddle.h File Reference

paddle device slot-2 addon support. More...

Functions

bool paddleIsInserted ()
 Check for the paddle. More...
 
u16 paddleRead ()
 Obtain the current paddle state. More...
 
void paddleReset ()
 Resets the paddle device. May change the current value to 0xFFF, 0x000, or 0x001. May perform other unknown internal reset operations. Normally not needed.
 

Detailed Description

paddle device slot-2 addon support.

Function Documentation

bool paddleIsInserted ( )

Check for the paddle.

Returns
true if that's what is in the slot-2
void paddleRead ( )

Obtain the current paddle state.

Returns
a u16 containing a 12bit number (fixed point fraction), incrementing for clockwise rotations and decrementing for counterclockwise