You are not logged in.

#1 2008-02-15 01:54:57

bsdson.tw
Member
From: Taiwan
Registered: 2005-05-06
Posts: 161

How can I control the mouse by command-line ?

Hi,

Does anybody know if there is any command that I can use to control the mouse event, like: move cursor to some place, click, double-click, etc.?

Thank you!

ps. what I want to do is to bind keyboard to mouse, so that I can use keyboard to control the mouse, but I want to try some algorithms of controlling.

Offline

#2 2008-02-15 04:42:24

vogt
Member
From: Toronto, Canada
Registered: 2006-11-25
Posts: 389

Re: How can I control the mouse by command-line ?

I'm not aware of mousekeys being configurable, but switch to it:

 alt-shift numlock

then try the number pad.

EDIT: Or were you looking for something an easy binding to xlib as in swarp?

Last edited by vogt (2008-02-15 04:44:25)

Offline

#3 2008-02-15 05:46:17

bsdson.tw
Member
From: Taiwan
Registered: 2005-05-06
Posts: 161

Re: How can I control the mouse by command-line ?

Thank you, vogt!

What I want is something like "swarp", but more power.
It seems that "swarp" can only move the cursor,
but not send click event.

BR,
bsdson.tw

Offline

Board footer

Powered by FluxBB