You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.
The script basically reads from the accelerometer readings at /sys/bus/iio/devices/iio:device*/in_accel_{x,y}_raw and compares it to gravity and rotates accordingly such that "up is always up" on your screen.
These scripts are designed for the ThinkPad Yoga, not the IdeaPad. I don't necessarily expect them all to work on the IdeaPad's as from my experience they can be quite different.
Check if you have the accelerometer outputs above. You will need to find out which device number contains the appropriate files.
Lenovo Yoga 11s
Ubuntu 15.04
Not usable. I could not figure out why. I printed the states and x,y values without initializing a rotation but i do not really understand the script.
The text was updated successfully, but these errors were encountered: