My build (now with secondary shoulder buttons!)
#11
Oh yeah! Nice work!

We're still putting in some work on the analog, but I think it'll work well sometime soon here.
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
#12
(05-19-2018, 02:04 AM)Flavor Wrote:
(05-18-2018, 11:25 AM)wegener.eric@gmail.com Wrote: Awesome, thanks so much for the quick response. I believe I did my install using that SD image, so theoretically I'll just need to change the config file, wire up the buttons and I'll be good to go. I've got the mcp3008 AD chip that I planned on using for the PSP analog stick, I've read that some folks have been able to make that work but not sure of the specifics involved in coding to do so.

That MCP3008 chip should work okay, but you'd have to add it to the mk_arcade_joystick_rpi code if you wanted it to be a new function of the current joystick.  I am planning on using a different i2c chip and adding that to the code.  I already have some code that queries the values from the chip, but it's not at all integrated into the joy driver code.  I don't know how soon that will happen.

So what is the process for updating the mk_arcade_joystick_rpi to have my additional buttons working. Too noobish to understand your earlier response.
Reply
#13
(05-24-2018, 12:04 PM)strongbad Wrote:
(05-19-2018, 02:04 AM)Flavor Wrote:
(05-18-2018, 11:25 AM)wegener.eric@gmail.com Wrote: Awesome, thanks so much for the quick response. I believe I did my install using that SD image, so theoretically I'll just need to change the config file, wire up the buttons and I'll be good to go. I've got the mcp3008 AD chip that I planned on using for the PSP analog stick, I've read that some folks have been able to make that work but not sure of the specifics involved in coding to do so.

That MCP3008 chip should work okay, but you'd have to add it to the mk_arcade_joystick_rpi code if you wanted it to be a new function of the current joystick.  I am planning on using a different i2c chip and adding that to the code.  I already have some code that queries the values from the chip, but it's not at all integrated into the joy driver code.  I don't know how soon that will happen.

So what is the process for updating the mk_arcade_joystick_rpi to have my additional buttons working. Too noobish to understand your earlier response.

If you're on the newest image, it should be as simple as quitting emulationstation, entering this command (below), rebooting and re-mapping your controls in emulationstation. That's all I had to do.

sudo sh -c 'echo "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" >> /etc/modprobe.d/mk_arcade_joystick.conf'
Reply
#14
Probably use > instead of >> so it overwrites the file.
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
#15
I must have an older image. Ran your code now it recognizes no inputs unless it’s my USB keyboard. Ugh.
Reply
#16
I think this is the old version, so I hope it gets you back working...

sudo sh -c 'echo "options mk_arcade_joystick_rpi map=4 gpio=4,17,6,5,19,26,16,24,23,18,15,14,-20" > /etc/modprobe.d/mk_arcade_joystick.conf'
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
#17
Back in business. Thanks! Any way to get the updates in an older image without rewriting? I got my CM3 maybe 2-3 months ago .
Reply
#18
Typically, I would say YES. In theory, you can use the RetroPie menu system to do updates. The only problem is with the joystick driver, and there is a fairly simple way to update that (after you update everything else).

However, with this latest RetroPie 4.4 update, I have heard that a lot of people "break" their installs when updating. RetroPie seems to recommend that you do a fresh install. Of course, then, you'd need to move/copy all your stuff from the old SD to the new SD. I think it can be a hassle.

If all you wanted was the additional button support, you could get/install that from GitHub.

From memory, it would go something like this

cd /home/pi/Freeplay/
mv mk_arcade_joystick_rpi mk_arcade_joystick_rpi_OLD
git clone https://github.com/TheFlav/mk_arcade_joystick_rpi.git
cd mk_arcade_joystick_rpi
chmod a+x ./install.sh
./install.sh




After that, you could 'nano /etc/modprobe.d/mk_arcade_joystick.conf' and edit it accordingly (and reboot for it to take effect).
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
#19
Finally got a chance to run all this. L2/R2 working like a charm. I’ll post a pic of the build soon.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)