[PD] generatiing a keypress

Patrice Colet pat at mamalala.org
Mon Dec 17 08:12:50 CET 2007


Hans-Christoph Steiner a écrit :
> 
> On Dec 16, 2007, at 12:57 AM, Patrice Colet wrote:
> 
>> Patrice Colet a écrit :
>>
>>>> Thanks Roman,
>>>> I'm working on  Linux and sometimes forced to use Windows so I would be
>>>> looking for a solution in both. I'll have a look at aalex. Anyone know
>>>> of a Windows solution?
>>>> Jim
>>>  With VkKeyScan() function
>>> http://msdn2.microsoft.com/en-us/library/ms646329.aspx
>>
>>  keybd_event() seems to be more suitable, is this attached external 
>> provide what you need?
>>  I might try also to give [winkey] the same behavior as [x11key] for 
>> having a compatible external, for the moment it was simplier for me to 
>> use ascii character strings for sending key 
>> strokes.<winkey.rar>_______________________________________________
>> PD-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> 
>> http://lists.puredata.info/listinfo/pd-list
> 
> 
> Sounds like a useful thing.  It would be very useful to have a 
> cross-platform object for doing this, with all the messages and output 
> the same.  We just need a Mac OS X implementation to fill it in.
> 
> .hc

For using the same messages and outputs, we might need headers for 
mapping the corresponding API messages, and define how it's going to 
work for special cases like CAP LOCK or SCROLL LOCK.




More information about the Pd-list mailing list