If I have 4 buttons and want to link an index to each of them, index 0 1 2 4 to button 1 2 3 4, how would I achieve that?
Kind of like replace the radio 4 with 4 buttons:
If I have 4 buttons and want to link an index to each of them, index 0 1 2 4 to button 1 2 3 4, how would I achieve that?
Kind of like replace the radio 4 with 4 buttons:
note that my object will only work for one button-press at a time. for multiple presses at a time it would be better to use the solution you posted earlier, because you could then also map multiple buttons pressed at once. maybe i will consider implementing this in my object, will have to think about it.
it is not hard to "see" multiple presses, and it is also not hard to implement for example: "output index 5" when first and fourth button are pressed. the question is about the logic i should use. for 8 inputs that would be 256 possible switch configurations
ok, i updated my object to incorporate multiple switches. check it out. 4 keysets are user definable. explained in my contribution post.