Core2 for AWS IoT EduKit BSP 1.5.1
button_middle
Button_t * button_middle
Middle virtual touch button.
Definition: core2forAWS.c:86
The member defintions of the virtual button data.
Definition: button.h:28

Middle virtual touch button.

This is a virtual touch button which contains the definitions of a mapped region of the screen that corresponds to the button location and touch events from the FT6336U capacitive touch controller. When the screen is touched in the region that represents the middle button, it will update the state of the button. You can use the APIs in the button library with this button as the input parameter to query the button's state.

Example:

Print "middle button pressed" when the on-screen middle button is pressed.

printf("middle button pressed");
}
uint8_t Button_WasPressed(Button_t *button)
See if the specified button was pressed.
Definition: button.c:43