My build (now with secondary shoulder buttons!)
#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


Messages In This Thread
RE: My build (now with secondary shoulder buttons!) - by wegener.eric@gmail.com - 05-24-2018, 12:13 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)