public inbox for cygwin-xfree@sourceware.org help / color / mirror / Atom feed
* Re: Updated: xorg-server-1.13.2-2 [not found] ` <397AD605DAD9254D9D2FFE207111E6442ADCDC30@MOKSCY3MSGUSR9D.ITServices.sbc.com> @ 2013-02-22 21:55 ` Jon TURNEY 2013-03-26 23:26 ` PRIKHODKO, GEORGE 0 siblings, 1 reply; 3+ messages in thread From: Jon TURNEY @ 2013-02-22 21:55 UTC (permalink / raw) To: cygwin-xfree; +Cc: PRIKHODKO, GEORGE 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 <your usual XWin options, -multiwindow for example>' * 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/ ^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Updated: xorg-server-1.13.2-2 2013-02-22 21:55 ` Updated: xorg-server-1.13.2-2 Jon TURNEY @ 2013-03-26 23:26 ` PRIKHODKO, GEORGE 2013-03-27 14:53 ` Jon TURNEY 0 siblings, 1 reply; 3+ messages in thread From: PRIKHODKO, GEORGE @ 2013-03-26 23:26 UTC (permalink / raw) To: cygwin-xfree; +Cc: Jon TURNEY Hi, The problem was in Logitech driver for 'Marble Mouse' trackball. When I uninstalled it the forth button showed up in xev with id 7. Sorry, I haven't tried the snapshot with debugging. Thanks, George Prikhodko > -----Original Message----- > Subject: Re: Updated: xorg-server-1.13.2-2 > > 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 <your usual > XWin > options, -multiwindow for example>' > * 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/ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Updated: xorg-server-1.13.2-2 2013-03-26 23:26 ` PRIKHODKO, GEORGE @ 2013-03-27 14:53 ` Jon TURNEY 0 siblings, 0 replies; 3+ messages in thread From: Jon TURNEY @ 2013-03-27 14:53 UTC (permalink / raw) To: cygwin-xfree; +Cc: PRIKHODKO, GEORGE On 26/03/2013 23:25, PRIKHODKO, GEORGE wrote: > The problem was in Logitech driver for 'Marble Mouse' trackball. > When I uninstalled it the forth button showed up in xev with id 7. > Sorry, I haven't tried the snapshot with debugging. No problem. Thank you for letting me know the cause of the problem. -- 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/ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-03-27 14:53 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <51192509.6000807@dronecode.org.uk> [not found] ` <397AD605DAD9254D9D2FFE207111E6442ADCBABA@MOKSCY3MSGUSR9D.ITServices.sbc.com> [not found] ` <511B8F45.7000700@dronecode.org.uk> [not found] ` <397AD605DAD9254D9D2FFE207111E6442ADCDC30@MOKSCY3MSGUSR9D.ITServices.sbc.com> 2013-02-22 21:55 ` Updated: xorg-server-1.13.2-2 Jon TURNEY 2013-03-26 23:26 ` PRIKHODKO, GEORGE 2013-03-27 14:53 ` Jon TURNEY
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).