gameport in windows (help plz)

Started by
2 comments, last by SirLuthor 19 years, 3 months ago
Hi there, I'm new in here. The question is: How to use gameport in windows without any external libs support(or at least with minimal). Tnx in advance.
Advertisement
If by gameport you mean joystick, just use DirectInput (DirectX). Basically every Windows machine has it and it's not hard to use *just* DirectInput (or *just* any element of DirectX) if you don't want to yet implement DX graphics, sound, etc.
Yes, I second the suggestion to use DirectInput, directly coding for joystick interfaces without support libraries is something which is practically impossible nowadays due to the way Windows & devices works.

-Mezz
Another good reason to use DirectInput is, that at least from the outside (haven't gone to much into it myself, actually) look remarkably easy to get up and running, with minimal code. It's just a matter of knowing what to do, and for this, I would recommend a book. Cheers!
Free speech for the living, dead men tell no tales,Your laughing finger will never point again...Omerta!Sing for me now!

This topic is closed to new replies.

Advertisement