1# Copyright (c) 2024 Antmicro <www.antmicro.com> 2# SPDX-License-Identifier: Apache-2.0 3 4# Common fields for touch controllers 5 6include: base.yaml 7 8properties: 9 screen-width: 10 type: int 11 default: 0 12 description: | 13 Horizontal resolution of touchscreen (maximum x coordinate reported + 1). The default 14 corresponds to a valid value for non-inverted axis, required for a display with an inverted x 15 axis. 16 17 screen-height: 18 type: int 19 default: 0 20 description: | 21 Vertical resolution of touchscreen (maximum y coordinate reported + 1). The default 22 corresponds to a valid value for non-inverted axis, required for a display with an inverted y 23 axis. 24 25 inverted-x: 26 type: boolean 27 description: X axis is inverted. 28 29 inverted-y: 30 type: boolean 31 description: Y axis is inverted. 32 33 swapped-x-y: 34 type: boolean 35 description: X and Y axis are swapped. Swapping is done after inverting the axis. 36