found it being quite hard to work with the keyboard node in conjunction with sift to detect key(down/pressed/up) since sifting for ‘p’ (mode contains) would also return true if ‘space’ was hit.
buffered output only returns keydown.
and keycode (which could also return a spread of keycodes by the way) only returns the last pressed keycode.
the keymatch node is vvvvery unhandy as soon as dealing with a lot of different keys to handle… (reconnect on changed key)
try to distinguish between ALT+P, SHIFT+ALT+P, P only, SPACE, etc.
maybe the attached module is helpful for you.
it is the reason why i asked for a keyboard-readonly-version.
try to distinguish between ALT+P, SHIFT+ALT+P, P only, SPACE, etc.
maybe the attached module is helpful for you.
it is the reason why i asked for a keyboard-readonly-version.
beta>22 adds a Keyboard Spread output to the Keyboard (System Global) node that returns all currently pressed keys as a string spread. also the KeyCode output is now spreaded.