Page 1 of 1
Daemonbite arcade encoder 2 buttons combo problem
Posted: Fri Aug 02, 2024 5:34 pm
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!!!
Re: Daemonbite arcade encoder 2 buttons combo problem
Posted: Sat Aug 03, 2024 6:27 am
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
Re: Daemonbite arcade encoder 2 buttons combo problem
Posted: Sat Aug 03, 2024 4:52 pm
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 #?
Re: Daemonbite arcade encoder 2 buttons combo problem
Posted: Sat Aug 03, 2024 5:09 pm
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.
Re: Daemonbite arcade encoder 2 buttons combo problem
Posted: Sun Aug 04, 2024 5:49 pm
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