[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: translating mouse clicks
From: |
Stefan Monnier |
Subject: |
Re: translating mouse clicks |
Date: |
Wed, 13 Jul 2005 22:52:39 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> I have a trackball with four buttons which emacs sees as buttons
> mouse-1, mouse-3, mouse-4, and mouse-5. I would like emacs to
> treat mouse-4 clicks as though they were mouse-2 clicks.
> (global-set-key [mouse-4] [mouse-2])
> (define-key key-translation-map [mouse-4] [mouse-2])
> (keyboard-translate 'mouse-4 'mouse-2)
> but none of these work for me.
I think it's reasonable to expect the second to work (and it's reasonable for
Emacs to mishandle the first and last). Please file a bug report with
M-x report-emacs-bug.
Stefan