Solved

Joystick control using DirectX 11 in VB.NET

Posted on 2013-11-07
1
1,783 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
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now