Automatically rotate image based on accelerometer values

Device orientation is provided by net.hadess.SensorProxy
iio-proxy-service. If there is no accelerometer on target platform,
then window orientation from X11/wayland is used as before.
This commit is contained in:
Andrey Skvortsov
2025-05-04 00:33:51 +03:00
parent b4b0a61230
commit 4db24ddc5e
8 changed files with 233 additions and 3 deletions

View File

@@ -27,6 +27,9 @@ finish-args:
# camera shutter feedback
- --talk-name=org.sigxcpu.Feedback
# accelerometer sensor for orientation
- --system-talk-name=net.hadess.SensorProxy
modules:
- name: megapixels
buildsystem: meson