Jump to content

View more

Image of the Day

#ld38 #screenshotsaturday Mimosa Fizz action gif #2 https://t.co/TUzdppvfUL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

win32 Joystick input in VB5

4: Adsense

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   

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>





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.