Add mgos_stmpe610_is_touched() to let callers know if the user is pressing the screen at this moment

This commit is contained in:
Pim van Pelt
2017-11-28 15:57:59 +01:00
parent 1ef7195728
commit af23ddee37
2 changed files with 11 additions and 0 deletions

View File

@ -131,5 +131,6 @@ bool mgos_stmpe610_init(void);
typedef void (*mgos_stmpe610_event_t)(struct mgos_stmpe610_event_data *);
void mgos_stmpe610_set_handler(mgos_stmpe610_event_t handler);
void mgos_stmpe610_set_rotation(enum mgos_stmpe610_rotation_t rotation);
bool mgos_stmpe610_is_touching();
#endif // __STMPE610H_