Respond to the state of a key.
keycode |
The keycode value of the key to check. This corresponds to the keycode values passed into the keyDownActions of SCViews. See the example below. |
minval |
The value to output when the key is not pressed. |
maxval |
The value to output when the key is pressed. |
lag |
A lag factor. |