Based on @merge 's accelerometer work (lore.kernel.org/linux-iio/cove) and yesterday's work to hook iio-sensor-proxy into , enabling rotation is just a couple of more lines of code.

The video shows the devkit but it is the same for the phone. Please excuse the low video quality.

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml