Re: [dev] mapping keyboard buttons to move the mouse?

From: Anselm R Garbe <garbeam_AT_gmail.com>
Date: Wed, 26 Aug 2009 08:34:51 +0100

2009/8/26 <hessiess_AT_hessiess.com>:
> I was wondering if it was possible to map keyboard buttons to move the
> mouse cursor/ send mouse button events. For example, I was thinning of
> having alt gr and the arrow buttons move the mouse cursor, and alt gr +
> "z", "x" and "c" send left, middle, right mouse button events.

A plain X warping tool is here:

http://tools.suckless.org/swarp

A more sophisticated one is:

http://www.semicomplete.com/projects/xdotool/

You can bind such commands to keys and do exactly what you require.

Kind regards,
Anselm
Received on Wed Aug 26 2009 - 07:34:51 UTC

This archive was generated by hypermail 2.2.0 : Wed Aug 26 2009 - 07:48:01 UTC