![]() |
|
|||||||
| Technical threads All discussions about technical issues |
|
|
Thread Tools | Display Modes |
|
#4
|
|||
|
|||
|
Quote:
the left ministick on the gamepad controls x and y axis the right ministick on the gamepad controls roll and z axis. So, this is what i did for elevator trim. I post below. when I move the left ministick down in the y axis direction, an audible "click" is made and my elevator trim is adjusted by 10% for climb. If I keep holding the stick, 1 second later another audible "click" is heard and my elevator trim is adjusted to 20%....and so on and so on until I release my ministick. Now, I want to neutral my elevator trim...so I press the button on top of the x/y ministick and my elevator trim is now neutral. Now, I want to trim for dive, I move my ministick up....and it's the same way as for climb. See my other posts for glovepie on this board to figure other stuff out. I go take nap now. *ELEVATOR TRIM if (said("nose up",5) or helddown(joystick2.Pov1=180.00,.1 second)) and var.etlock<1 then var.etlock=var.etlock+.1 say"click" wait .25 second elseif (said("nose down",5) or helddown(joystick2.Pov1=0.00,.1 second)) and var.etlock>-1 then var.etlock=var.etlock-.1 say"click" wait .25 second elseif said("elevator trim neutral",5) or said("all trims neutral",5) or said("neutral",5) or released(joystick2.Button11) var.etlock=0 say"elevator trim neutral" elseif said("climb",6) var.etlock=.4 say"climb" elseif said("dive",5) var.etlock=-.4 say"dive" elseif said("full elevator trim",5) var.etlock=1 say"full elevator trim" endif if var.etlock>1 then var.etlock=1 elseif var.etlock<-1 then var.etlock=-1 endif *OUTPUT TO GAME AXIS PPJoy1.Analog7=joystick1.y+var.etlock/*Joystick3+AXE_RY=1trimelevator*/ |
|
|