If like @Jay Bee and I you don't like the sensitivity of the auto-rotate feature, you might like this solution. I made some desktop files that I put on my task bar (made a new Application Launch Bar for them) that rotate my screen. I'm running RasPiOS, but this will work under RaspadOS as well (with one extra step).
Since the auto-rotation feature runs on startup on RaspadOS, you'll want to disable it. Edit ~/.config/lxsession/LXDE-pi/autostart and put a '#' in front of the @auto-rotator line:
lxpanel --profile RasPad
@pcmanfm --desktop --profile RasPad
@xscreensaver -no-splash
@point-rpi
#@auto-rotator
Reboot for it to take effect, or just run this to kill the process:
kill $(pgrep --full auto-rotator)
Create four desktop files:
~/.local/share/applications/raspad-rotate-normal.desktop
[Desktop Entry]
Name=Raspad Rotate Normal
Comment=Rotate Raspad screen and touchpad to the normal position
Exec=sh -c "xrandr --output 'HDMI-1' --rotate normal && xinput --set-prop 'ILITEK ILITEK-TP' 'Coordinate Transformation Matrix' 1 0 0 0 1 0 0 0 1"
Type=Application
Icon=go-up
Terminal=false
StartupNotify=false
Categories=Accessibility;Screen;
~/.local/share/applications/raspad-rotate-inverted.desktop
[Desktop Entry]
Name=Raspad Rotate Inverted
Comment=Rotate Raspad screen and touchpad to the inverted position
Exec=sh -c "xrandr --output 'HDMI-1' --rotate inverted && xinput --set-prop 'ILITEK ILITEK-TP' 'Coordinate Transformation Matrix' -1 0 1 0 -1 1 0 0 1"
Type=Application
Icon=go-down
Terminal=false
StartupNotify=false
Categories=Accessibility;Screen;
~/.local/share/applications/raspad-rotate-left.desktop
[Desktop Entry]
Name=Raspad Rotate Left
Comment=Rotate Raspad screen and touchpad to the left position
Exec=sh -c "xrandr --output 'HDMI-1' --rotate left && xinput --set-prop 'ILITEK ILITEK-TP' 'Coordinate Transformation Matrix' 0 -1 1 1 0 0 0 0 1"
Type=Application
Icon=go-previous
Terminal=false
StartupNotify=false
Categories=Accessibility;Screen;
~/.local/share/applications/raspad-rotate-right.desktop
[Desktop Entry]
Name=Raspad Rotate Right
Comment=Rotate Raspad screen and touchpad to the right position
Exec=sh -c "xrandr --output 'HDMI-1' --rotate right && xinput --set-prop 'ILITEK ILITEK-TP' 'Coordinate Transformation Matrix' 0 1 0 -1 0 1 0 0 1"
Type=Application
Icon=go-next
Terminal=false
StartupNotify=false
Categories=Accessibility;Screen;
You should now see these "applications" in the Universal Access menu. Click on each one to see if it works.
You can now add them to an Applicaton Launch Bar for easy access.
One caveat. If you suspend the Raspad, the xinput resets, but the visible rotation does not, which is *interesting*. You'll want to switch back to "normal" rotation before suspending.
If you would prefer the ability to lock the auto-rotation of the screen, see my post about that.
[UPDATE: Tested on RaspadOS and added one additional step.]