VOGONS


First post, by Xnyle

User metadata
Rank Newbie
Rank
Newbie

I just spent the last two hours searching the inter-nets for sone info about USB->Gameport (NOT Gameport->USB) adapters and came up with nothing.

Serioulsy, nobody else want's to use modern Joysticks/Gamepads on old computers?

Or is there some device like the Tom for the Amiga, just for the Gameport and I just didn't find it?

I found USBDOS though but that seems rather beta, I doubt it will work in old games.

Reply 1 of 9, by Jo22

User metadata
Rank l33t++
Rank
l33t++

To be honest, I've never even thought about this.
It's a cool idea, though. And a great exercise for a weekend project. 😎

It should be possible to use something like an Arduino Leonardo for that purpose.
If I'm not mistaken, that model has a true USB controller to emulate HID devices.

Maybe it could be reprogrammed to operate in reverse, converting a HID device, like an USB joystick
to an anlogue game pad.

It would essentially provide signals for the digital buttons and two analogue axis unsing the PWM/analogue pins.
This would also require a bit of external electronic on a shield, like some relays/optoinsulators for emulating the
digital gameport buttons and some resistors for the axis.

If only a simple gamepad is to be emulated, a simple d-pad (four directions) could be simulated by
using some simple resistors with fixed values. These would have to be "turned on" by using transistors/a shift register.

A more elegant idea would be to use some special hi-fi ICs for volume control, but I don't know much about them.
Anyway, that's just an idea.

Converting USB to Gameport shouldn't be hard with todays microcontrollers,
you'll only need the "know-how" to do it. 😉

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 2 of 9, by madrobby

User metadata
Rank Newbie
Rank
Newbie
Xnyle wrote:

Serioulsy, nobody else want's to use modern Joysticks/Gamepads on old computers?

Just did the same search and I’m really surprised that no one has anything for this. I’d love to use modern gamepads like an Xbox One controller with my old PCs.

Most ideally a converter for this would also have a pass through AT & PS/2 keyboard plug and make the buttons on the joystick programmable as keyboard keys (programming could perhaps happen with a modern PC).

Reply 3 of 9, by root42

User metadata
Rank l33t
Rank
l33t
madrobby wrote:
Xnyle wrote:

Serioulsy, nobody else want's to use modern Joysticks/Gamepads on old computers?

Just did the same search and I’m really surprised that no one has anything for this. I’d love to use modern gamepads like an Xbox One controller with my old PCs.

Most ideally a converter for this would also have a pass through AT & PS/2 keyboard plug and make the buttons on the joystick programmable as keyboard keys (programming could perhaps happen with a modern PC).

Even better if there also was a converter to other old 9 pin joystick porta. E.g. I want a new gamepad for my Genesis...

YouTube and Bonus
80486DX@33 MHz, 16 MiB RAM, Tseng ET4000 1 MiB, SnarkBarker & GUSar Lite, PC MIDI Card+X2+SC55+MT32, OSSC

Reply 4 of 9, by collector

User metadata
Rank l33t
Rank
l33t

Note for questions involving old hardware a systems you should ask in Marvin. This forum is for old Windows games on *modern* systems. Marvin, the Paranoid Android

The Sierra Help Pages -- New Sierra Game Installers -- Sierra Game Patches -- New Non-Sierra Game Installers

Reply 6 of 9, by firage

User metadata
Rank Oldbie
Rank
Oldbie
root42 wrote:

Even better if there also was a converter to other old 9 pin joystick porta. E.g. I want a new gamepad for my Genesis...

The Genesis had good pads available for it. The good ones are among the best d-pad controller ever made.

Emulating a d-pad with a modern analog controller can only be terrible, and modern d-pads are no upgrade from original hardware. The biggest potential here is probably in emulating an analog joystick for racing games and such, all kinds of stuff had joystick support.

My big-red-switch 486

Reply 7 of 9, by root42

User metadata
Rank l33t
Rank
l33t
firage wrote:
root42 wrote:

Even better if there also was a converter to other old 9 pin joystick porta. E.g. I want a new gamepad for my Genesis...

The Genesis had good pads available for it. The good ones are among the best d-pad controller ever made.

Emulating a d-pad with a modern analog controller can only be terrible, and modern d-pads are no upgrade from original hardware. The biggest potential here is probably in emulating an analog joystick for racing games and such, all kinds of stuff had joystick support.

Yes, but what if the original pads are worn out or broken? What would you recommend as a replacement?

YouTube and Bonus
80486DX@33 MHz, 16 MiB RAM, Tseng ET4000 1 MiB, SnarkBarker & GUSar Lite, PC MIDI Card+X2+SC55+MT32, OSSC

Reply 8 of 9, by BeginnerGuy

User metadata
Rank Oldbie
Rank
Oldbie

I really like Jo22's idea. I don't have a little SBC to mess with but I don't see why this couldn't be done. I wouldn't mind using an xbox controller to play some DOOM 😜. I've been considering buying a raspberry pi just because why not anyway. I'm not aware of how I would interface with the HID controller (read joy position or button state) at the moment, furthest I've gone in recent years has been using SDL to poll the controller.

I could fathom exactly how I would write the driver for it on the DOS, I would want to design it so any basic scratch Joy/2 button gamepad driver works, I've written my own joy drivers many a time.

As far as joysticks though I haven't been studying these things for years, old analog joysticks have a potentiometer + capacitor and you simply time how long it takes to get a voltage out to your pin to calculate the position of the given axis (extremely CPU dependent because of the polling speed, hence the need for calibration). I think this could possibly be done in software on the SBC using delays, but would introduce a little input lag, hopefully not a noticeable amount.

Sup. I like computers. Are you a computer?

Reply 9 of 9, by KVM Nerd

User metadata
Rank Newbie
Rank
Newbie

There's a nice project on Github which does exactly what the OP wants, plus some additional stuff:

https://github.com/dekuNukem/USB4VC

It's based on the MCP 4451. I also had the idea to build something based on this chip family, but I haven't got time for it yet.

Why not hook it up to a KVM switch?