Table of Contents
화면 회전하기
CPi-A Series(Bustor O/S)
/boot/config.txt 파일에 display_rotate=1 (1=90도회전,2=180도회전,3=270도회전) 옵션을 추가하면 화면회전이 됩니다.
화면회전 후에는 반드시 Touch보정을 해주셔야 합니다.
CPi-S, CPi-C Series(Bullseye, Bookwarm O/S)
화면을 회전하려면 Raspberry Pi에 대한 지침을 따르십시오.
화면을 회전한 후 터치스크린을 다시 보정해야 하며, X Windows에서는 다음과 같은 변환 매트릭스를 추가할 수 있습니다.
# 90-degree clockwise rotation xinput set-prop "Microchip Technology Inc. AR1100 HID-MOUSE" "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1 # 90-degree counterclockwise rotation xinput set-prop "Microchip Technology Inc. AR1100 HID-MOUSE" "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1 # 180-degree rotation xinput set-prop "Microchip Technology Inc. AR1100 HID-MOUSE" "Coordinate Transformation Matrix" -1 0 1 0 -1 1 0 0 1
패널 PC가 X Windows로 부팅할 때마다 설정을 적용하려면, /etc/X11/xorg.conf.d/에 다음과 유사한 내용으로 /etc/X11/xorg.conf.d/01-touchscreen-rotation.conf와 같은 파일을 만듭니다.
Section "InputClass"
Identifier "AR1100 Transformation Matrix"
MatchProduct "Microchip Technology Inc. AR1100 HID-MOUSE"
Option "TransformationMatrix" "-1 0 1 0 -1 1 0 0 1"
EndSection
