FreeJoy icon indicating copy to clipboard operation
FreeJoy copied to clipboard

D-Pad problem

Open Safandula86 opened this issue 4 years ago • 4 comments

Hi, i try to use multiswitch ALPS RKJXT1F4200, the problem is that after configuring everything the D-Pad works fine except "D-Pad Up". I don't know why when I release from the Up position, the "D-Pad Center" lights up after a while. I have no problem with other directions, I checked it on 2 multiswitches and 2 boards. https://youtu.be/LSdQ5xFOoj0 My configuration : image image

Button Box.zip

Safandula86 avatar Oct 24 '20 18:10 Safandula86

Hi! I made some test and I can guess it is because of internal structure of this type of D-Pad. Electrically when you press any direction your Center pin (Push Com) is also triggered:

image

FreeJoy hanlde this by software excluding Center press when any of directions pressed. But there may be some kind of mechanical delay between releasing Up pin and Push pin, so FreeJoy can catch the moment when only Push pin is pressed and implement it as Center button press.

The way how you can handle this is to increase Button debounce delay, values of 100-150 should be enough:

image

vostrenkov avatar Oct 27 '20 17:10 vostrenkov

This only happens with Up. I also noticed that when we quickly press and release it is ok, but if we hold and release, Push will light up after a while.

Safandula86 avatar Oct 27 '20 20:10 Safandula86

@vostrenkov Hi, I just ran into the same problem too, I have tried setting the debounce delay to 100-150 like you suggested, but the problem is still there. Only if you quickly press and release the Up direction, the problem will disappear, but it is very difficult to control. So I want to ask that is there any alternative solution to this? Thank you!

ethan54013 avatar Jul 10 '21 18:07 ethan54013