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

Left 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 left 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 "left button pressed" when the on-screen left button is pressed.

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