Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
|
Common touchscreen config. More...
#include <input_touch.h>
Data Fields | |
uint32_t | screen_width |
uint32_t | screen_height |
bool | inverted_x |
bool | inverted_y |
bool | swapped_x_y |
Common touchscreen config.
This structure must be placed first in the driver's config structure.
screen_width | Horizontal resolution of touchscreen |
screen_height | Vertical resolution of touchscreen |
inverted_x | X axis is inverted |
inverted_y | Y axis is inverted |
swapped_x_y | X and Y axes are swapped |
see touchscreem-common.yaml for more details
bool input_touchscreen_common_config::inverted_x |
bool input_touchscreen_common_config::inverted_y |
uint32_t input_touchscreen_common_config::screen_height |
uint32_t input_touchscreen_common_config::screen_width |
bool input_touchscreen_common_config::swapped_x_y |