Jump to content

  • Log In with Google      Sign In   
  • Create Account

win32 Joystick input in VB5


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 Diego   Members   -  Reputation: 122

Posted 07 September 1999 - 06:53 AM

I'm working on a simple game and I want to add joystick support, or more specifically support for a game pad. However, when I set it up in my game (using the joygetpos function from win32). My game pad is configured correctly, or so windows says. To test out what was going wrong, I set up a small program that read the x position and y position and showed them on the screen. I found that my gamepad returned an X value about 32000 when I wasn't doing anything, and then flickered other numbers when i moved the control pad. The y position didn't respond at all. My question is: is this how all gamepads operate? or is it just something wrong with my gamepad? I'd like to know before writing code to get around it. Also, I've recalibrated this thing more times then I can count, so that doesn't help. thanx

------------------
<Diego>


Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS