touch: Add Tuning Calibration

This, for now, can be done at Nyx boot by holding VOL- and VOL+.

Make sure that you don't touch the touchscreen.
This commit is contained in:
CTCaer
2020-03-21 22:03:51 +02:00
parent a8db070755
commit 91a241dafa
2 changed files with 107 additions and 33 deletions

View File

@@ -119,11 +119,12 @@ typedef struct _touch_fw_info_t {
u16 fw_rev;
} touch_fw_info_t;
int touch_power_on();
void touch_power_off();
void touch_poll(touch_event *event);
touch_event touch_poll_wait();
int touch_get_fw_info(touch_fw_info_t *fw);
touch_info touch_get_info();
int touch_execute_autotune();
int touch_power_on();
void touch_power_off();
#endif /* __TOUCH_H_ */