Script to rotate screen and devices such as touchscreen and pen input
Go to file
2022-05-23 12:55:33 +02:00
.gitignore init 2022-05-20 17:49:55 +02:00
example.json json configuration 2022-05-23 12:40:17 +02:00
LICENSE init 2022-05-20 17:49:55 +02:00
Makefile add Makefile, PKGBUILD 2022-05-22 14:01:25 +02:00
PKGBUILD add Makefile, PKGBUILD 2022-05-22 14:01:25 +02:00
README.md init 2022-05-20 17:49:55 +02:00
rotate-screen.py add class Device 2022-05-23 12:55:33 +02:00

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
    """