I know it might be a bit off-topic, as I'd expect this list to be
programming only.
I'd like to make a USB-joystick, but also a "USB Nerd Port", which
means:
A connection via the USB-interface, which handles multiple digital and
analogue inputs and outputs.
For example...
A USB - to - 9-pin "joystick" port, which I can read pin 1 as up, 2 as
down, 3 as left, 4 as right, 5 as pot A, 6 as fire, 9 as pot B. pin 7
should be 5V DC and pin8 should be GND.
I'd like to be able to read the 'analog' value of pin 1-4 and 6, so I
get a value between 0 and 255.
Furthermore, I'd like it to be possible to 'set' the voltage on pin 1-4
and 6 to a value between (n * 5V / 255).
-So in fact, I'm looking for an easy way to read analog and digital
values using USB, as we don't have things like a gameport on the Mac.
I've heard that there are ready-made serial USB chips availablee, but I
don't know anything else about it.
What I'm really up to, is to make a port, where "everything is
allowed"; short-circuiting pins and connecting LEDs to pins directly,
just like the Atari 130XE and 800XL could be set to control gadgets via
the joystick ports.
I hope this explains my plans well enough. ;)
Any help will be greatly appreciated! =)
Love,
Jens
_______________________________________________
usb mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/usb
Do not post admin requests to the list. They will be ignored.