Skip to content

Commit 3371c6d

Browse files
committed
[xinitrc] Improve comment for rotation
1 parent 0d9982f commit 3371c6d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

home/xinitrc.default

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ if [ $DSI_SCN_TYPE = 'none' ]; then
2828
SCREEN_RES=$(echo $SCREEN_RES | awk -F"," '{print $2","$1}')
2929
DISPLAY=:0 xrandr --output HDMI-1 --rotate left
3030
fi
31+
# Rotation for Touch2
32+
# Note that touch1 rotation is configured in config.txt and cmdline.txt
3133
elif [ $DSI_SCN_TYPE = '2' ]; then
3234
if [ $DSI_SCN_ROTATE = "0" ]; then
3335
DISPLAY=:0 xrandr --output DSI-$DSI_PORT --rotate normal

0 commit comments

Comments
 (0)