libnds
|
Keypad and touch pad ARM7 helpers. More...
#include <nds/ndstypes.h>
Functions | |
void | inputGetAndSend (void) |
Send ARM7-side input information (X, Y, touch, lid) to ARM9 via FIFO. | |
void | inputSetLidSleepDuration (u16 frames) |
Set the amount of frames the lid has to be closed for to trigger sleep. | |
Keypad and touch pad ARM7 helpers.
void inputGetAndSend | ( | void | ) |
Send ARM7-side input information (X, Y, touch, lid) to ARM9 via FIFO.
This should ideally be called once per frame on the ARM7 CPU.
void inputSetLidSleepDuration | ( | u16 | frames | ) |
Set the amount of frames the lid has to be closed for to trigger sleep.
Setting this value to 0 will suppress system sleep on lid closing.
frames | The number of frames. |