Pimoroniの「Touchscreen Display Frame」を「Raspberry Pi 7” Touchscreen Display」に入れたとき、上下が逆向き表示になってしまう…の対処をしたら、タッチパネルの反応がおかしくなった…というときの設定
# この変更の前に、/boot/config.txtの末尾にlcd_rotate=2を追加しておく | |
# /usr/share/X11/xorg.conf.d/10-evdev.confの | |
# 既存の内容からIdentifierにtouchscreenと指定してあるところを探して | |
# そのSectionを以下のようになるように変更 | |
.... | |
Section "InputClass" | |
Identifier "evdev touchscreen catchall" | |
MatchIsTouchscreen "on" | |
MatchDevicePath "dev/input/event*" | |
Driver "evdev" | |
Option "InvertX" "false" #追記 | |
Option "InvertY" "false" #追記 | |
EndSection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
/boot/config.txtに「display_rotate=2」を入れた場合には、
Option "InvertX" "true"
Option "InvertY" "true"
です。