|
libnds
|
DSi "codec" Touchscreen/Sound Controller control for ARM7. More...
#include <nds/arm7/serial.h>#include <nds/arm7/touch.h>#include <nds/memory.h>#include <nds/system.h>#include <nds/touch.h>Enumerations | |
| enum | cdcBanks { CDC_CONTROL = 0x00 , CDC_SOUND = 0x01 , CDC_TOUCHCNT = 0x03 , CDC_TOUCHDATA = 0xFC } |
| Devices that can be controled with the CDC. More... | |
Functions | |
| static bool | cdcIsAvailable (void) |
| Determine if the CDC is available or not. | |
| bool | cdcTouchPenDown (void) |
| Check if the DSi CODEC is registering pen input. | |
| bool | cdcTouchReadData (touchRawArray *data) |
| Read raw touch data from the DSi CODEC. | |
DSi "codec" Touchscreen/Sound Controller control for ARM7.
| enum cdcBanks |
|
inlinestatic |
Determine if the CDC is available or not.
| bool cdcTouchPenDown | ( | void | ) |
Check if the DSi CODEC is registering pen input.
| bool cdcTouchReadData | ( | touchRawArray * | data | ) |
Read raw touch data from the DSi CODEC.
| data | Struct to hold the read data. |