박민혀기
라즈베리파이 Rotate HDMI(Monitor), Rotate Touchscreen 본문
Rotate HDMI(Monitor)
apt-get update
apt-get upgrade
Monitor 화면이 원하는 방향으로 회전된 걸 확인할 수 있다!
Rotate Touchscreen
sudo nano /usr/share/X11/xorg.conf.d/40-libinput.conf
Section "InputClass"
Identifier "libinput touchscreen catchall"
MatchIsTouchscreen "on"
Option "TransformationMatrix" "0 1 0 -1 0 1 0 0 1"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
90° = 옵션 "TransformationMatrix" "0 1 0 -1 0 1 0 0 1"
180° = 옵션 "TransformationMatrix" "-1 0 1 0 -1 1 0 0 1"
270° = 옵션 "TransformationMatrix" "0 -1 1 1 0 0 0 0 1"
Reboot 후 Rotate Touchscreen된 걸 확인할 수 있다.
'Raspiberry Pi' 카테고리의 다른 글
라즈베리파이(라즈비안) Statesbar 제거 (0) | 2023.05.16 |
---|---|
Raspberry Pi 한글 입력, 폰트 설치 (0) | 2023.04.04 |
라즈베리파이 WiringPi Install (0) | 2022.12.27 |
리눅스 부팅 후 자동 실행 AUTOSTART(2022년 10월 24일) (0) | 2022.10.24 |
RaspiberryPi 확장 보드 CELLON Circuit(보관 주의!) (0) | 2022.10.10 |