[PD] generatiing a keypress

Patrice Colet pat at mamalala.org
Mon Dec 17 08:19:09 CET 2007


Hans-Christoph Steiner a écrit :
> 
> On Dec 16, 2007, at 5:32 PM, Patrice Colet wrote:
> 
>> beau a écrit :
>>> I have been converting midi into keystrokes with midiStroke for OS X
>>>
>>> http://www.apple.com/downloads/macosx/audio/midistroke.html
>>>
>>>
>>> I think on windows people are using:
>>> http://www.midiox.com/
>>>
>>>
>>> It would be great it pd could do this!
>>>
>>>
>>
>>   midiox program converts Keystrokes to MIDI Notes, it doesn't emulate
>> keystrokes.
>>
>> There might be a trick to do this with macosx API ,like I did with
>> windows API in [winkey]?
>>
>> PureData can do this on linux and now on windows with the help of
>> different externals.
>>   I bet many users would love to have a single external for both
>> platforms, that uses the same parameters, same help file, the object
>> would have then the same name, it wouldn't be x11key anymore but
>> [keystroke] or something like this and would work on most platforms.
>>   Aalex, what do you think?
> 
> Sounds like a great idea.  How about something like [send_key] or 
> [type_key]?
> 
> .hc

[send_key] sounds good, also I might have found how to do this on MAC OS 
    X, by the use of sysctl.h, with looking at the source of some 
programs that emulates keystrokes, but I haven't got the machine for 
testing...





More information about the Pd-list mailing list