Hi Kent,
I haven't considered these yet, but only because I didn't know they existed.
You mentioned one of these selector switch with 8 positions and 3 outputs (which makes sense since bits have two states and 2 to the power of 3 is 8), but after a very short search I didn't find any of these.
Just out of curiosity, do you own one of these and is it something one can buy ready-to-use or are these DIY projects made of similar switches (which I found but have about as many pins as positions)?
But including support for these and similar switches should be possible by reading the pin states as bitmaps and making unique values determining specific commands to be executed.
I'd have to add support for multiple pins, a few more distinct commands per button and think of a appropriate configuration format for these.
Do you know of any of these switches with 16 or maybe even 32 positions? If I add it, I should probably consider variants.
Peter
I haven't considered these yet, but only because I didn't know they existed.
You mentioned one of these selector switch with 8 positions and 3 outputs (which makes sense since bits have two states and 2 to the power of 3 is 8), but after a very short search I didn't find any of these.
Just out of curiosity, do you own one of these and is it something one can buy ready-to-use or are these DIY projects made of similar switches (which I found but have about as many pins as positions)?
But including support for these and similar switches should be possible by reading the pin states as bitmaps and making unique values determining specific commands to be executed.
I'd have to add support for multiple pins, a few more distinct commands per button and think of a appropriate configuration format for these.
Do you know of any of these switches with 16 or maybe even 32 positions? If I add it, I should probably consider variants.
Peter