public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jon.turney@dronecode.org.uk>
To: cygwin-xfree <cygwin-xfree@cygwin.com>
Cc: "PRIKHODKO, GEORGE" <gp1865@att.com>
Subject: Re: Updated: xorg-server-1.13.2-2
Date: Fri, 22 Feb 2013 21:55:00 -0000 [thread overview]
Message-ID: <5127E94D.4050107@dronecode.org.uk> (raw)
In-Reply-To: <397AD605DAD9254D9D2FFE207111E6442ADCDC30@MOKSCY3MSGUSR9D.ITServices.sbc.com>
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/
next parent reply other threads:[~2013-02-22 21:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 ` Jon TURNEY [this message]
2013-03-26 23:26 ` PRIKHODKO, GEORGE
2013-03-27 14:53 ` Jon TURNEY
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5127E94D.4050107@dronecode.org.uk \
--to=jon.turney@dronecode.org.uk \
--cc=cygwin-xfree@cygwin.com \
--cc=gp1865@att.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).