mirror of
https://codeberg.org/privacy1st/rotate-screen
synced 2024-11-22 21:39:33 +01:00
Script to rotate screen and devices such as touchscreen and pen input
.gitignore | ||
example.json | ||
LICENSE | ||
Makefile | ||
PKGBUILD | ||
README.md | ||
rotate-screen.py |
RotateScreen
Further ideas
def get_sensor_orientation():
"""
Get rotation from `monitor-sensor`.
Example:
- stdout: === Has accelerometer (orientation: left-up)
- stdout: Accelerometer orientation changed: left-up
"""