name = InGameTransmissionControls
widgets = 8
background = box.png
dialog = false

[ widget-00 ]
type = label
name = InGameTransmissionControls
text = Assign Transmission Controls
center = 0.5, 0.1
width = auto
height = auto
fontsize = 9
enabled = 0
selected = 0
default = 0
cancel = 0

[ widget-01 ]
type = controlgrab
name = InGameShiftUpControl
text = Shift Up
tip = The shift up control changes the car's gear to the next one.
setting = disengage_shift_up
center = 0.5, 0.30
width = auto
height = auto
fontsize = 6
enabled = 1
selected = 1
default = 0
cancel = 0

[ widget-02 ]
type = controlgrab
name = InGameShiftDownControl
text = Shift Down
tip = The shift down control changes the car's gear to the previous one.
setting = disengage_shift_down
center = 0.5, 0.34
width = auto
height = auto
fontsize = 6
enabled = 1
selected = 0
default = 0
cancel = 0

[ widget-03 ]
type = controlgrab
name = InGameEngageClutchControl
text = Engage Clutch
tip = The engage clutch control lets out the clutch. This must be done after every shift.
setting = engage
center = 0.5, 0.38
width = auto
height = auto
fontsize = 6
enabled = 1
selected = 0
default = 0
cancel = 0

[ widget-04 ]
type = controlgrab
name = InGameAnalogClutchControl
text = Analog Clutch
tip = The analog clutch control can allow you to use an external clutch pedal.
setting = clutch
center = 0.5, 0.42
width = auto
height = auto
fontsize = 6
enabled = 1
selected = 0
default = 0
cancel = 0

[ widget-05 ]
type = button
name = InGameGearsButton
text = Gears
tip = Assign inputs to each of the gear actions.
action = InGameGearsControls
center = 0.5, 0.52
color = 0.0, 0.0, 0.8
width = auto
height = auto
fontsize = 7
enabled = 1
selected = 0
default = 0
cancel = 0

[ widget-06 ]
type = button
name = InGameTransmissionControlsOKButton
text = OK
tip = Save changes and return to Car Controls menu.
action = InGameCarControls
center = 0.4, 0.64
color = 0.0, 0.8, 0.0
width = auto
height = auto
fontsize = 7
enabled = 1
selected = 0
default = 1
cancel = 0

[ widget-07 ]
type = button
name = InGameTransmissionControlsCancelButton
text = Cancel
tip = Forget changes and return to Car Controls menu.
action = InGameCarControls
center = 0.6, 0.64
color = 0.8, 0.0, 0.0
width = auto
height = auto
fontsize = 7
enabled = 1
selected = 0
default = 0
cancel = 1
