Handle the joystick with events (DirectInput and C#)
- From: "Vicente Nicolau" <vinigal@xxxxxxxxxx>
- Date: Wed, 31 Jan 2007 13:03:25 +0100
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 to do it through event, i.e., when you move the joystick, it
send to the app an event or message which you can hand with a handler.
The old joystick API has been superseded by DirectInput, and I have read
that with the joystick API you can read the messages from the joystick (but
not with C#).
But with DirectInput I have found nothing about theses messajes, only with
pulling...
Can anyone help me?
Thank you very much.
.
- Follow-Ups:
- Re: Handle the joystick with events (DirectInput and C#)
- From: DeveloperX
- Re: Handle the joystick with events (DirectInput and C#)
- Prev by Date: Re: Process Fails while calling Start
- Next by Date: Re: VS2K5 doesn't compile/execute latest code
- Previous by thread: Re: Get Culture Info from Language Name
- Next by thread: Re: Handle the joystick with events (DirectInput and C#)
- Index(es):