all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: r3jsel@yahoo.com
Subject: Re: translating mouse clicks
Date: 15 Jul 2005 09:39:44 -0700	[thread overview]
Message-ID: <1121445584.896635.211920@z14g2000cwz.googlegroups.com> (raw)
In-Reply-To: 1121277087.874449.299500@o13g2000cwo.googlegroups.com

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.

      parent reply	other threads:[~2005-07-15 16:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-13 17:51 translating mouse clicks r3jsel
2005-07-13 19:42 ` Peter Dyballa
2005-07-14  0:46 ` rgb
2005-07-14  2:52 ` Stefan Monnier
2005-07-15 16:39 ` r3jsel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1121445584.896635.211920@z14g2000cwz.googlegroups.com \
    --to=r3jsel@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.