473,396 Members | 1,935 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,396 software developers and data experts.

Joystick controls

I want to know how to have my visual basic .net program to
be able to tell when a joystick button is pressed and
raise an event?
Thanks
Nov 20 '05 #1
2 2263
> I want to know how to have my visual basic .net program to
be able to tell when a joystick button is pressed and
raise an event?


It looks like a job for DirectX.
You may also try to declare API functions from winmm.dll (joyGetPosEx,
joyReleaseCapture, joySetCapture...), but this is only a guess, I didn't use
this before in .NET

sincerely,
--
Sebastian Zaklada
Skilled Software
http://www.skilledsoftware.com
************************************
SQL Source Control 2003 - for
SQL Server Source Safe integration
and custom databases documentation
Nov 20 '05 #2
* "Regan Hurd" <Re****@wmis.net> scripsit:
I want to know how to have my visual basic .net program to
be able to tell when a joystick button is pressed and
raise an event?


<http://groups.google.com/groups?selm=O%24%23P2UqLDHA.704%40tk2msftngp13.phx .gbl>

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #3

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

Similar topics

2
by: Michel Rouzic | last post by:
I got an unsupported joystick, a Gravis Blackhawk ADB (Aplle Desktop Bus), connected to my PC by an iMate (ADB to USB adapter). The problem is that it's only recognized as a HID mouse how can i...
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...
0
by: CForrester | last post by:
Hey there, I'm trying to emulate a joystick throttle using keyboard keys. For example: ` = 0%, 1 = 10%, 2 = 20%, 3 = 30%, 4 = 40%, 5 = 50%, 6 = 60%, 7 = 70%, 8 = 80%, 9 = 90%, 0 = 100% My...
0
by: Hermanutz | last post by:
Hello, do anybody know if there exist a component, which emulate a physical joystick? And the component be able to configured (add axis, buttons...) through ActiveX or DotNet... Background,...
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: Dhanu225 | last post by:
Hi all, Please help me to get the throttle control of joystick (zPos) using VB6.0. I got other information about buttons and joystick position using JoyInformation function in "Winmm.dll". Please...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.