Game port to USB adapter

What are you developing?
Post Reply
arpruss
Posts: 87
Joined: Sat Sep 30, 2017 3:34 am

Game port to USB adapter

Post by arpruss » Wed Nov 22, 2017 6:22 am

I have an old joystick with a game port interface, so I wrote a quick sketch to adapt it to USB with a black pill and my fork of the addMidiHID branch. The sketch includes the (very simple) wiring instructions. You can get a female gameport for $1 for five on aliexpress.

Of course, one can buy a gameport to USB adapter, but this is a bit cheaper and you can tweak the mappings.

User avatar
zoomx
Posts: 540
Joined: Mon Apr 27, 2015 2:28 pm
Location: Mt.Etna, Italy

Re: Game port to USB adapter

Post by zoomx » Wed Nov 22, 2017 7:44 am

Wow! An easy adapter that can be easily.... adpated to other joypad and joystick. You can add autofire also!

arpruss
Posts: 87
Joined: Sat Sep 30, 2017 3:34 am

Re: Game port to USB adapter

Post by arpruss » Wed Nov 22, 2017 6:33 pm

I made a library for reading data from the PC game port, Wii Nunchuck and GameCube controllers, and moved the sketch into it as an example: https://github.com/arpruss/GameControllersSTM32

Post Reply