Game port

  • Thread starter Thread starter Jabax
  • Start date Start date
J

Jabax

Hi all,
How do you read data from the game port? Specifically, I want to read
the analog values from the port. Does VB.NET have a function to do
this? Thanks for any help.
J
 
Armin,Thanks for your quick response. The info on the link that you
provided is a great overview of DirectX. Unfortunately, (for me) the
examples are in C/C++ and I don't know enough about those languages to
port the examples to VB. Do you know of some site where I can get
examples? Thanks! J
 
j scholz said:
Armin,Thanks for your quick response. The info on the link that
you provided is a great overview of DirectX. Unfortunately, (for me)
the examples are in C/C++ and I don't know enough about those
languages to port the examples to VB. Do you know of some site where
I can get examples? Thanks! J

Yes, sorry, I should have mentioned...:

1st, You should download the DirectX SDK to create DirectX applications. It
contains samples for VB.Net and DirectInput. Unfortunatelly, the download is
quite large (~186 MB), and you can not download parts of it:

http://msdn.microsoft.com/library/default.asp?url=/downloads/list/directx.asp

2nd, the SDK contains the documentation for C++ and for the managed
environment, that means for VB.Net. Unfortunatelly (again), the managed docs
are still incomplete, as you can obviously see here:

http://msdn.microsoft.com/library/en-us/directx9_m/directx/input/directinputroadmap.asp

You will have to get the knowledge from the C++ DirectX documentation.
That's why my first post pointed you to the C++ docs but not to the managed
docs.

3rd, there's a group for MDX (managed DirectX) questions:
microsoft.public.win32.programmer.directx.managed


I hope this helps a bit further.

--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html
 
Armin,
Thanks for the additional help. I have downloaded the SDK and will take
a look at it. It wouldn't hurt me to learn a little bit about C/C++.
J
 
Back
Top