Hello Pippa,

the problem I see, not to create a structure from your keyboard patch within the java script. The bigger problem is that you have to know how the structure has to look like that goes into the Open Emu patch. The Open Emu patch has certain demands on that structure for sure. If you don't match them, Open Emu can't use your data.

I think the best way would be to ask the guy how made the videos to provide you with a sample composition. Then you are able to see how the structure is build up in that java script.

best,

Achim Breidenbach
Boinx Software


On 06.07.2010, at 10:19, Pippa Tshabalala wrote:

Sorry, my mistake in explaining. They use the keyboard input patch and route that through a javascript patch in order to output it to a controller data input within the open emu patch. i dont think ive explained that any better, but basically:

keyboard > javascript > open emu patch

I will definitely check out the freeboard plugin though! I dont need full keyboard input, its basically to be able to play an emulator game in live performance, so it needs up, down, left, right, esc, enter and two inputs for jump and fire.




On Tue, Jul 6, 2010 at 10:14 AM, Chris Wood <pson...@gmail.com> wrote:
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/achim%40boinx.com

This email sent to ac...@boinx.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

Reply via email to