473,386 Members | 1,819 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Joystick / games port support

Does .net have support for this. I wrote some code to drive a model
train under vb6 (I think I used a third party control) but cannot find
anything under .net (or at least anything that makes sense to me!)

Thanks

jack Russell
Sep 12 '07 #1
2 1981
"Jack Russell" <ja***@norubbish.tpg.com.auschrieb
Does .net have support for this. I wrote some code to drive a model
train under vb6 (I think I used a third party control) but cannot
find anything under .net (or at least anything that makes sense to
me!)

P-invoke:
http://msdn2.microsoft.com/en-us/library/ms709368.aspx
Or use managed DirectX:
http://www.microsoft.com/downloads/d...displaylang=en

MDX group: microsoft.public.win32.programmer.directx.managed
Armin

Sep 12 '07 #2
Armin Zingler wrote:
"Jack Russell" <ja***@norubbish.tpg.com.auschrieb
>Does .net have support for this. I wrote some code to drive a model
train under vb6 (I think I used a third party control) but cannot
find anything under .net (or at least anything that makes sense to
me!)

P-invoke:
http://msdn2.microsoft.com/en-us/library/ms709368.aspx
Or use managed DirectX:
http://www.microsoft.com/downloads/d...displaylang=en
MDX group: microsoft.public.win32.programmer.directx.managed
Armin
Thanks Armin,

I was hoping there was something built into .net rather than having to
use the API or DirectX.

Thanks anyway,

Jack Russell
Sep 12 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

761
by: Neo-LISPer | last post by:
Hey Recently, I researched using C++ for game programming and here is what I found: C++ game developers spend a lot of their time debugging corrupted memory. Few, if any, compilers offer...
1
by: Bleedledeep | last post by:
I am new to C#/.NET/DirectX, and could not find a simple example of how to read the X/Y location of the joystick. < YIKES!!! The DirectX.DirectInput is one serious pile of API! > After some...
2
by: PawelR | last post by:
Hello group, My English is very little. I want same samples about programming joysticks connected to USB port. If you can help me please send same adresses or samples. Thx PawelR
1
by: Hermanutz | last post by:
Hello, I'm look after a commercial joystick driver controlled by my application (determine the number of axis, determine the number of buttons, transmit axis values and button values). I thing,...
2
by: Vicente Nicolau | last post by:
Hello, I'm implementig a C# app in which I need to access to a Joystick. Nowadays I'm using the DirectInput class for getting the actual joystick position, but trhough polling. I would like...
2
by: Vicente Nicolau | last post by:
Is there any way to recieve events from a joystick and to hadle them using C#??? Without using pulling.... Thanks.
1
by: Vicente Nicolau | last post by:
All example codes I found with DirectX or XNA access the joystick by pulling... ?? is there anybody who has been able to use the joystick with events (with C#)?? Is it possible? If it is not...
0
by: sukhdeep | last post by:
hello, i do not have any idea about usb port programming. please tell me how i can read the usb joystick data by using Visual Basic. if any body have idea.please inform me at...
1
by: 200dogz | last post by:
Hi, I have a Windows Form Application with one button and a textbox. How should I approach if I want the program to display the X value of a joystick plugged in the USB port of the PC when the...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.