|
-
Oct 28th, 2004, 02:15 PM
#1
Thread Starter
Frenzied Member
joyGetPosEx
Hey,
I am using that joystick to retrieve when a button is being pressed on a device.
It works fine when it is connected to the game port.
I am using one that is connected to an adapter which in turn is plugged into an USB port.
The function doesn't return anything.
How can I find out whether a user has pressed anything with the joystick is USB??
Thanks,
Don't anthropomorphize computers -- they hate it
-
Oct 28th, 2004, 02:27 PM
#2
you would probably be much better off using DirectX (DirectInput) for joystick inputs... i think those joystick apis you are using are pretty outdated and probably don't extend to the functionality of USB pads that are plug and play with directX
-
Oct 28th, 2004, 03:53 PM
#3
Thread Starter
Frenzied Member
I have never worked with directx.
Do you know of any tutorials that I can take a look at?
Any links would be greatly appreciated.
Don't anthropomorphize computers -- they hate it
-
Oct 28th, 2004, 04:04 PM
#4
well first off i would recommend using directX 7 or 8 instead of directX9
reason being is that if you are making a game (i guess since you are talking about a joystick and foot pedal objects ) some users video cards may not support directX9, but its backwards compatible with 7 or 8 so basically if you used 7 then people with 7, 8, and 9 should have no problems, and you aren't losing any functionality in the newer versions i dont think because usually its more to do with graphics than input
but really i guess it depends on the case...
as far as links... the best to give you is MS
http://www.microsoft.com/downloads/s...n&categoryid=2
the SDKs (for 9 at least) have .NET samples, i honestly don't know if you can even download a DX7 SDK anymore... anyways hope this helps a little
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|