03-11-2019, 01:55 AM
(03-10-2019, 08:29 PM)Porcinus Wrote: I should receive the new one around Wednesday, I am pretty sure the current one is just defective, I will keep you update
Cool. I’m stilll trying to get the system to recognize th correct values of the Nintendo Switch Joy Con controllers. Do you know a good way to do it? I have gotten the values for each axis by using
jscal -c /dev/input/js0
In checking for the values the analog sticks read smoothly and there doesn’t seem to be any hardware issues.
I’ve tried adding the values to the mk_arcade_joystick.conf like this (not my parameter values)
Options mk_arcade_joystick_rpi map=4 hkmode=2 i2cbus=1 x1addr=79 y1addr=72 x2addr=75 y2addr=77 x1params=374,3418,16,384 y1params=517,3378,16,384 x2params=374,3418,16,384 y2params=517,3378,16,384 gpio=4,17,6,5,19,26,16,24,23,18,15,14,-20,42,43,41,40,35,36,37,-1
But the analogs don’t register in the controller setup when I add the parameters this way. I’ve also tried setting them this way to test, but not all axis are recognized in the controller setup.
evdev-joystick --evdev /dev/input/event0 --axis 0 --minimum 374 --maximum 3418 --deadzone 384 --fuzz 16