Horizontal scrolling through moused /dev/sysmouse, patch

Felix Palmen felix at palmen-it.de
Mon Dec 8 12:31:39 UTC 2014


Am 07.12.2014 17:41, schrieb Jean-Sébastien Pédron:
> On 21.11.2014 15:25, Felix Palmen wrote:
>> I had a hard time getting horizontal scrolling working with moused and
>> xf86-input-mouse 1.9.0, the patch from
>> https://wiki.freebsd.org/SynapticsTouchpad
>> seems outdated.
>
> I made that patch a long time ago. The picked values for the horizontal
> axis don't work well: you can't mix a movement on both axis in a single
> event. 3/-3 would be a better choice so you can have -3+1 for example
> and distinguish a movement on the vertical axis and another movement on
> the horizontal axis. -2+1 would be understood as -1.

I see. So a proper "fix" would be much bigger than patching 
xf86-input-mouse. Maybe I'll have a look at it when I find some time.

> xf86-video-mouse and moused(8) shoudl ask the kernel if an horizontal
> axis is supported. If the kernel doesn't know about this "horizontal
> thing" xf86-video-mouse is talking about, it means it's unsupported.
>
> I believe a more long term solution would be to test the evdev GSoC:
> https://wiki.freebsd.org/SummerOfCode2014/evdev_Touchscreens

This looks interesting indeed. Looks pretty completed, too, from the svn 
log.

BR, Felix

-- 
  Dipl.-Inform. Felix Palmen  <felix at palmen-it.de>   ,.//..........
  {web}  http://palmen-it.de  {jabber} [see email]   ,//palmen-it.de
  {pgp public key}     http://palmen-it.de/pub.txt   //   """""""""""
  {pgp fingerprint} ED9B 62D0 BE39 32F9 2488 5D0C 8177 9D80 5ECF F683


More information about the freebsd-x11 mailing list