Wikinaut · @wikinaut
799 followers · 5621 posts · Server berlin.social


library

Looking for code for

2-key rollover for n keys (n buttons connected to separate GPIO pins)

Looking for code to detect two-button-presses on (let's say) 4 buttons, in general detect "2-key rollover" on n GPIO pins.

( en.wikipedia.org/wiki/Key_roll : "Key rollover is the ability of a computer [keyboard] to correctly handle several simultaneous keystrokes.")

For 2 buttons, this is easy.






#nerdquestion #raspberry #pigpio #python #2keyrollover #nkeyrollover #gpio

Last updated 2 years ago