From owner-freebsd-questions@FreeBSD.ORG Tue Aug 7 07:38:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 02EC0106566B for ; Tue, 7 Aug 2012 07:38:44 +0000 (UTC) (envelope-from mapsware@prodigy.net.mx) Received: from nlpiport16.prodigy.net.mx (nlpiport16.prodigy.net.mx [148.235.52.21]) by mx1.freebsd.org (Postfix) with ESMTP id B8E858FC1C for ; Tue, 7 Aug 2012 07:38:43 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Am0FAJjDIFC9qmWx/2dsb2JhbABFt1GBdYMnAQEFgQkLGC5XiCYCCbtAFIp7g1GDHAOIGDWdB4J/ X-IronPort-AV: E=Sophos;i="4.77,725,1336366800"; d="scan'208";a="79639901" Received: from nlpiport20.prodigy.net.mx ([148.235.52.90]) by nlpiport16.prodigy.net.mx with ESMTP; 07 Aug 2012 02:33:34 -0500 Received: from dsl-189-170-101-177-dyn.prod-infinitum.com.mx (HELO morena) ([189.170.101.177]) by nlpiport20.prodigy.net.mx with ESMTP; 07 Aug 2012 02:33:34 -0500 From: Martin Alejandro Paredes Sanchez To: freebsd-questions@freebsd.org Date: Tue, 7 Aug 2012 00:33:33 -0700 User-Agent: KMail/1.9.10 References: <201208051946.30195.mapsware@prodigy.net.mx> In-Reply-To: <201208051946.30195.mapsware@prodigy.net.mx> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201208070033.33872.mapsware@prodigy.net.mx> Subject: Re: questions on the use of moused for Xorg X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2012 07:38:44 -0000 On Sunday 05 August 2012 19:46:30 Martin Alejandro Paredes Sanchez wrote: > > When I run this command > > /usr/sbin/moused -f -d -z 4 5 6 7 -p /dev/ums0 -t auto -I > /var/run/moused.ums0.pid > > moused reports movements in XY (dx dy) but not ZW (dz), for Z now reports > buttons 4 and 5 pressed, in Xorg the scroll (vertical) does not work (xev > reports events for button 8 and 9), and no horizontal (xev doesn't report > anything) > according to http://www.x.org/releases/X11R7.5/doc/man/man4/mousedrv.4.html Option "ButtonMapping" "N1 N2 [...]" Specifies how physical mouse buttons are mapped to logical buttons. Default: "1 2 3 8 9 10 ...". That is the reason that in Xorg the scroll (vertical) does not work, xev reports events for button 8 and 9 because moused reports button 4 and 5, but xorg remapped to 8 an 9