mirror of
https://codeberg.org/privacy1st/rotate-screen
synced 2024-11-26 22:15:02 +01:00
14 lines
267 B
Markdown
14 lines
267 B
Markdown
# RotateScreen
|
|
|
|
## Further ideas
|
|
|
|
```python
|
|
def get_sensor_orientation():
|
|
"""
|
|
Get rotation from `monitor-sensor`.
|
|
Example:
|
|
- stdout: === Has accelerometer (orientation: left-up)
|
|
- stdout: Accelerometer orientation changed: left-up
|
|
"""
|
|
```
|