Zephyr Project API 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
input_touchscreen_common_config Struct Reference

Common touchscreen config. More...

#include <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.
 

Detailed Description

Common touchscreen config.

This structure must be placed first in the driver's config structure.

see touchscreem-common.yaml for more details

Field Documentation

◆ inverted_x

bool input_touchscreen_common_config::inverted_x

X axis is inverted.

◆ inverted_y

bool input_touchscreen_common_config::inverted_y

Y axis is inverted.

◆ screen_height

uint32_t input_touchscreen_common_config::screen_height

Vertical resolution of touchscreen.

◆ screen_width

uint32_t input_touchscreen_common_config::screen_width

Horizontal resolution of touchscreen.

◆ swapped_x_y

bool input_touchscreen_common_config::swapped_x_y

X and Y axes are swapped.


The documentation for this struct was generated from the following file: