Solved

Joystick control using DirectX 11 in VB.NET

Posted on 2013-11-07
1
1,910 Views
Last Modified: 2013-11-08
Can I read input from a USB joystick in VB.NET VS2010 on Windows 7 64 bit machine. I am trying to utilize the Microsoft.DirectX.DirectInput framework but having no success. Should I be looking into the XNA framework? I ran dxdiag and it shows that DirectX 11 is installed but where are the dll references? Please Help
0
Comment
Question by:gprodri
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
gprodri earned 0 total points
ID: 39634020
I was able to read input for a USB joystick using DirectX.DirectInput by
1. Downloading DirectX SDK from http://www.microsoft.com/en-us/download/confirmation.aspx?id=6812
2. Creating VB.Net Project in VS2010 Framework 4.0 with help from sample code at http://settorezero.blogspot.com/2010/11/using-joysticks-from-vbnet.html
3. Applying the following to the project's app.config file
  <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
  </startup>
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question