Mapping keypress-sequences etc. to mouse buttons
Peter Hutterer
peter.hutterer at who-t.net
Sun Aug 23 15:19:44 PDT 2009
On Fri, Aug 21, 2009 at 10:34:32PM +0200, Johannes Truschnigg wrote:
> what's today's preferred way of mapping keypress-sequences and -shortcuts
> (like Ctrl+W, for instance) to buttons on a pointer device (e. g., my mouse),
> so that pressing these buttons simulate the appropriate keystrokes?
> I vaguely recall using a program called `imwheel` for tricks like these in the
> distant past (around 2004 or 2005) - is that still viable, or are there other,
> better ways to pull something like that off by now?
the XTest extension is your best bet.
XTestFakeKeyEvent(3)
Cheers,
Peter
More information about the xorg
mailing list