discoverpixy
|
Go to the source code of this file.
Macros | |
#define | NUM_AREAS 50 |
Functions | |
void | touch_set_calibration_values (int xs, int dx, int ys, int dy) |
bool | touch_init () |
void | touch_set_value_convert_mode (bool uc) |
bool | touch_add_raw_event (uint16_t touchX, uint16_t touchY, TOUCH_STATE state) |
bool | touch_have_empty (unsigned char num) |
bool | touch_register_area (TOUCH_AREA_STRUCT *area) |
void | touch_unregister_area (TOUCH_AREA_STRUCT *area) |
POINT_STRUCT | touch_get_last_point () |
Variables | |
TOUCH_AREA_STRUCT * | areas [NUM_AREAS] = {NULL} |
volatile POINT_STRUCT | pos |
volatile TOUCH_STATE | oldState = TOUCH_UP |
volatile bool | calibration = false |
bool | use_calibration = false |
int | cal_xs = 10 |
int | cal_dx = 100 |
int | cal_ys = 10 |
int | cal_dy = 100 |
TOUCH_AREA_STRUCT* areas[NUM_AREAS] = {NULL} |
volatile TOUCH_STATE oldState = TOUCH_UP |
volatile POINT_STRUCT pos |