summaryrefslogtreecommitdiff
path: root/hwdb/60-sensor.hwdb
diff options
context:
space:
mode:
authorHans de Goede <j.w.r.degoede@gmail.com>2017-10-25 09:47:27 +0200
committerLennart Poettering <lennart@poettering.net>2017-10-25 09:47:27 +0200
commitb141888b3059694f5e2fbfe597c1703c8caa0bd2 (patch)
tree22ce2d7aee7fbaa703637f88793bb65df1c00cf7 /hwdb/60-sensor.hwdb
parent4f13e534282414b5e58ef31a26cc5c3f06f8cb18 (diff)
downloadsystemd-b141888b3059694f5e2fbfe597c1703c8caa0bd2.tar.gz
hwdb: Document expected MOUNT_MATRIX on devices with non upright display (#7177)
On some devices the display (LCD panel) is mounted non upright in the device's casing, e.g. mounted upside-down or 90 degree rotated. Document the expected ACCEL_MOUNT_MATRIX settings for such devices.
Diffstat (limited to 'hwdb/60-sensor.hwdb')
-rw-r--r--hwdb/60-sensor.hwdb7
1 files changed, 7 insertions, 0 deletions
diff --git a/hwdb/60-sensor.hwdb b/hwdb/60-sensor.hwdb
index 9dca1dd8d8..35b942bde2 100644
--- a/hwdb/60-sensor.hwdb
+++ b/hwdb/60-sensor.hwdb
@@ -38,6 +38,13 @@
#
# [1]: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=dfc57732ad38f93ae6232a3b4e64fd077383a0f1
#
+# Note for devices where the display (LCD panel) is mounted non upright
+# in the device's casing, e.g. mounted upside-down or 90 degree rotated,
+# the ACCEL_MOUNT_MATRIX should be such that the x and y axis matches the
+# x and y axis of the display, not those of the casing, so that desktop
+# environments using the accelerometer data for rotation will e.g.
+# automatically flip their output for an upside-down display when the device
+# is held upright.
#
# Sort by brand, model