Re: An addition to my earlier post

jon klein <[email protected]> Mon, 16 May 2005 09:31:18 -0400
Newsgroups gmane.comp.breve
Message-ID <[email protected]>
On May 14, 2005, at 2:37 PM, Cavan Fyans wrote:

> Hi,
>
> i forgot to add to my post earlier:  Can anyone help me out using
> keyboard events, i want to trigger certain events when certain keys
> are pressed by i dont not fully understand how to impliment this
> method....does anyone have any examples i could look at or could
> anyone simply show me how its done?

It's explained here:

http://www.spiderland.org/breve/breve_docs/docs/keyboard.html

Briefly, you need to add methods in your controller object to
catch the keypresses.  When the key is pressed down, the method
is called automatically.  To catch the "q" key, for example:

+ to catch-key-q-down:
     print "the q key was pressed!".



- jon klein
_______________________________________________
breve mailing list
[email protected]
http://lists.spiderland.org/mailman/listinfo/breve