[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: translating mouse clicks
From: |
r3jsel |
Subject: |
Re: translating mouse clicks |
Date: |
15 Jul 2005 09:39:44 -0700 |
User-agent: |
G2/0.2 |
Thanks to everyone for their help. On Stefan's suggestion I've
submitted a bug report on this. In the mean time, I'm using
variations on rgb's
(global-set-key [mouse-4] (lookup-key global-map [mouse-2]))
as workarounds.
r3jsel@yahoo.com wrote:
> 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.
>
> Googling finds suggestions to try
>
> (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.