|
libnds
|
DS Touchscreen/Sound Controller control for ARM7. More...
Functions | |
| void | tscMeasure (u32 command, u16 *buffer, u32 count) |
| Read multiple 12-bit measurements from the NDS-mode TSC. | |
| u16 | tscRead (u32 command) |
| Read a single 12-bit measurement from the NDS-mode TSC. | |
| s32 | tscReadTemperature (void) |
| Read temperature from the NDS-mode TSC. | |
| static bool | tscTouchPenDown (void) |
| Check if the NDS-mode TSC is registering pen input. | |
| bool | tscTouchReadData (touchRawArray *data) |
| Read raw touch data from the NDS-mode TSC. | |
DS Touchscreen/Sound Controller control for ARM7.
Read multiple 12-bit measurements from the NDS-mode TSC.
| command | Measurement command. |
| buffer | Output buffer. |
| count | Number of measurements to read. |
Read a single 12-bit measurement from the NDS-mode TSC.
| command | Measurement command. |
| s32 tscReadTemperature | ( | void | ) |
Read temperature from the NDS-mode TSC.
Note that it is not very accurate.
|
inlinestatic |
Check if the NDS-mode TSC is registering pen input.
| bool tscTouchReadData | ( | touchRawArray * | data | ) |
Read raw touch data from the NDS-mode TSC.
| data | Struct to hold the read data. |