Zephyr API Documentation 4.0.0-rc2
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
 
uint32_t screen_height
 
bool inverted_x
 
bool inverted_y
 
bool swapped_x_y
 

Detailed Description

Common touchscreen config.

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

Parameters
screen_widthHorizontal resolution of touchscreen
screen_heightVertical resolution of touchscreen
inverted_xX axis is inverted
inverted_yY axis is inverted
swapped_x_yX and Y axes are swapped

see touchscreem-common.yaml for more details

Field Documentation

◆ inverted_x

bool input_touchscreen_common_config::inverted_x

◆ inverted_y

bool input_touchscreen_common_config::inverted_y

◆ screen_height

uint32_t input_touchscreen_common_config::screen_height

◆ screen_width

uint32_t input_touchscreen_common_config::screen_width

◆ swapped_x_y

bool input_touchscreen_common_config::swapped_x_y

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