[Fluxus] Key events
gabor papp
gabor.lists at mndl.hu
Thu Jun 7 14:08:14 PDT 2012
hi Carlos,
would you like something like a keypress event handler callback? as far as
i know there's no easy way to do this in fluxus at the moment.
you can either solve your problem using (key-pressed), (keys-down), etc,
or you can try redefining (fluxus-input-callback).
look into modules/scheme/input.ss for this.
with the anttweakbar gui module i did something like this for mouse
events. (fluxus-input-callback) gets called for all input events. you can
handle the events you want, and/or pass them to the fluxus event handlers.
http://code.google.com/p/gabor-fluxus/source/browse/trunk/modules/anttweakbar/tw.ss
best,
gabor
More information about the Fluxus
mailing list