Skip to content
This repository was archived by the owner on Jul 23, 2020. It is now read-only.

Commit 67e3d38

Browse files
committed
README: Add section about Accelerometer Orientation
And point to the quirks hwdb in systemd.
1 parent 3946ac8 commit 67e3d38

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,17 @@ and attach the output of:
6161
`G_MESSAGES_DEBUG=all /usr/sbin/iio-sensor-proxy`
6262
running as ```root```.
6363

64+
Accelerometer orientation
65+
-------------------------
66+
67+
When the accelerometer is not mounted the same way as the screen, we need
68+
to modify the readings from the accelerometer to make sure that the computed
69+
orientation matches the screen one.
70+
71+
`iio-sensor-proxy` reads this information from the device's
72+
`ACCEL_MOUNT_MATRIX` udev property. See [60-sensor.hwdb](https://github.com/systemd/systemd/blob/master/hwdb/60-sensor.hwdb)
73+
for details.
74+
6475
References
6576
----------
6677

0 commit comments

Comments
 (0)