From: jonetsu <jonetsu@teksavvy.com>
To: help-gnu-emacs@gnu.org
Subject: Assigning extra mouse buttons (eg. MX Ergo trackball)
Date: Sun, 3 Nov 2019 08:29:54 -0500 [thread overview]
Message-ID: <20191103082954.622093e3@mistral> (raw)
Hello,
Got a 'new' Logitech MX Ergo trackball ... Is there a way to assign the
two extra buttons within emacs ? When pressed emacs shows 'mouse-8' and
'mouse-9'. Nothing much so far but I'd like to assign them to page up
and page down.
Another feature that could be useful is that the scroll wheel can also
be clicked sideways, one click when titled left, one click when tilted
right. In this case however emacs does not show anything at all in its
status bar.
xev will show these as buttons 6 and 7:
ButtonPress event, serial 37, synthetic NO, window 0x5000001,
root 0x115, subw 0x0, time 7662467, (89,97), root:(800,619),
state 0x0, button 6, same_screen YES
ButtonRelease event, serial 37, synthetic NO, window 0x5000001,
root 0x115, subw 0x0, time 7662467, (89,97), root:(800,619),
state 0x0, button 6, same_screen YES
ButtonPress event, serial 37, synthetic NO, window 0x5000001,
root 0x115, subw 0x0, time 7663797, (89,97), root:(800,619),
state 0x0, button 7, same_screen YES
ButtonRelease event, serial 37, synthetic NO, window 0x5000001,
root 0x115, subw 0x0, time 7663797, (89,97), root:(800,619),
state 0x0, button 7, same_screen YES
Is it possible to bring buttons 6 and 7 to emacs ?
next reply other threads:[~2019-11-03 13:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-03 13:29 jonetsu [this message]
2019-11-05 11:59 ` Assigning extra mouse buttons (eg. MX Ergo trackball) Michael Heerdegen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191103082954.622093e3@mistral \
--to=jonetsu@teksavvy.com \
--cc=help-gnu-emacs@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).