Core2 for AWS IoT EduKit BSP 1.5.1
Button_Attach
Button_t* Button_Attach(uint16_t x, uint16_t y, uint16_t w, uint16_t h);
Button_t * Button_Attach(uint16_t x, uint16_t y, uint16_t w, uint16_t h)
Create a virtual button based on locations and size of the button area. The Core2 for AWS IoT EduKit ...
Definition: button.c:18
The member defintions of the virtual button data.
Definition: button.h:28

Create a virtual button based on locations and size of the button area. The Core2 for AWS IoT EduKit has 3 buttons on the face of the device that these virtual buttons are mapped to.

Parameters
[in]xVirtual button touch starting point in the X-coordinate plane.
[in]yVirtual button touch starting point in the Y-coordinate plane.
[in]wVirtual button touched width from the starting point in the X-coordinate plane.
[in]hVirtual button touched height from the starting point in the Y-coordinate plane.
Returns
An instance of the virtual button struct.