[Gllug] share keyboard input between two applications

JLMS jjllmmss at googlemail.com
Fri Oct 9 09:18:32 UTC 2009


On Fri, Oct 9, 2009 at 10:15 AM, Victor Churchill
<vchurchill at softwareshack.eu> wrote:
> 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.


Explain further please, this sounds enticing, perhaps short snippet of code?
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list