Results 1 to 3 of 3

Thread: Using Game Port

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 1999
    Location
    UK
    Posts
    45

    Talking

    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
    ~~~

  2. #2
    Addicted Member hypnos's Avatar
    Join Date
    Aug 2000
    Location
    UK
    Posts
    183

    Wink

    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.

  3. #3
    New Member
    Join Date
    Aug 2000
    Posts
    2

    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
  •  



Click Here to Expand Forum to Full Width