hi to all! as i see the "receive #key"-object triggers twice - when pressing and when releasing a key. is there also an object which only triggers only when pressing? marius.
Wow, I didn't even know about this object. So I looked in the sources. There is also a #keyname special message, and it sends out two arguments, the first is 0|1 depending on it being a press or a release, and the second is a symbol representing the character.
pix.
On Tue, 25 Jul 2000, s_medge wrote:
hi to all! as i see the "receive #key"-object triggers twice - when pressing and when releasing a key. is there also an object which only triggers only when pressing? marius.
Oops... #key is only supposed to fire on key down. Try receiving #keyname which gives you an on-off and a symbol that you can "select" for.
I'll fix the other for 0.32...
cheers Miller
On Tue, Jul 25, 2000 at 04:28:37PM +0200, s_medge wrote:
hi to all! as i see the "receive #key"-object triggers twice - when pressing and when releasing a key. is there also an object which only triggers only when pressing? marius.
hi thank you. i already did, before "select" i had to trigger, packed #key and #keyname then routed 0 1, unpacked and had left outlet for down and right for up. works good! maybe it doesnt have to be "fixed". marius.
Miller Puckette wrote:
Oops... #key is only supposed to fire on key down. Try receiving #keyname which gives you an on-off and a symbol that you can "select" for.
I'll fix the other for 0.32...
cheers Miller
What I do is pass the output pf receive #key through a alternate (from the GEM library). Works perfectly.
Martin Marier s_medge wrote:
hi thank you. i already did, before "select" i had to trigger, packed #key and #keyname then routed 0 1, unpacked and had left outlet for down and right for up. works good! maybe it doesnt have to be "fixed". marius.
Miller Puckette wrote:
Oops... #key is only supposed to fire on key down. Try receiving #keyname which gives you an on-off and a symbol that you can "select" for.
I'll fix the other for 0.32...
cheers Milller