[Gllug] share keyboard input between two applications
Victor Churchill
vchurchill at softwareshack.eu
Fri Oct 9 09:15:16 UTC 2009
2009/10/8 <news at aleblanc.cotse.net>:
> Hi,
> can anyone tell me if it is possible to share keyboard input events
> between two or more applications simultaneously? and if so, how?
> I want to try playing music while simultaneously typing text (don't
> ask why).
>
> --
> aleblanc
>
Would named pipes made with mkfifo work for you? You can sit in a while loop,
read()ing a line and echoing it onto both fifos . Then have your apps
read their input from the pipes.
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list