map mouse button 4 or 5 to button 2?
Harold L Hunt II
Thu Feb 19 22:02:00 GMT 2004
I just bought the same keyboard and mouse setup and ran into the same
issue that you did. The key is to make the mouse wheel click map to
something that the mouse driver does not intercept and prevent from
being handled by the current application. The "Switch Application"
function is an intercepted function, whereas the old default
"AutoScroll" is not intercepted, so the mouse wheel click is passed
through to the current application. I am not sure there is much we can
do to force the mouse driver to pass us the mouse wheel click, so you
might just have to set it back to AutoScroll to get the desired
Jeffrey J. Gray wrote:
> 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?
> The reasons for this are (1) since button 2 is on the wheel, pressing
> this button sometimes also accidentally sends a scroll signal making for
> sloppy paste operations and (2) I just upgraded my mouse, and in the
> new standard configuration, Windows intercepts button 2 and makes it a
> 'switch applications' signal. I need button 2 for Cygwin paste
> operations, so I'm anxious to restore this functionality to my cygwin.
> 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.
> Thanks for the help,
More information about the Cygwin-xfree