Click to See Complete Forum and Search --> : map mouse to key in X


xunp
03-15-2003, 03:59 PM
Does anyone know how to map the mouse buttons to some key bindings in X ? E.g. use "^+ left" to
move the mouse to the left ? I presume there might be a way with "xmodmap" ?

Thanks.

linux12414
03-17-2003, 10:58 AM
Originally posted by xunp
Does anyone know how to map the mouse buttons to some key bindings in X ? E.g. use "^+ left" to
move the mouse to the left ? I presume there might be a way with "xmodmap" ?

Thanks.

There's a help file on just this topic in the Library. Just click on the button at the top of the page.

HTH

trn
03-21-2003, 04:35 PM
xmodmap is your friend.

hop-frog
03-21-2003, 09:09 PM
Hit ctrl+shift+numberlock and then use the number keys to move the mouse.
See this (http://www.topology.org/linux/xcursor.html) link for more details.

There is a tiny program that will move the mouse to pre-selected positions if used in conjuction with a key-binding program, but I haven't been able to locate it or remember what it was called.

xunp
03-22-2003, 02:01 AM
Thanks, that works perfect !