mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
#971 fix touch rotate
This commit is contained in:
parent
5a3acf318b
commit
f33af14951
1 changed files with 2 additions and 2 deletions
|
@ -104,8 +104,6 @@ EOF
|
|||
|
||||
# rotate touchscreen based on if LCD is rotated
|
||||
if [ "${lcdrotate}" = "1" ]; then
|
||||
echo "LCD is rotated into default - no touchscreen rotate"
|
||||
else
|
||||
echo "Activate Touchscreen Rotate"
|
||||
cat << EOF | sudo tee /etc/X11/xorg.conf.d/40-libinput.conf >/dev/null
|
||||
Section "InputClass"
|
||||
|
@ -116,6 +114,8 @@ Section "InputClass"
|
|||
Driver "libinput"
|
||||
EndSection
|
||||
EOF
|
||||
else
|
||||
echo "LCD is rotated into default - no touchscreen rotate"
|
||||
fi
|
||||
|
||||
# mark touchscreen as switched ON in config
|
||||
|
|
Loading…
Add table
Reference in a new issue