|
-
Aug 25th, 2000, 04:01 AM
#1
Thread Starter
Member
Can anyone tell me how I could recognise the fire buttons being pressed on a game pad?
Preferably by just using one of the Windows .dlls (i.e. not Direct X), but if I have to Direct X.
All Help Gratefully Received!
Stevie P
~~~
-
Aug 27th, 2000, 12:08 PM
#2
Addicted Member
It can be done with Windows APIs. I have never done it myself so I will just name the APIs and then you can go on to the API Viewer and experiment with them. Here they are: JoyGetDevCaps, JoyGetNumDevs and JoyGetPos. This is everything you need to use the gamepad/joystick.
-
Aug 31st, 2000, 01:44 AM
#3
New Member
joystick
follow this link. It has a brief explanation of those commands and an example. http://www.vbapi.com/ref/funca.html
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
|