Вот список устройств ввода.
⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ DualPoint Stick id=12 [slave pointer (2)] ⎜ ↳ AlpsPS/2 ALPS DualPoint TouchPad id=13 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Power Button id=6 [slave keyboard (3)] ↳ Video Bus id=7 [slave keyboard (3)] ↳ Power Button id=8 [slave keyboard (3)] ↳ Sleep Button id=9 [slave keyboard (3)] ↳ Laptop_Integrated_Webcam_2M id=10 [slave keyboard (3)] ↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)]Соответственно, DualPoint Stick - трекпоинт. Ему нужно включить эмуляцию прокрутки.
Вот насройки xorg.
/etc/X11/xorg.conf.d/20-synaptics.conf
Section "InputClass" Identifier "synaptics-all" Driver "synaptics" MatchProduct "AlpsPS/2 ALPS DualPoint TouchPad" MatchIsTouchpad "on" Option "TapButton1" "1" Option "TapButton2" "2" Option "TapButton3" "3" Option "VertEdgeScroll" "on" Option "HorizEdgeScroll" "on" EndSection Section "InputClass" Identifier "Trackpoint Wheel Emulation" MatchProduct "DualPoint Stick" MatchDevicePath "/dev/input/event*" Option "EmulateWheel" "true" Option "EmulateWheelButton" "2" Option "Emulate3Buttons" "false" Option "XAxisMapping" "6 7" Option "YAxisMapping" "4 5" EndSection
Теперь при средней кнопке + трэкпоинт происходит прокрутка.
При подготовке использовались материалы с арчевики
Комментариев нет:
Отправить комментарий