|
Zephyr Project API 4.4.99
A Scalable Open Source RTOS
|
Common touchscreen config. More...
#include <input_touch.h>
Data Fields | |
| uint32_t | screen_width |
| Horizontal resolution of the touch controller's own coordinate space. | |
| uint32_t | screen_height |
| Vertical resolution of the touch controller's own coordinate space. | |
| bool | inverted_x |
| X axis is inverted. | |
| bool | inverted_y |
| Y axis is inverted. | |
| bool | swapped_x_y |
| X and Y axes are swapped. | |
| uint32_t | output_width |
| Horizontal resolution of the panel to scale into, 0 to disable scaling. | |
| uint32_t | output_height |
| Vertical resolution of the panel to scale into, 0 to disable scaling. | |
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::output_height |
Vertical resolution of the panel to scale into, 0 to disable scaling.
| uint32_t input_touchscreen_common_config::output_width |
Horizontal resolution of the panel to scale into, 0 to disable scaling.
| uint32_t input_touchscreen_common_config::screen_height |
Vertical resolution of the touch controller's own coordinate space.
| uint32_t input_touchscreen_common_config::screen_width |
Horizontal resolution of the touch controller's own coordinate space.
| bool input_touchscreen_common_config::swapped_x_y |
X and Y axes are swapped.