Gezz I can't win at the moment can I? Okay here is my latest problem:
I bought a USB joypad (A Logic3 JP274 controler, similar in style to a PS2 controler). Windows says it is working perfectly and I can see all the buttons lightup, sticks move on the control panel program that is installed with the driver.
However Blitz can only see the 12 buttons and the right hand stick move left/right (but not up/down). It cannot appear to see the left stick at all. I am using a variation on the Joystick example in the help file as shown below.
Other software I have can see all the sticks and buttons. It appears to be only Blitz that has a problem. Also how do I read the main D-Pad? I cannot seem to read that at all! Also is there any of turning the vibration on at all?
Sorry for all the questions.
Max
Any ideas what is wrong?
I bought a USB joypad (A Logic3 JP274 controler, similar in style to a PS2 controler). Windows says it is working perfectly and I can see all the buttons lightup, sticks move on the control panel program that is installed with the driver.
However Blitz can only see the 12 buttons and the right hand stick move left/right (but not up/down). It cannot appear to see the left stick at all. I am using a variation on the Joystick example in the help file as shown below.
Other software I have can see all the sticks and buttons. It appears to be only Blitz that has a problem. Also how do I read the main D-Pad? I cannot seem to read that at all! Also is there any of turning the vibration on at all?
Sorry for all the questions.
Max
; Test Program 1 ; Joystick Testing Graphics 800,600 While Not KeyDown(1) ju#=JoyU() judir#=JoyUDir() jv#=JoyV() jvdir#=JoyVDir() jyaw#=JoyYaw() jpitch#=JoyPitch() jroll#=JoyRoll() jb1#=JoyDown(1) jb2#=JoyDown(2) jb3#=JoyDown(3) jb4#=JoyDown(4) jb5#=JoyDown(5) jb6#=JoyDown(6) jb7#=JoyDown(7) jb8#=JoyDown(8) jb9#=JoyDown(9) jb10#=JoyDown(10) jb11#=JoyDown(11) jb12#=JoyDown(12) Text 0,0,"Move Joystick To Output Values To Screen" Text 0,20,"JoyU()="+ju# Text 0,40,"JoyUDir()="+judir# Text 0,60,"JoyV()="+jv# Text 0,80,"JoyVDir()="+jvdir# Text 0,100,"Yaw="+jyaw# Text 0,120,"Pitch="+jpitch# Text 0,140,"Roll="+jroll# Text 0,160,"Button 1="+jb1# Text 0,180,"Button 2="+jb2# Text 0,200,"Button 3="+jb3# Text 0,220,"Button 4="+jb4# Text 0,240,"Button 5="+jb5# Text 0,260,"Button 6="+jb6# Text 0,280,"Button 7="+jb7# Text 0,300,"Button 8="+jb8# Text 0,320,"Button 9="+jb9# Text 0,340,"Button 10="+jb10# Text 0,360,"Button 11="+jb11# Text 0,380,"Button 12="+jb12# Flip Cls Wend End
Any ideas what is wrong?