Re: Emulating keyboard events

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Joshua Zeidner
Date:  
To: Main PLUG discussion list
Subject: Re: Emulating keyboard events
On 3/16/07, David Huerta <> wrote:
> I'm writing a small python app that I want to emulating pressing the
> "5" keyboard key, but after some searching online it was suggested
> this sort of thing would only be possible in C or C++ using X Windows
> libraries. I'm not sure where to start, would anyone here be familiar
> with emulating keyboard events in Linux?


Have you tried something along the lines of

$ echo "5" > /dev/tty

-jmz

--
.0000. communication.
.0001. development.
.0010. strategy.
.0100. appeal.

JOSHUA M. ZEIDNER
IT Consultant

( 602 ) 490 8006

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss