From: Hans de Goede Date: Wed, 25 Oct 2017 07:47:27 +0000 (+0200) Subject: hwdb: Document expected MOUNT_MATRIX on devices with non upright display (#7177) X-Git-Tag: v236~295 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b141888b3059694f5e2fbfe597c1703c8caa0bd2;p=thirdparty%2Fsystemd.git 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. --- diff --git a/hwdb/60-sensor.hwdb b/hwdb/60-sensor.hwdb index 9dca1dd8d8f..35b942bde2a 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