Button to number up/down


very basic question, entschuldigen.

I’d like to switch nodes or numbers with using keyboards.
For example, left button of keyboard to number down and right one to number up to change inputs of switchnode…

Can anyone show how to connect this??

thank you.


now i made it! it was easy to use keymatch toggle and counter.
like this. (see attached file) (1.1 kB)

note that you can get rid of the togedge nodes by using the Keymatchs built in togedge. just set its Key Mode to Down Only or Up Only.

Just advanced version…I hope you’ll find it usefull

keyUP-Down+.v4p (19.8 kB)