I've been attempting to use pikeyd with my RPi3 and have been unable to figure out how to prevent the inputs from repeating. I'm using gpio pins 17 and 18 with pin 6 of the pi as ground. The issue is that Pikeyd is outputting endless keypresses even if the button is only pressed once regardless of if I use a rotary switch, a button or just directly closing the circuit. The keypresses only stop after receiving an input from a keyboard. This has happened with every pin I have attempted to use and I am sure that the pins aren't to blame as they function correctly through the RPi GPIO module in python. I believe this could be an issue in my config file not debouncing the pins or something similar but I am unsure as to how I would add a debouncing function to the file (attached).
pikeyd.txt
Any help would be greatly appreciated.
I've been attempting to use pikeyd with my RPi3 and have been unable to figure out how to prevent the inputs from repeating. I'm using gpio pins 17 and 18 with pin 6 of the pi as ground. The issue is that Pikeyd is outputting endless keypresses even if the button is only pressed once regardless of if I use a rotary switch, a button or just directly closing the circuit. The keypresses only stop after receiving an input from a keyboard. This has happened with every pin I have attempted to use and I am sure that the pins aren't to blame as they function correctly through the RPi GPIO module in python. I believe this could be an issue in my config file not debouncing the pins or something similar but I am unsure as to how I would add a debouncing function to the file (attached).
pikeyd.txt
Any help would be greatly appreciated.