Using the Boffintronics C64 / Atari Joystick Adapter with a Raspberry Pi


There have been a few questions about how to hook up the Boffintronics C64 / Atari Joystick Adapter to a Raspberry Pi. Here is a quickstart guide to get you up and running so you can enjoy all of that retro computing magic!

1. Plug in the Boffintronics C64/Atari adapter to the Raspberry Pi using the GPIO Ribbon Cable.

Make sure that Pin 1 on the Pi is connected to Pin 1 on the adapter board. The picture below has Pin 1 on the top of both boards.C64toPiwiring

2. Install Retrogame from Adafruit.

SSH into your Pi
Run the following at the prompt

curl >

Then run

sudo bash

Select option 3

3. Replace /boot/retrogame.cfg with the retrogame.cfg file from here and reboot.

I have the joysticks mapped to the following keyboard keys

UP J1 Up
DOWN J1 Down
8J2 Up
2J2 Down
4J2 Left
6J2 Right

You can change the keyboard keys to anything that you want in the retrogame.cfg file, just don’t change the column of numbers that set up the GPIO. Those are mapped to the proper signal lines on the joystick ports on the adapter.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s