analog stick config options break controls
#1
im working on my first build. i have the add-on board and some psp sticks but i cant get the configuration to recognize the gamepad when i uncomment the analog stick configuration. 

using /etc/modprobe.d/mk_arcade_joystick.conf

scenario 1 - base configuration = 

options mk_arcade_joystick_rpi map=4 gpio=4,17,6,5,19,26,16,24,23,18,15,14,-20,-1,-1,-1,-1,-1,-1,-1,-1 hkmode=2

abxy works fine, but the l2/r2 buttons arent recognized. this is expected. 

scenario 2 - i change the config to

#options mk_arcade_joystick_rpi map=4 gpio=4,17,6,5,19,26,16,24,23,18,15,14,-20,-1,-1,-1,-1,-1,-1,-1,-1 hkmode=2
#this next line is for use with 4 extra buttons (maybe L2,R2,C,Z)
options mk_arcade_joystick_rpi map=4 gpio=4,17,6,5,19,26,16,24,23,18,15,14,-20,42,43,41,40,-1,-1,-1,-1 hkmode=2

now abxy works fine, plus l2/r2 is recognized and i can configure the input fine. this is expected.

scenario 3 - i change config to uncomment the analog stick line, and change the gpio settings

#options mk_arcade_joystick_rpi map=4 gpio=4,17,6,5,19,26,16,24,23,18,15,14,-20,-1,-1,-1,-1,-1,-1,-1,-1 hkmode=2
#this next line is for use with 4 extra buttons (maybe L2,R2,C,Z)
#options mk_arcade_joystick_rpi map=4 gpio=4,17,6,5,19,26,16,24,23,18,15,14,-20,42,43,41,40,-1,-1,-1,-1 hkmode=2
#this next line is for use with a single PSP1000 analog stick
#options mk_arcade_joystick_rpi map=4 hkmode=2 i2cbus=1 x1addr=72 y1addr=77 gpio=4,17,6,5,19,26,16,24,23,18,15,14,-20,42,43,-1,41,-1,-1,-1,-1
#this next line is for use with 2 PSP1000 analog sticks
options mk_arcade_joystick_rpi map=4 hkmode=2 i2cbus=1 x1addr=72 y1addr=77 x2addr=75 y2addr=79 gpio=4,17,6,5,19,26,16,24,23,18,15,14,-20,42,43,41,40,-1,-1,-1

when i use the above config, reboot and try to configure the input, the gamepad is totally not recognized. in all scenarios, I'm using a usb keyboard to navigate to the configure input menu, but when i try to enable the psp sticks, it really doesnt like it Sad 

any ideas what could be wrong? everything is physically connected well on the board so i'm guessing its a driver thing? my image runs mk_arcade_joystick_rpi -v 0.1.6.0
Reply


Messages In This Thread
analog stick config options break controls - by farlsmagee - 11-03-2019, 02:24 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)