1. USB or Other Port Code
- Posted by cklester <cklester at yahoo.com> May 30, 2004
- 519 views
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?! :)
2. Re: USB or Other Port Code
- Posted by irv mullins <irvm at ellijay.com> May 30, 2004
- 512 views
cklester wrote: > > > 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. :) <snip> > > Anybody have some clues to get me started?! :) > For USB, see http://www.activewireinc.com/ They have interface boards and drivers you can download for Win, Linux, BSD, Mac, along with some examples you can learn from. Irv
3. Re: USB or Other Port Code
- Posted by irv mullins <irvm at ellijay.com> May 30, 2004
- 490 views
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
4. Re: USB or Other Port Code
- Posted by cklester <cklester at yahoo.com> May 30, 2004
- 507 views
irv mullins wrote: > > cklester wrote: > > > > I didn't find anything searching for "USB" in the Archive. > > > For USB, see <a > href="http://www.activewireinc.com/">http://www.activewireinc.com/</a> > They have interface boards and drivers you can download for Win, > Linux, BSD, Mac, along with some examples you can learn from. Thanks, Irv!