![]() |
Core2 for AWS IoT EduKit BSP 1.5.1
|
The member defintions of the virtual button data. More...
#include <button.h>
Data Fields | |
| uint16_t | x |
| Virtual button touch starting point in the X-coordinate plane. More... | |
| uint16_t | y |
| Virtual button touch starting point in the Y-coordinate plane. More... | |
| uint16_t | w |
| Virtual button touched width from the starting point in the X-coordinate plane. More... | |
| uint16_t | h |
| Virtual button touched height from the starting point in the y-coordinate plane. More... | |
| uint8_t | value |
| Current virtual button touched state. More... | |
| uint8_t | last_value |
| Previous virtual button touched state. More... | |
| uint32_t | last_press_time |
| FreeRTOS ticks when virtual button was last touched. More... | |
| uint32_t | long_press_time |
| Number of FreeRTOS ticks to elapse to consider holding the touch button a long press. More... | |
| uint8_t | state |
| The button press event. More... | |
| struct _Button_t * | next |
| Pointer to the next virtual button. More... | |
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.
| uint16_t Button_t::x |
Virtual button touch starting point in the X-coordinate plane.
| uint16_t Button_t::y |
Virtual button touch starting point in the Y-coordinate plane.
| uint16_t Button_t::w |
Virtual button touched width from the starting point in the X-coordinate plane.
| uint16_t Button_t::h |
Virtual button touched height from the starting point in the y-coordinate plane.
| uint8_t Button_t::value |
Current virtual button touched state.
| uint8_t Button_t::last_value |
Previous virtual button touched state.
| uint32_t Button_t::last_press_time |
FreeRTOS ticks when virtual button was last touched.
| uint32_t Button_t::long_press_time |
Number of FreeRTOS ticks to elapse to consider holding the touch button a long press.
| uint8_t Button_t::state |
The button press event.
| struct _Button_t* Button_t::next |
Pointer to the next virtual button.