Loading

linux config TrackPoint middle button

xinput list-props [id] | grep Scroll
xinput set-prop [trackpoint ID] [scroll ID] [value]

config /usr/share/X11/xorg.conf.d

add this and reboot

Section "InputClass"
Identifier "Trackpoint Wheel Emulation"
MatchProduct "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint pointing device|Composite TouchPad / TrackPoint"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "ScrollPixelDistance" "50"
EndSection

posted @ 2024-07-02 00:19  Chilo  阅读(33)  评论(0)    收藏  举报