Unfortunately on Debian Stretch you won't be able to set any Wheel Emulation
on because these options simply aren't available. You will need to download, patch, compile, and install the evdev package from the ArchLinux distro. I followed the instructions detailed in this answer. I've copy-pasted them below:
sudo apt-get install git
sudo apt-get build-dep xserver-xorg-input-evdev xserver-xorg-input-synaptics
mkdir tmp-trackpoint
cd tmp-trackpoint
git clone https://aur.archlinux.org/xf86-input-evdev-trackpoint.git
git clone git://git.debian.org/git/pkg-xorg/driver/xserver-xorg-input-evdev
git clone git://git.debian.org/git/pkg-xorg/driver/xserver-xorg-input-synaptics
mv xf86-input-evdev-trackpoint arch
mv xserver-xorg-input-evdev evdev
mv xserver-xorg-input-synaptics synaptics
cp synaptics/src/{eventcomm.c,eventcomm.h,properties.c,synaptics.c,synapticsstr.h,synproto.c,synproto.h} evdev/src
cp synaptics/include/synaptics-properties.h evdev/src
cp arch/*.patch evdev
cd evdev
patch -p1 -i 0001-implement-trackpoint-wheel-emulation.patch
patch -p1 -i 0004-disable-clickpad_guess_clickfingers.patch
patch -p1 -i 0006-add-synatics-files-into-Makefile.am.patch
dpkg-buildpackage -d
cd ..
sudo dpkg -i xserver-xorg-input-evdev_*.deb
sudo apt-get remove xserver-xorg-input-synaptics
sudo mkdir /etc/X11/xorg.conf.d/
sudo cp arch/90-evdev-trackpoint.conf /etc/X11/xorg.conf.d
These instructions didn't work out of the box on Debian Stretch, as I ran into some compilation errors because the xorg-server.h
header wasn't included in the eventcomm.h
and synproto.h
header files. After adding the #include
s, it worked.
I installed the package, then copied 90-evdev-trackpoint.conf
to /etc/X11/xorg.conf.d
. I changed the configuration to this:
Section "InputClass"
Identifier "Clickpad"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
# Synaptics options come here.
Option "TapButton1" "1"
Option "TapButton2" "3"
Option "TapButton3" "2"
Option "SoftButtonAreas" "67% 0 0 30% 33% 67% 0 30%"
Option "AreaTopEdge" "40%"
Option "AreaBottomEdge" "0"
EndSection
Section "InputClass"
Identifier "Trackpoint Wheel Emulation"
MatchProduct "TPPS/2 IBM TrackPoint"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "Emulate3Buttons" "false"
Option "EmulateWheelInertia" "40"
Option "XAxisMapping" "6 7"
Option "YAxisMapping" "4 5"
EndSection
Hope this might be of use to somebody else.