View Single Post
  #1   Spotlight this post!  
Unread 27-10-2002, 21:54
Ian W. Ian W. is offline
College? What?
no team (Gompei and the Herd)
Team Role: College Student
 
Join Date: Jan 2002
Rookie Year: 2002
Location: Worcester, MA | Smithtown, NY
Posts: 1,464
Ian W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to all
Send a message via AIM to Ian W.
Programming for a Gameport

Yet another crazy idea from team 810. this time, instead of the serial port, we need help with the gameport. my friend found out how to hook up two joy sticks to the gameport, and has some crazy idea for a program. i can't say what it is, for that will ruin the surprise.

basically, what i need is a simple way (prefereablly just a console app) that can read the gameport. something similar to the serial white paper (the author's name escapes me at the moment) would help a lot. we do know how to make it work if we were to use two serial ports, but we're not sure if that's possible (i think it is, but i can't be sure).

so, if anyone has any information on how to use the gameport in a C++ program, or how to set up a joystick on a serial port (i'm not sure how you would read back analog values), i'd be very thankful.
__________________
AIM --> Woloi
Email --> ian@woloschin.com