You can get a USB master shield for the Arduino
cheaply enough. You can then use the Arduino's
PWM output and analog input to translate joystick
to DC voltage.
One would need to put a lowpass filter on the PWM
output. Another option would be to use a multiplying
D/A instead for the output. I don't recall the output
frequency of the PWM but the response time of
the filter might limit the use of PWM for translating
joystick operation.
Dwight
________________________________
From: cctalk <cctalk-bounces at classiccmp.org> on behalf of Mark Wickens <mark
at wickensonline.co.uk>
Sent: Sunday, September 11, 2016 2:28:03 AM
To: 'General Discussion: On-Topic and Off-Topic Posts'
Subject: Using a modern USB joystick on a vintage computer (Atari compatible)
I've seen plenty of examples of adapters to use a vintage joystick with
a modern computer.
I'd like the opposite - to use a USB controller with a vintage computer
(Atari compatible - for example ZX Spectrum, Commodore 64). Does anyone
know of an adapter or a homebrew project?
Thanks, Mark.