USB or Other Port Code

new topic     » topic index » view thread      » older message » newer message

I didn't find anything searching for "USB" in the Archive. I wonder if
somebody here knows what it would take to create a program to receive
data from the USB port. And what would it take to build a device to
connect to the USB port to give that program something to do. :)

I did find some parallel port code in the Archive, however, and am
interestedly looking it over. Alas, I don't think I have anything
connected to my parallel port. I think my printer is connected via USB.

Finally, what about the gameport?

What I'm looking to do is plug something into one of these ports and
have a program "sendkeys" when it receives a response.

Let's say it's a joystick... When I push the stick up, I'd like the
program to receive that and then, for instance, send a keypress of
"X" to the PC (and it to the keyboard buffer or whatever).

Anybody have some clues to get me started?! :)

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu