Directinput

  • Thread starter Thread starter Steve
  • Start date Start date
S

Steve

does anyone know where i can find an example of directinput for a joystick
on VB.NET. all the examples i can find apply to vb 6.0.

Thanks

Steve
 
but i can only find examples that relate to C#. im looking for VB.net
examples
 
Steve,

The sample from the JoyStick in the DirectX SDK 9c is probably very easy to
translate from C# to VBNet. (I did some of the others) .

You can use a converter, if you do not care about the syntax that is created
(The samples are probably translated C++ samples to C#, therefore it looks
in VBNet terrible). It will therefore as well not completly be converted.

Be aware that the referenced DLL in that sample is (probably) completly
unused, it is referenced so that you can direct remove it and have not to
search why it is in the sample.

I have no joystick on my computer so I cannot help you further.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top