GithubHelp home page GithubHelp logo

starplayrx / 9-pin-joystick-to-usb-adapter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from monsterjoysticks/9-pin-joystick-to-usb-adapter

0.0 0.0 0.0 132 KB

Firmware for the 9 Pin Joystick to USB Adapter

License: GNU General Public License v3.0

C 51.03% Assembly 48.36% Makefile 0.61%

9-pin-joystick-to-usb-adapter's Introduction

9 Pin Joystick to USB Adapter

Firmware for the 9 Pin Joystick to USB Adapter https://monsterjoysticks.com/9-pin-joystick-to-usb-adapter

I was getting constant UP UP UP pressed contantly without no controllers attached with Stella on Linux arm64 on a Raspberry Pi5.

This PCB worked about 20% of the time for me.

I removed the auto detect and turned on all bits.

UP UP UP issue was resolved.

Atari 2600 controller works as expected. I don't know why the original just didn't turn on all the bits for the DB9 port. Original code seems be overly complicated / over engineered.

Only the db9.c file was patched.

References: https://github.com/qmk/qmk_firmware/blob/master/docs/flashing_bootloadhid.md

db9 pcb from UK: https://monsterjoysticks.com/9-pin-joystick-to-usb-adapter

BootloadHID website: https://www.obdev.at/products/vusb/bootloadhid.html

The coolest part, HID Example projects: https://www.obdev.at/products/vusb/projects.html

You can use the adapter to connect any of the following devices via USB

  • Mini Monster Retro Gaming Joystick
  • Atari 2600 Joysticks
  • Atari ST Compatible Joysticks
  • Amiga Compatible Joysticks
  • Commodore 64 Compatible Joysticks
  • SEGA Master System Controllers
  • SEGA MegaDrive/Genesis Controllers (3 & 6 Button variants)
  • Amiga CD32 (Hold up when connecting USB to enable CD32 Compatibility) [This may not work with this fork]

The adapter is detected as a USB HID joystick and is compatible with the following;

  • Windows
  • MacOS
  • Ubuntu on Intel and RaspberryPi5 arm64.

Updating the Firmware

Once you have compiled the firmware hex file you can use the BootloadHID https://www.obdev.at/products/vusb/bootloadhid.html command line utility to flash the file to the device via USB.

You will just need to change the position of the small switch on the device so that it is closer to the 9 pin connector and then connect the device to your computer via USB. once connected the bootloadhid software should be able to flash the device, you can then return the switch to it's original position and reconnect the USB cable.

9-pin-joystick-to-usb-adapter's People

Contributors

monsterjoysticks avatar starplayrx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.