• Advertisement
Sign in to follow this  

gameport in windows (help plz)

This topic is 4767 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement