Daemonbite arcade encoder 2 buttons combo problem

Discussion of keyboards, gamepads, joysticks and other input related peripherals.
moviemaniac52
Posts: 19
Joined: Fri Aug 02, 2024 5:26 pm

Daemonbite arcade encoder 2 buttons combo problem

Unread post by moviemaniac52 »

Hello guys, i need your help please.
I build a 2 players arcade cabinet with 2 daemonbite arcade usb encoder and i have a problem with menu 2 buttons combo...i have only 4 services buttons for start p1, select p1, start p2 and select p2...and no home button...

All buttons mapping have not problem, but when i try to map 2 button combo menu, it's impossible to do....it seems to press one button and 2nd button but no simultaneous....
It swap mapping button ok et and back...

Anyone have this problem with daemonbite encoder?

Thanks for your help!!!

xn00dlesx
Posts: 4
Joined: Fri Jul 24, 2020 7:24 pm
Has thanked: 7 times

Re: Daemonbite arcade encoder 2 buttons combo problem

Unread post by xn00dlesx »

I believe this can be fixed by enabling DEBOUNCE in the DaemonBiteArcadeEncoder.ino file. You can start high with a DEBOUNCE_TIME of 10, but I would lower the number until it stops working. That is, if this fixes your issue.

#define DEBOUNCE 1 // 1=Diddly-squat-Delay-Debouncing™ activated, 0=Debounce deactivated
#define DEBOUNCE_TIME 5 // Debounce time in milliseconds

moviemaniac52
Posts: 19
Joined: Fri Aug 02, 2024 5:26 pm

Re: Daemonbite arcade encoder 2 buttons combo problem

Unread post by moviemaniac52 »

Thanks for your answer...but it does not work...
Must i uncomment like this :
define DEBOUNCE 1 // 1=Diddly-squat-Delay-Debouncing™ activated, 0=Debounce deactivated
define DEBOUNCE_TIME 5 // Debounce time in milliseconds
or must il let #?

xn00dlesx
Posts: 4
Joined: Fri Jul 24, 2020 7:24 pm
Has thanked: 7 times

Re: Daemonbite arcade encoder 2 buttons combo problem

Unread post by xn00dlesx »

It won't compile if you remove the # and should have errored out. Leave the # in there. Start with...

#define DEBOUNCE 1 // 1=Diddly-squat-Delay-Debouncing™ activated, 0=Debounce deactivated
#define DEBOUNCE_TIME 10 // Debounce time in milliseconds

and if that works, lower the DEBOUNCE_TIME (in order to reduce input lag) until it no longer works, then go back to the last working value of course.

I had this same problem as you described and this fixed it for me. Hope it works for you as well.

moviemaniac52
Posts: 19
Joined: Fri Aug 02, 2024 5:26 pm

Re: Daemonbite arcade encoder 2 buttons combo problem

Unread post by moviemaniac52 »

Thank you very much for your help!!!
Problem is resolved ;)

I modify with :
#define DEBOUNCE 1 // 1=Diddly-squat-Delay-Debouncing™ activated, 0=Debounce deactivated
#define DEBOUNCE_TIME 2 // Debounce time in milliseconds

and now no problem!!!!

I big thanks to you

Post Reply