Joypad Object (possible) bug
I have 2 different game pad things, one that looks like a PS2 controller, and one of those Microsoft Sidewinder joysticks.
I have 4 USB ports, but I only have 2 free ones right now. I made a small app where active objects will 'light up' when the joypad object's corresponding joypad was 'inplugged'.
When I plug my controller into slot 2, the second one lights up, when I plug it into slot 1, nothing happens. When I plug the joystick into slot 1, the first one lights up, when I plug it into slot 2, nothing happens. It's as if they don't like being in each other's USB port, and refuse to work unless they get their special spot. I'm a bit confused about that.
Re: Joypad Object (possible) bug
Is it my joypad object you're talking about?
Re: Joypad Object (possible) bug
It sounds like it, from the term 'inplugged' (that's one of the most fantastic terms I've ever seen :) )
Does Windows recognize them as being present when they're in the 'wrong' ports?
Re: Joypad Object (possible) bug
Quote:
Originally Posted by z33z
Is it my joypad object you're talking about?
Yup, that's the one.
Quote:
Originally Posted by DavidN
It sounds like it, from the term 'inplugged' (that's one of the most fantastic terms I've ever seen :) )
Does Windows recognize them as being present when they're in the 'wrong' ports?
It makes the Bu dU noise.
Re: Joypad Object (possible) bug
The problem is that I've only got one joypad so I can't test it. But I can look at the code and see if I notice any problems.
Could you send the test application?
Re: Joypad Object (possible) bug
http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=66505#Post66505
Here's what I do, I plug in my gamepad into slot 1, then start the app, it says it is 'inplugged' into #2, no matter what USB port it is in. Then I un plug it and put it into slot 2, doesn't show up. Then I close the app, and start it up again, it shows it being there, in #2, even though it is in a different USB port. So then I plug in my Joystick as well, it doesn't show up. I close it, then start it up again, it shows both are 'inplugged', but if I swap the ports they're plugged into, neither one shows up. But again, if I restart the app, they show up.