He will need to use DirectInput, the game controller API which is part of DirectX. http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dx8_vb/dire ctx_vb/input_tut_vb_45eq.asp Regards Mike > -----Original Message----- > From: Donny Tan [SMTP:dtth@TM.NET.MY] > Sent: Tuesday, April 30, 2002 4:44 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: [OT]: Gameport > > On behalf of my colleague: > > "I am doing a project which is relevant to gameport interface. I face > the problem on reading analog input. One end of the potentiometer is > connected to +5V pin and the center pin is connected to analog pin of > the gameport. I do not use any joystick to test my gameport. I connect > the potentiometer to the gameport directly. However I don't know how to > read the value of analog input by using program written in Visual Basic. > Besides that, I have download a joystick test program called Jcenter.exe > from CH product. I am not really understand how it works. Does anyone > know about it or any source code that I can refer to? " > > > regards, > Donny Tan > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body