Quoth Lorenzo, on 12/07/09 14:46:
Hi all,
I'm a little confused by the behaviour of the [key] and [keyup]
objects.
What I'd expect is that they 'bang' and output the number only and only
when a key is pressed (key) or depressed (keyup), while it looks like
while a key is kept pressed they go on banging. Also a [keyup] seems to
bang even when a key is 'down'.
This also poses somewhat a problem with keyboard 'poliphony' say I keep
a key pressed while also pressing other[s].
Is my expectation simply wrong? I noticed that the behaviour is
different when pressing keys like SHIFT, CTRL etc.
Also I see from the help this is system dependent, I see this on Linux
(ubuntu 9,04 - Pd 0.41.4-extended-rc1)
Thanks,
Lorenzo
Hi Lorenzo,
[key] and [keyup] are dependant on keyboard settings in your OS. In
Ubuntu 9.04 you can turn off Repeat Keys under
System/Preferences/Keyboard. In windows I think you can slow the key
repeat rate down, but not disable it completely. I don't know about Mac
OS.
James