Hi Deathsnake,
You have not mentioned if you have tried making a few changes to the code and see what happens? I donât have time to do much here.
But for example have you found in your ps2 code where the square button is currently processed? It looks like:
if (DualShock(2).bit7 = 0) and LastButton(1).bit7 then ;Square Button test
...
endif
One easy thing to do here is to toggle on and off a mode. Define a variable: maybe something like: AutoMode var byte;
The code in the test above could be as simple as: Automode = AutoMode ^1
Or if you donât like using the operator something like:
if AutoMode
Automode = 0
else
Automode = 1
Then if you look farther down in the code you will see a label: NoSound1
Here you notice it is taking the PS2 inputs to set some variables in the code [code] YSpeed = DualShock(3) - 128 ; Right Stick Horizontal
XSpeed = DualShock(4) - 128 ; Right Stick Vertical
Steering = DualShock(5) - 128 ; Left Stick Horizontal
StepFlag = (GaitSpeedTmp - 2) max 3
if HeightAdjust or LockLegs then
Height = LastHeight + (((DualShock(6) - 128) / 5) - LastHeight) / StepFlag; Left Stick Vertical
endif
Height = (Height Max HeightLimit) min - HeightLimit
[/code]
Well try putting this code user the condition that:
if AutoMode then
XSpeed = ???
YSpeed = ???
Steering = ???
Height = ???
else
endif
That hopefully should get you started. That is all for now
Kurt