-
Joypad Problem
My game was working fine with a joypad until I switched PC's. Now the joypad doesnt work. I have run some tests and it seems that the joypad on this PC is detected as joypad 2. Is this a bug ? I dont want to have to reconfig the code for this. Can I manually force the joypad to be say input device 1..I can't find any way of doing this which works. (is there a way in windows to do this perhaps?)
Cheers in advance.
P.S>.its an Xbox joypad and I am using the standard joypad object for button presses.
-
Re: Joypad Problem
You can change Joypad input by pressing CTRL+Y during the runtime, or through the Player object in the event editor.
-
Re: Joypad Problem
Thanks but the thing is that all my code is set up for joypad 1 and basically mmf2(or windows?) isnt detecting that a joypad 1 exists, so it doesnt matter what boxes I tick in the players options, it simply wont find it.
-
Re: Joypad Problem
Problem solved. I re-installed the Microsoft drivers and now it all works.
-
Re: Joypad Problem
Ideally, your application should be able to be configured to use any joystick on the computer. Allow the user to specify what joystick to use, save the value to the hard drive in some way (array object for example) and load it back every time the application starts. Use that value in place of all events that refer to joystick 1. If you don't do this, I'm sure there will be a few complaints from anyone else who uses your program.