I don't think you can get keyboard input from inside a javascript patch - you'd need to use the keyboard input patch, and wire up each key you'll use to an input on your javascript. That's OK if you just need a few keys, but if you need full keyboard support it's painful.
Another option is the kineme freeboard plugin - no idea if this suits your needs or not as I've not used it but it's a replacement keyboard patch so it's got to be worth a look: http://kineme.net/release/FreeboardPatch/0.1 CHris On 6 July 2010 08:42, Pippa Tshabalala <stalk...@gmail.com> wrote: > Hi All > > I'm rather new to quartz composer and I don't have a lot of experience > in Javascript. I'm using the Open Emu emulator to display game feed > through QC, and I'm battling to use the Javascript patch to link > control of the keyboard to the emulator. I know its because of my > unfamiliarity with the language, but I was hoping someone could help > me out in terms of the script I should be using? > > The demo can be found here http://vimeo.com/2843530 > > Thanks > Pippa > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > > http://lists.apple.com/mailman/options/quartzcomposer-dev/psonice%40gmail.com > > This email sent to pson...@gmail.com >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com