d16a33bb94
On devices with a native portrait screen a landscape touchscreen / digitizer may be used, this happens e.g. on ebook readers. In this case the X and Y axis of the touchscreen are swapped compared to the screen. Add a touchscreen-swapped-x-y property which drivers can use to see if they need to swap the axis to make the touchscreen coordinates match the screen coordinates. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
30 lines
1.3 KiB
Plaintext
30 lines
1.3 KiB
Plaintext
General Touchscreen Properties:
|
|
|
|
Optional properties for Touchscreens:
|
|
- touchscreen-size-x : horizontal resolution of touchscreen
|
|
(in pixels)
|
|
- touchscreen-size-y : vertical resolution of touchscreen
|
|
(in pixels)
|
|
- 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-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
|
|
|
|
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
|