Add mgos_stmpe610_is_touched() to let callers know if the user is pressing the screen at this moment
This commit is contained in:
@ -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_
|
||||
|
Reference in New Issue
Block a user