summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt
blob: 8aff9551259fb8fb3449d5113d458b4e8f58cde9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
General Touchscreen Properties:

Optional properties for Touchscreens:
 - touchscreen-min-x		: minimum x coordinate reported (0 if not set)
 - touchscreen-min-y		: minimum y coordinate reported (0 if not set)
 - touchscreen-size-x		: horizontal resolution of touchscreen
				  (maximum x coordinate reported + 1)
 - touchscreen-size-y		: vertical resolution of touchscreen
				  (maximum y coordinate reported + 1)
 - touchscreen-max-pressure	: maximum reported pressure (arbitrary range
				  dependent on the controller)
 - touchscreen-fuzz-x		: horizontal noise value of the absolute input
				  device (in pixels)
 - touchscreen-fuzz-y		: vertical noise value of the absolute input
				  device (in pixels)
 - touchscreen-fuzz-pressure	: pressure noise value of the absolute input
				  device (arbitrary range dependent on the
				  controller)
 - touchscreen-average-samples : Number of data samples which are averaged
				  for each read (valid values dependent on the
				  controller)
 - touchscreen-inverted-x	: X axis is inverted (boolean)
 - touchscreen-inverted-y	: Y axis is inverted (boolean)
 - touchscreen-swapped-x-y	: X and Y axis are swapped (boolean)
				  Swapping is done after inverting the axis
 - touchscreen-x-mm		: horizontal length in mm of the touchscreen
 - touchscreen-y-mm		: vertical length in mm of the touchscreen

Deprecated properties for Touchscreens:
 - x-size			: deprecated name for touchscreen-size-x
 - y-size			: deprecated name for touchscreen-size-y
 - moving-threshold		: deprecated name for a combination of
				  touchscreen-fuzz-x and touchscreen-fuzz-y
 - contact-threshold		: deprecated name for touchscreen-fuzz-pressure
 - x-invert			: deprecated name for touchscreen-inverted-x
 - y-invert			: deprecated name for touchscreen-inverted-y