mholgatem / GPIOnext

The next evolution of GPioneer! Create virtual gamepads with your GPIO pins!
MIT License
134 stars 37 forks source link

Gpionext registering double input #59

Closed wheelbarrow-of-mellons closed 2 years ago

wheelbarrow-of-mellons commented 2 years ago

I am having an issue with gpionext where every time I press a button it registers it as two button presses. This makes it difficult to navigate the menu or do anything. The buttons are configured to keyboard presses, and I am not sure if it had the same problem with controler configuration.

mholgatem commented 2 years ago

You probably need to adjust the debounce setting. From command line, try this: gpionext set debounce 50 This will set the debounce rate to 50, meaning once a button is triggered, it won't trigger again for 50 milliseconds. You can go all the way up to 250 without noticing much lag. Any higher and you may start to notice missed button presses.

wheelbarrow-of-mellons commented 2 years ago

I tried adjusting the denounce setting but it doesn’t seem to fix my problem. Although I also found that it is only registering double input on the main Retropie menu, and that it is perfectly fine in the command line and roms. Thanks for the help.