From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23404 invoked by alias); 22 Feb 2013 21:55:41 -0000 Received: (qmail 23394 invoked by uid 22791); 22 Feb 2013 21:55:40 -0000 X-SWARE-Spam-Status: No, hits=-3.4 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from nm7-vm1.bt.bullet.mail.ir2.yahoo.com (HELO nm7-vm1.bt.bullet.mail.ir2.yahoo.com) (212.82.99.142) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 22 Feb 2013 21:55:28 +0000 Received: from [212.82.98.41] by nm7.bt.bullet.mail.ir2.yahoo.com with NNFMP; 22 Feb 2013 21:55:26 -0000 Received: from [217.146.189.78] by tm2.bt.bullet.mail.ir2.yahoo.com with NNFMP; 22 Feb 2013 21:55:26 -0000 Received: from [127.0.0.1] by smtp828.mail.ird.yahoo.com with NNFMP; 22 Feb 2013 21:55:26 -0000 X-Yahoo-SMTP: u.JgLvyswBBMp9ZJJfsX14qmYb3T2ivhMAr6OupnxLpNQEFZ9g-- Received: from [192.168.1.73] (jon.turney@86.166.57.162 with plain) by smtp828.mail.ird.yahoo.com with SMTP; 22 Feb 2013 13:55:26 -0800 PST Message-ID: <5127E94D.4050107@dronecode.org.uk> Date: Fri, 22 Feb 2013 21:55:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: cygwin-xfree CC: "PRIKHODKO, GEORGE" Subject: Re: Updated: xorg-server-1.13.2-2 References: <51192509.6000807@dronecode.org.uk> <397AD605DAD9254D9D2FFE207111E6442ADCBABA@MOKSCY3MSGUSR9D.ITServices.sbc.com> <511B8F45.7000700@dronecode.org.uk> <397AD605DAD9254D9D2FFE207111E6442ADCDC30@MOKSCY3MSGUSR9D.ITServices.sbc.com> In-Reply-To: <397AD605DAD9254D9D2FFE207111E6442ADCDC30@MOKSCY3MSGUSR9D.ITServices.sbc.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2013-02/txt/msg00051.txt.bz2 On 13/02/2013 17:46, PRIKHODKO, GEORGE wrote: > Only very small problem, my trackball has 4 buttons. > I ran xev to see events generated by the mouse. > Three of the buttons are mapped by default as follows: 1, 3 and 6. > For the fourth button xev didn't show any events. I tried it with and without -emulate3buttons option. > How did I find out this? Until you corrected the code I used xmodmap to remap button 6 to button 2. Button 6 is not very conveniently located on the trackball, so I wanted to remap the other button, but couldn't find it id. > If this is something you can fix too, I'll greatly appreciate it. The default button mapping is: 1 left 2 middle 3 right 4 wheel up 5 wheel down 6 extra button 1 7 extra button 2 So, I would naively expect the 4th button on your device to be extra button 2, and reported by X as button 7. I borrowed a 5 button mouse for some brief testing, and as far as I can tell the button mapping for extra buttons 1 and 2 is working correctly. If you'd like to try to investigate this a bit further, it would be helpful if you could: * Download the latest snapshot built with debugging enabled from [1], and install it using the instructions 'Preparation (alternative approach)' at [2] * Run it using 'WIN_DEBUG_MESSAGES=1 ./XWin -logverbose 3 ' * Look at the debug output from XWin and see what Windows messages (if any) are reported when the 4th button is clicked (As a separate issue, it also looks like this mapping may not be ideal, as the default on linux is for 6 and 7 to be used for tilt wheel left and tilt wheel right, and extra buttons as 8 and 9, and there are applications out there which can use that...) [1] ftp://cygwin.com/pub/cygwinx/ [2] http://x.cygwin.com/devel/backtrace.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/