Solved

Joystick control using DirectX 11 in VB.NET

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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 …
It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

707 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