This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: map mouse button 4 or 5 to button 2?
- From: Takuma Murakami <takuma at dgp dot ne dot jp>
- To: cygwin-xfree at cygwin dot com
- Date: Thu, 19 Feb 2004 17:46:00 +0900
- Subject: Re: map mouse button 4 or 5 to button 2?
- References: <4033DF4C.2060008@jhu.edu>
- Reply-to: cygwin-xfree at cygwin dot com
Jeffrey,
> Is it possible to have either button 4 or 5 (usually the forward/back
> buttons) send a 'button 2' signal (ie paste) to cygwin applications?
Chad shows the best way for your purpose. As a note, you
can swap mouse buttons via xmodmap command in UNIX like
environments. For this case
xmodmap -e "pointer = 1 5 3 4 2"
swaps button 2 and button 5.
> My new mouse/keyboard setup is MS Wireless Optical Desktop Elite (which
> includes a Wireless IntelliMouse Explorer 2.0), and I'm running .... hm,
> not sure how to check my Cygwin version, it's probably ~4 months old
> ... on WinXP.
The xmodmap way works well on Cygwin/X versions newer than
release-22 (released on 2003-11-9).
Takuma Murakami