setting joystick constants