global
{
  free_shifting=1
}
controllers
{
  mouse
  {
    enable=1
  }
  keyboard
  {
    enable=1
    change_camera
    {
      axis=
      min=0
      max=1000
      button=-1
      pov=-1
      negate=0
      make_analog=0
      linearity=1.000000
      sensitivity_rise=0.000000
      sensitivity_fall=0.000000
      key=c
    }
  }
  joystick0
  {
    enable=1
    index=0
    ; Extensions; 1=Logitech LEDs
    extensions=1
	name=Logitech G27
    ; For the G27, set it to full 900 degree lock and let Racer handle the degree conversion internally
    lock=900
    force_feedback=1
    kerb_magnitude_factor=1
    kerb_period_factor=1
    max_torque=20
    max_force=10000
    deadzone=0
    latency=0
    ; Friction when going fast
    friction=2000
    ; Friction when going slow
    stick_friction=4000
    damping=1000
    inertia=1000
    steerleft
    {
      axis=x
      min=-1000
      max=0
      button=-1
      pov=-1
      negate=0
      make_analog=0
      linearity=1.000000
      sensitivity_rise=0.000000
      sensitivity_fall=0.000000
      key=
    }
    steerright
    {
      axis=x
      min=0
      max=1000
      button=-1
      pov=-1
      negate=0
      make_analog=0
      linearity=1.000000
      sensitivity_rise=0.000000
      sensitivity_fall=0.000000
      key=
    }
    throttle
    {
      axis=y
      min=-1000
      max=1000
      button=-1
      pov=-1
      negate=1
      make_analog=0
      linearity=1.000000
      sensitivity_rise=0.000000
      sensitivity_fall=0.000000
      key=
    }
    brakes
    {
      axis=rz
      min=-1000
      max=1000
      button=-1
      pov=-1
      negate=1
      make_analog=0
      linearity=1.000000
      sensitivity_rise=0.000000
      sensitivity_fall=0.000000
      key=
    }
    shiftup
    {
      axis=
      min=0
      max=1000
      button=4
      pov=-1
      negate=0
      make_analog=0
      linearity=1.000000
      sensitivity_rise=0.000000
      sensitivity_fall=0.000000
      key=
    }
    shiftdown
    {
      axis=
      min=0
      max=1000
      button=5
      pov=-1
      negate=0
      make_analog=0
      linearity=1.000000
      sensitivity_rise=0.000000
      sensitivity_fall=0.000000
      key=
    }
    clutch
    {
      axis=slider1
      min=-1000
      max=1000
      button=-1
      pov=-1
      negate=1
      make_analog=0
      linearity=1.000000
      sensitivity_rise=0.000000
      sensitivity_fall=0.000000
      key=
    }
    handbrake
    {
      axis=
      min=0
      max=1000
      button=22
      pov=-1
      negate=0
      make_analog=1
      linearity=1.000000
      sensitivity_rise=5.000000
      sensitivity_fall=50.000000
      key=
    }
    starter
    {
      axis=
      min=0
      max=1000
      button=21
      pov=-1
      negate=0
      make_analog=0
      linearity=1.000000
      sensitivity_rise=0.000000
      sensitivity_fall=0.000000
      key=
    }
    shift_r
    {
      axis=
      min=0
      max=1000
      button=14
      pov=-1
      negate=0
      make_analog=0
      linearity=1.000000
      sensitivity_rise=0.000000
      sensitivity_fall=0.000000
      key=
    }
    shift_1
    {
      axis=
      min=0
      max=1000
      button=8
      pov=-1
      negate=0
      make_analog=0
      linearity=1.000000
      sensitivity_rise=0.000000
      sensitivity_fall=0.000000
      key=
    }
    shift_2
    {
      axis=
      min=0
      max=1000
      button=9
      pov=-1
      negate=0
      make_analog=0
      linearity=1.000000
      sensitivity_rise=0.000000
      sensitivity_fall=0.000000
      key=
    }
    shift_3
    {
      axis=
      min=0
      max=1000
      button=10
      pov=-1
      negate=0
      make_analog=0
      linearity=1.000000
      sensitivity_rise=0.000000
      sensitivity_fall=0.000000
      key=
    }
    shift_4
    {
      axis=
      min=0
      max=1000
      button=11
      pov=-1
      negate=0
      make_analog=0
      linearity=1.000000
      sensitivity_rise=0.000000
      sensitivity_fall=0.000000
      key=
    }
    shift_5
    {
      axis=
      min=0
      max=1000
      button=12
      pov=-1
      negate=0
      make_analog=0
      linearity=1.000000
      sensitivity_rise=0.000000
      sensitivity_fall=0.000000
      key=
    }
    shift_6
    {
      axis=
      min=0
      max=1000
      button=13
      pov=-1
      negate=0
      make_analog=0
      linearity=1.000000
      sensitivity_rise=0.000000
      sensitivity_fall=0.000000
      key=
    }
    shift_7
    {
      axis=
      min=0
      max=1000
      button=0
      pov=-1
      negate=0
      make_analog=0
      linearity=1.000000
      sensitivity_rise=0.000000
      sensitivity_fall=0.000000
      key=
    }
    shift_8
    {
      axis=
      min=0
      max=1000
      button=1
      pov=-1
      negate=0
      make_analog=0
      linearity=1.000000
      sensitivity_rise=0.000000
      sensitivity_fall=0.000000
      key=
    }
    shift_9
    {
      axis=
      min=0
      max=1000
      button=2
      pov=-1
      negate=0
      make_analog=0
      linearity=1.000000
      sensitivity_rise=0.000000
      sensitivity_fall=0.000000
      key=
    }
    speedlimiter
    {
      axis=
      min=0
      max=1000
      button=19
      pov=-1
      negate=0
      make_analog=0
      linearity=1.000000
      sensitivity_rise=0.000000
      sensitivity_fall=0.000000
      key=
    }
    pov_yaw
    {
      axis=
      min=0
      max=1000
      button=7
      pov=-1
      negate=0
      make_analog=0
      linearity=1.000000
      sensitivity_rise=0.000000
      sensitivity_fall=0.000000
      key=
    }
    pov_pitch
    {
      axis=
      min=0
      max=1000
      button=6
      pov=-1
      negate=0
      make_analog=0
      linearity=1.000000
      sensitivity_rise=0.000000
      sensitivity_fall=0.000000
      key=
    }
    lights
    {
      axis=
      min=0
      max=1000
      button=20
      pov=-1
      negate=0
      make_analog=0
      linearity=1.000000
      sensitivity_rise=0.000000
      sensitivity_fall=0.000000
      key=
    }
  }
}
