Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Dec 2017 09:19:23 +0000
From:      Johannes Lundberg <johalun0@gmail.com>
To:        freebsd-x11@freebsd.org
Subject:   Help, mouse and touchpad scrolls in opposite directions
Message-ID:  <CAECmPwu8-jNJYDkJbS_ut-j7z0KzJMKXc3b=DRiU02o5=v7K5w@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi X11 wizards

I have a Dell Latitude E7270 laptop where I sometimes use the built in
touchpad and sometimes an external mouse. but the touchpad and the mouse
scrolls in opposite directions for the same setting.
For mouse I have to run
xmodmap -e "pointer = 1 2 3 4 5"
and for touchpad
xmodmap -e "pointer = 1 2 3 5 4"

I'm not using any xorg.conf, everything is default, except the xmodmap
command in .xinitrc. The only related kernel modules loaded are ums and
uhid.

Can I configure the system somehow so that I don't manually have to change
the modmap every time I switch between mouse/touchpad?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAECmPwu8-jNJYDkJbS_ut-j7z0KzJMKXc3b=DRiU02o5=v7K5w>