From owner-freebsd-x11@FreeBSD.ORG Mon Dec 8 12:31:39 2014 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C440ED4E for ; Mon, 8 Dec 2014 12:31:39 +0000 (UTC) Received: from mail.palmen-it.de (stef.palmen-it.de [IPv6:2a01:198:49d:1::1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 86676C0D for ; Mon, 8 Dec 2014 12:31:39 +0000 (UTC) Received: from dslb-084-056-246-061.084.056.pools.vodafone-ip.de ([84.56.246.61] helo=[192.168.98.102]) by mail.palmen-it.de with esmtpsa (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XxxTT-0007P5-8l for freebsd-x11@freebsd.org; Mon, 08 Dec 2014 12:31:35 +0000 Message-ID: <54859A1E.7020309@palmen-it.de> Date: Mon, 08 Dec 2014 13:31:26 +0100 From: Felix Palmen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: freebsd-x11@freebsd.org Subject: Re: Horizontal scrolling through moused /dev/sysmouse, patch References: <546F4B6B.9040604@palmen-it.de> <5484831E.4070001@dumbbell.fr> In-Reply-To: <5484831E.4070001@dumbbell.fr> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 84.56.246.61 X-SA-Exim-Rcpt-To: freebsd-x11@freebsd.org X-SA-Exim-Mail-From: felix@palmen-it.de X-SA-Exim-Scanned: No (on mail.palmen-it.de); SAEximRunCond expanded to false X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 12:31:39 -0000 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 ,.//.......... {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