Core2 for AWS IoT EduKit BSP 1.5.1
typedef struct _Button_t {
uint16_t x;
uint16_t y;
uint16_t w;
uint16_t h;
uint8_t value;
uint8_t last_value;
uint32_t last_press_time;
uint32_t long_press_time;
uint8_t state;
struct _Button_t* next;
The member defintions of the virtual button data.
Definition: button.h:28

The member defintions of the virtual button data.

This structure can be used to define virtual buttons bounded by rectangular areas of the touch screen.