Emulating keyboard events

Joshua Zeidner jjzeidner at gmail.com
Fri Mar 16 01:58:47 MST 2007


On 3/16/07, David Huerta <huertanix at gmail.com> 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
jjzeidner at gmail.com


More information about the PLUG-discuss mailing list