D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Injecting KB and Mouse events

 

this page tells you how to do it in perl.
http://www.perl.com/lpt/a/973

there are plenty of programs for sending key events: xvkbd, xsendkeys
and xsendkeycode but I don't know of any to send mouse events.

On 3/26/07, Robin Cornelius <robin.cornelius@xxxxxxxxx> wrote:
>
> Hi Guys,
>
> Anybody know how i can inject keyboard and mouse events directly into
> the (active) Xserver/display. So what ever window has current focus will
> receive the events as if i had pressed the keyboard/moved the mouse myself.
>
> Had a bit of a search but could not find any tools that would do this
> but i am sure there are some.
>
> Thanks
>
>
>
> --
> Robin Cornelius
> http://www.byteme.org.uk
>
>
> --
> The Mailing List for the Devon & Cornwall LUG
> http://mailman.dclug.org.uk/listinfo/list
> FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html
>
>
>

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html