Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Dec 2017 16:58:44 +0000
From:      Doug Kirk <dbkirk@gmail.com>
To:        Johannes Lundberg <johalun0@gmail.com>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: Help, mouse and touchpad scrolls in opposite directions
Message-ID:  <CAGhTqAW7V%2B4U%2BoRcKanUesD-8_ayzA5uhe5KE3Zb2XtcY3fNsg@mail.gmail.com>
In-Reply-To: <CAECmPwu8-jNJYDkJbS_ut-j7z0KzJMKXc3b=DRiU02o5=v7K5w@mail.gmail.com>
References:  <CAECmPwu8-jNJYDkJbS_ut-j7z0KzJMKXc3b=DRiU02o5=v7K5w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
If you use libinput you can individually change settings for each device.

`xinput list` provides the list of devices with IDs. For my touchpad, I
enable "natural scrolling' with the following:

  xinput set-prop 12 284 1

where 12 is the device ID, 284 is the property (found with `xinput
list-props 12`), and 1 is the value (Boolean).

Cheers!

On Thu, Dec 28, 2017 at 3:20 AM Johannes Lundberg <johalun0@gmail.com>
wrote:

> 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?
> _______________________________________________
> freebsd-x11@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGhTqAW7V%2B4U%2BoRcKanUesD-8_ayzA5uhe5KE3Zb2XtcY3fNsg>