![見出し画像](https://assets.st-note.com/production/uploads/images/72747715/rectangle_large_type_2_adf2acac35cee6c01056d33a525f5637.jpeg?width=1200)
Raspberry Piのスクロールを逆向きにする方法
Raspberry PiのスクロールをMacのナチュラルスクロールのように逆向きにする方法。
/usr/share/X11/xorg.conf.d にある40-libinput.confというにファイルにOption "NaturalScrolling" "true" という行を追加するだけ。
(以下の例で#ADD THIS LINE とコメントのある行です)
# Match on all types of devices but tablet devices and joysticks
Section "InputClass"
Identifier "libinput pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "NaturalScrolling" "true" #ADD THIS LINE
EndSection
参考URL