This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: map mouse button 4 or 5 to button 2?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]