Need Help About Joystick

Hi everyone , i need help with joystick. I have bought Logitech Extreme 3D Pro Joystick , and i have some questions.

First , in my project we have a simple plane system. Turn Straight right - left , Turn with degree right-left (roll), Go down - up

Now , when i pull my joystick thing camera looks up , ok . When i push it camera goes down , it’s ok. When i move it right camera moves right with a degree. And when i move it left camera moves left with a degree , it’s ok too.

But , when i move my joystick to the left , while i push it (like to the left top corner ) my camera goes down and turns with degree and it’s being very hard to adjust it’s original position , so i don’t want corner movements , how can i do it with that input thing in unity ?

Can you post the code you are using to control the plane?

ok , one of my friend sent it to me , i think this is from this forum or somewhere else i dunno

var YawSpeed = 30.0;
var RollSpeed = 30.0;
var GoUpDownSpeed = 16;
var Acceleration = 0.1;
var MaxSpeed = 40;
private var Speed = 0.0;

function Update(){

transform.Translate(Vector3.forward * Speed * Time.deltaTime);

if(Input.GetAxis("Accelerate")){Speed = Speed + Acceleration;}
if(Input.GetAxis("Decelerate")){Speed = Speed - Acceleration;}

transform.Rotate(0,Input.GetAxis("Yaw") * YawSpeed * Time.deltaTime,0);
transform.Rotate(0,0,Input.GetAxis("Roll") * RollSpeed* Time.deltaTime);
transform.Rotate(Input.GetAxis("GoUpDown") * GoUpDownSpeed *2 * Time.deltaTime,0,0);


if(Speed >= MaxSpeed){Speed=MaxSpeed;}


if(Speed <= (MaxSpeed / 3)){
rigidbody.useGravity = true;
}else{rigidbody.useGravity = false;}




}