CircleOS
1
|
Common touchscreen routines. More...
Go to the source code of this file.
Functions | |
u16 | TOUCHSCR_GetPos (void) |
s32 | TOUCHSCR_GetPosX (void) |
s32 | TOUCHSCR_GetPosY (void) |
u16 | TOUCHSCR_GetAbsPos (void) |
bool | TOUCHSCR_IsPressed (void) |
TOUCHSCR_Mode_enum | TOUCHSCR_GetMode (void) |
void | TOUCHSCR_SetSensibility (u16 sens) |
u16 TOUCHSCR_GetAbsPos | ( | void | ) |
Return the current absolute position of the point touched. This position is independant with the orientation of the screen.
Definition at line 300 of file touchscreen.c.
TOUCHSCR_Mode_enum TOUCHSCR_GetMode | ( | void | ) |
Return info if the touchscreen is in calibration or not.
Definition at line 338 of file touchscreen.c.
u16 TOUCHSCR_GetPos | ( | void | ) |
Return the current position of the point touched.
Definition at line 242 of file touchscreen.c.
s32 TOUCHSCR_GetPosX | ( | void | ) |
Return the current horizontal position of the point touched.
Definition at line 261 of file touchscreen.c.
s32 TOUCHSCR_GetPosY | ( | void | ) |
Return the current vertical position of the point touched.
Definition at line 280 of file touchscreen.c.
bool TOUCHSCR_IsPressed | ( | void | ) |
Return info if the screen has been touched or not.
Definition at line 319 of file touchscreen.c.
void TOUCHSCR_SetSensibility | ( | u16 | sens) |
Set the sensibility of the touch detection.
[in] | sens | 0 to 4095 (3000 by default). |
Definition at line 357 of file touchscreen.c.