|
libnds
|
Slot-2 Paddle controller support. More...
Functions | |
| bool | paddleIsInserted (void) |
| Check for the paddle. | |
| u16 | paddleRead (void) |
| Obtain the current paddle state. | |
| void | paddleReset (void) |
| Resets the paddle device. | |
Slot-2 Paddle controller support.
| bool paddleIsInserted | ( | void | ) |
Check for the paddle.
| u16 paddleRead | ( | void | ) |
Obtain the current paddle state.
Returns a u16 containing a 12bit number (fixed point fraction), incrementing for clockwise rotations and decrementing for counterclockwise/
| void paddleReset | ( | void | ) |
Resets the paddle device.
May change the current value to 0xFFF, 0x000, or 0x001. May perform other unknown internal reset operations. Normally not needed.