http://xahlee.info/kbd/keyboard_n-key_rollover_key_ghosting.html #keyboardlore #NKeyRollover #anti-ghosting #gamingtech #HackerNews #ngated
I just got this new #IROK #keyboard which claims to be #nkeyrollover. However, this keyboard has exactly the same problem as the previous one: it appears to the OS that, from the 7th simultaneously pressed key and forth, the input events are from a separate input device. This triggers a #bug of #X11, making #graphics freeze for a few hundreds of milliseconds. This is fatal to #rhythmgame playing. Damn!
#Nerdquestion
#Raspberry #pigpio library
Looking for code for
2-key rollover for n keys (n buttons connected to separate GPIO pins)
Looking for #Python code to detect two-button-presses on (let's say) 4 buttons, in general detect "2-key rollover" on n GPIO pins.
( https://en.wikipedia.org/wiki/Key_rollover : "Key rollover is the ability of a computer [keyboard] to correctly handle several simultaneous keystrokes.")
For 2 buttons, this is easy.