hardware code for the key to monitor. This is likely platform dependent. For example, on Linux, key-codes 24 to 29 correspond to 'Q', 'W', 'E', 'R', 'T', 'Y'.
value output when the currently pressed does not match the code
value output when the currently pressed does match the code
60 dB lag time in seconds.
A UGen that detects a specific keyboard stroke. When the given key is not pressed, the
lo
value is output, while the key is pressed thehi
value is output. Iflag
is greater than zero, aLag
-type operation is applied for a smoother transition betweenlo
andhi
.Examples
MouseButton
MouseY
MouseX