[PD] Can Pd pretend to be a USB keyboard?
danomatika at gmail.com
Fri Feb 9 13:53:25 CET 2018
There isn't a way to generate system-level key or mouse events from within Pd. You'd have to use the platform native interfaces and probably write some code or use a user testing/scripting library.
I would go with the networking socket as that would work on both Windows and Linux.
> On Feb 8, 2018, at 11:40 PM, pd-list-request at lists.iem.at wrote:
> Date: Thu, 8 Feb 2018 17:39:38 -0500
> From: William Huston <williamahuston at gmail.com <mailto:williamahuston at gmail.com>>
> To: pd-list at lists.iem.at <mailto:pd-list at lists.iem.at>
> Subject: [PD] Can Pd pretend to be a USB keyboard?
> <CAFPUnQnr5SE-zg1xiO5ACPK=tY=Sob9i_03SXSYWkBvZR2AhtQ at mail.gmail.com <mailto:CAFPUnQnr5SE-zg1xiO5ACPK=tY=Sob9i_03SXSYWkBvZR2AhtQ at mail.gmail.com>>
> Content-Type: text/plain; charset="utf-8"
> I want to control OBS Studio with a MIDI device.
> OBS Studio does not presently support MIDI directly.
> I want to communicate to my MIDI controller with Pd.
> I want to translate MIDI note-on/off messages into keystrokes
> and pass those on to OBS.
> Can I emulate "midikey2key" in Pd?
> https://obsproject.com/forum/threads/control-obs-with-midi.32881/ <https://obsproject.com/forum/threads/control-obs-with-midi.32881/>
> http://75r.de/midikey2key <http://75r.de/midikey2key>
> I guess I could also use obs-websocket
> <https://obsproject.com/forum/resources/obs-websocket-remote-control-of-obs-studio-made-easy.466/ <https://obsproject.com/forum/resources/obs-websocket-remote-control-of-obs-studio-made-easy.466/>>
> Thanks for your ideas :)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pd-list