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