Page 1 of 1
I2c button controls
Posted: Thu Dec 14, 2017 2:47 am
by erik_gee
I was wondering if anyone has written any code for the i2c control board that kitschbent has? I've used the search and found someone who made something for Arduino , but I was hoping to see if anyone has worked with connecting it straight to the pi? Admittedly I'm more of a hardware guy than a software , so my abilities are lacking a bit here to do it myself. Any help is appreciated !
Re: I2c button controls
Posted: Thu Dec 14, 2017 3:11 am
by VeteranGamer
erik_gee wrote: ↑Thu Dec 14, 2017 2:47 am
I was wondering if anyone has written any code for the i2c control board that kitschbent has? I've used the search and found someone who made something for Arduino , but I was hoping to see if anyone has worked with connecting it straight to the pi? Admittedly I'm more of a hardware guy than a software , so my abilities are lacking a bit here to do it myself. Any help is appreciated !
not sure if you came across these.....
https://github.com/recalbox/mk_arcade_joystick_rpi
viewtopic.php?f=38&t=691&start=10#p11908
viewtopic.php?f=38&t=691&start=20#p22929
viewtopic.php?f=38&t=691&start=10#p9577
edit: i think some of it also might be for arduino, so it may not all be of much help (but check it out if you havent seen them already)....
.
Re: I2c button controls
Posted: Thu Dec 14, 2017 11:17 am
by erik_gee
Thanks k you for those links veteran. I have seen them, the joystick library piqued my interest. When I looked more into it, it seemed a lot of people were having issues getting it to work. I looked at the code, and it helped get a better understanding if I should go the route of coding it myself. Was looking to see if anyone came up with a more watered down approach, as his code seemed to add a few more things that I was looking for.
I followed the kitschbent link you gave. Where I then followed another Google link on some basic examples of the ic. Also helped a bit, so thank you.
As of now it looks like I may have to lean more towards writing my own, which is a little daunting as I have not written for pi specifically before. So if anyone else has experience with this, please feel free to chime in
Re: I2c button controls
Posted: Sat Dec 23, 2017 8:48 pm
by nate325ic
nate325ic wrote: ↑Sat Oct 29, 2016 5:03 pm
for those who have bought this board and are looking for drivers i just got my gameboy zero up and running with this board and am using the controlblock drivers set to mame so its recognized as keyboard inputs. has been working with no issues so far
controlblock:
http://blog.petrockblock.com/2014/12/29 ... pberry-pi/
Re: I2c button controls
Posted: Sat Dec 23, 2017 8:58 pm
by erik_gee
nate325ic wrote: ↑Sat Dec 23, 2017 8:48 pm
nate325ic wrote: ↑Sat Oct 29, 2016 5:03 pm
for those who have bought this board and are looking for drivers i just got my gameboy zero up and running with this board and am using the controlblock drivers set to mame so its recognized as keyboard inputs. has been working with no issues so far
controlblock:
http://blog.petrockblock.com/2014/12/29 ... pberry-pi/
Thank you for that Info, I'll look into it !
Re: I2c button controls
Posted: Sun Dec 24, 2017 1:18 am
by YaYa
Erik_gee, could you confirm that it is working so i can save this post in the wiki for future people going the same way ?
Re: I2c button controls
Posted: Sun Dec 24, 2017 11:41 am
by erik_gee
YaYa wrote: ↑Sun Dec 24, 2017 1:18 am
Erik_gee, could you confirm that it is working so i can save this post in the wiki for future people going the same way ?
I won't be able to confirm it unfortunately as the port extender ic I ordered hasn't arrived yet

Re: I2c button controls
Posted: Sun Dec 24, 2017 11:44 am
by YaYa
Ok no worry, later, when you will have your port extender
