l2/r2 analog stick board
#32
stevo619
WAIT!

I'm sorry.  I was out at lunch and then at the bank for way too long.

If your A/B/X/Y/DPAD/etc are working, then it's not a dkms problem.

I think your problem is with the config file.  Now that you have extra buttons (with the add-on board), you need to edit the conf file.
For more info see https://docs.google.com/document/d/1GkmF...1VnZ1wgEY/

Do this command:
sudo nano /etc/modprobe.d/mk_arcade_joystick.conf

If you are using the L2/R2 addon but not using any analog input, then it should look like this.


Code:
#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 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 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
#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,-1,41


If you are using a single PSP analog stick, then use this:

Code:
#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 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 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
#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,-1,41


The fan is a different issue, and we can get more into that if you want. Basically, if you want it to come on when the CPU gets hot, then you'd use this:
https://github.com/TheFlav/rpi-fan
Card Fighters' Clash 2 English Translation ( http://cfc2english.blogspot.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )
Reply


Messages In This Thread
l2/r2 analog stick board - by aarontrini85 - 09-05-2018, 11:39 AM
RE: l2/r2 analog stick board - by Flavor - 09-05-2018, 01:06 PM
RE: l2/r2 analog stick board - by Flavor - 09-05-2018, 01:47 PM
RE: l2/r2 analog stick board - by aarontrini85 - 10-06-2018, 08:30 AM
RE: l2/r2 analog stick board - by maxh123 - 09-06-2018, 01:11 AM
RE: l2/r2 analog stick board - by Flavor - 09-06-2018, 02:41 AM
RE: l2/r2 analog stick board - by stevo619 - 11-15-2018, 04:54 AM
RE: l2/r2 analog stick board - by stevo619 - 11-15-2018, 07:40 AM
RE: l2/r2 analog stick board - by Flavor - 09-06-2018, 03:02 AM
RE: l2/r2 analog stick board - by maxh123 - 09-06-2018, 04:56 AM
RE: l2/r2 analog stick board - by maxh123 - 09-06-2018, 04:58 AM
RE: l2/r2 analog stick board - by Flavor - 09-06-2018, 05:04 AM
RE: l2/r2 analog stick board - by maxh123 - 09-06-2018, 05:25 AM
RE: l2/r2 analog stick board - by Flavor - 09-06-2018, 05:38 AM
RE: l2/r2 analog stick board - by maxh123 - 09-06-2018, 05:47 AM
RE: l2/r2 analog stick board - by Flavor - 09-06-2018, 05:59 AM
RE: l2/r2 analog stick board - by Flavor - 09-06-2018, 07:29 AM
RE: l2/r2 analog stick board - by maxh123 - 09-08-2018, 07:05 AM
RE: l2/r2 analog stick board - by Flavor - 09-08-2018, 07:08 AM
RE: l2/r2 analog stick board - by maxh123 - 09-08-2018, 11:52 AM
RE: l2/r2 analog stick board - by Flavor - 09-08-2018, 11:56 AM
RE: l2/r2 analog stick board - by aarontrini85 - 09-10-2018, 12:52 AM
RE: l2/r2 analog stick board - by NewAgeRetro - 09-20-2018, 08:28 AM
RE: l2/r2 analog stick board - by maxh123 - 09-21-2018, 06:19 AM
RE: l2/r2 analog stick board - by Flavor - 09-20-2018, 08:39 AM
RE: l2/r2 analog stick board - by NewAgeRetro - 09-20-2018, 08:54 AM
RE: l2/r2 analog stick board - by Flavor - 09-20-2018, 09:11 AM
RE: l2/r2 analog stick board - by NickM - 09-26-2018, 04:39 AM
RE: l2/r2 analog stick board - by Flavor - 09-26-2018, 04:43 AM
RE: l2/r2 analog stick board - by NickM - 09-26-2018, 05:33 AM
RE: l2/r2 analog stick board - by Flavor - 09-26-2018, 06:13 AM
RE: l2/r2 analog stick board - by NickM - 09-26-2018, 07:23 AM
RE: l2/r2 analog stick board - by Flavor - 11-15-2018, 07:03 AM
RE: l2/r2 analog stick board - by Flavor - 11-15-2018, 08:00 AM
RE: l2/r2 analog stick board - by stevo619 - 11-15-2018, 02:15 PM
RE: l2/r2 analog stick board - by Flavor - 11-16-2018, 06:48 AM
RE: l2/r2 analog stick board - by Boyfinn - 04-18-2020, 08:08 PM
RE: l2/r2 analog stick board - by nuke_arg - 05-24-2020, 10:16 AM
RE: l2/r2 analog stick board - by Flavor - 05-26-2020, 12:12 AM
RE: l2/r2 analog stick board - by nuke_arg - 05-26-2020, 02:05 AM
RE: l2/r2 analog stick board - by nuke_arg - 05-26-2020, 11:39 AM
RE: l2/r2 analog stick board - by Porcinus - 05-27-2020, 02:57 PM
RE: l2/r2 analog stick board - by Flavor - 05-30-2020, 02:25 AM
RE: l2/r2 analog stick board - by nuke_arg - 05-29-2020, 09:49 AM
RE: l2/r2 analog stick board - by Porcinus - 05-29-2020, 12:04 PM
RE: l2/r2 analog stick board - by Flavor - 05-30-2020, 02:27 AM
RE: l2/r2 analog stick board - by nuke_arg - 05-30-2020, 07:53 AM
RE: l2/r2 analog stick board - by Porcinus - 05-30-2020, 10:26 AM
RE: l2/r2 analog stick board - by nuke_arg - 05-30-2020, 10:50 AM
RE: l2/r2 analog stick board - by Porcinus - 05-30-2020, 10:12 PM
RE: l2/r2 analog stick board - by Porcinus - 05-30-2020, 10:40 PM
RE: l2/r2 analog stick board - by nuke_arg - 05-31-2020, 08:07 AM
RE: l2/r2 analog stick board - by Porcinus - 05-31-2020, 11:32 AM
RE: l2/r2 analog stick board - by OnlyCatapults - 07-27-2021, 01:47 AM
RE: l2/r2 analog stick board - by Flavor - 07-27-2021, 01:52 AM
RE: l2/r2 analog stick board - by OnlyCatapults - 07-27-2021, 02:08 AM
RE: l2/r2 analog stick board - by OnlyCatapults - 07-27-2021, 03:16 AM
RE: l2/r2 analog stick board - by Flavor - 07-27-2021, 09:34 AM
RE: l2/r2 analog stick board - by OnlyCatapults - 07-27-2021, 03:01 PM
RE: l2/r2 analog stick board - by OnlyCatapults - 08-07-2021, 08:40 AM
RE: l2/r2 analog stick board - by Flavor - 08-07-2021, 09:19 AM
RE: l2/r2 analog stick board - by OnlyCatapults - 08-07-2021, 09:48 AM
RE: l2/r2 analog stick board - by abd333 - 01-21-2022, 10:18 AM
RE: l2/r2 analog stick board - by Flavor - 01-22-2022, 06:39 AM
RE: l2/r2 analog stick board - by abd333 - 01-22-2022, 09:13 AM

Forum Jump:


Users browsing this thread: 7 Guest(s)