Re: USB or Other Port Code

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

cklester wrote:

<snip>

> 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?! :)
> 

I think this site has everything you will ever need to know:
http://www.epanorama.net/documents/joystick/pc_joystick.html#programming

Irv

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

Search



Quick Links

User menu

Not signed in.

Misc Menu