No announcement yet.

Joystick button trapping

  • Filter
  • Time
  • Show
Clear All
new posts

  • Joystick button trapping

    Bear with me. I'm new to PB/DLL. I previously used PB3.5 for DOS.
    I have a program for the DOS compiler that uses the joystick port
    to synchronize serial port events with another external event. I
    would like to be able to do the same with PB/DLL. I would like to
    for two reasons. One, I would like to use a GUI interface and two,
    I have a Comtrol Rocketport card that I can access through a fossil
    driver in DOS, but if I use a DOS shell under windows they are not
    accessable. Well, I now have the GUI interface and the control of
    the Rocketports. I just don't know of a way to access the joystick
    port. Any suggestions?


  • #2
    There doesn't seem to be any information on this in the Win32.hlp file, but there
    is a handy-dandy set of joystick APIs provided by Windows. There's some information
    on the subject here:

    Tom Hanlin
    PowerBASIC Staff


    • #3

      e-mail: [email protected]