// JP opened flex table

Click to See Complete Forum and Search --> : Coding a Digital gamepad Driver


xp190
September 19th, 2004, 02:06 PM
Hi

First time poster here, and a newbie to windows programming, especially XP, which is my main problem right now.

I am trying to figure out how to write a driver, using DDK for windows XP for a digital gamepad that I have as a project for my own learning experiance.

The gamepad connects to the game port commonly found on sound cards, not usb, and so far all the documentation I found was for USB.

I was wondering if anyone could point me in the right direction as where to start. I have looked over the DDK examples, but I am still trying to figure them out.

My my concern right now is how I should access the game port in order to determine what information is stored on the gamepad. Sort of like port i/o which I was able to do on earlier versions of windows, however in xp, I am completely lost.

I would really appreciate any links or code that would show me how to access the gameport, not necessairly written for a driver, but just so I can see what's going on in it, this would be the base for my project, I think once I have that part figured out it will be much easier for me to move it into a driver and go from there.

I'm using MSVC 6, and I have the latest DDK. Any help in getting this started will be greatly appreciated.

Thanking you in advance

xp190

//JP added flex table