name = InGameCarControls
widgets = 10
background = box.png
dialog = false

[ widget-00 ]
type = label
name = InGameCarControls
text = Assign Car 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 = InGameGasControl
text = Gas
tip = The gas control causes the car to speed up.
setting = gas
analog = 1
center = 0.5, 0.30
spacing = 0.2
width = auto
height = auto
fontsize = 6
enabled = 1
selected = 1
default = 0
cancel = 0

[ widget-02 ]
type = controlgrab
name = InGameBrakeControl
text = Brake
tip = The brake control causes the car to slow down.
setting = brake
analog = 1
spacing = 0.2
center = 0.5, 0.34
width = auto
height = auto
fontsize = 6
enabled = 1
selected = 0
default = 0
cancel = 0

[ widget-03 ]
type = controlgrab
name = InGameSteerLeftControl
text = Steer Left
tip = The steer left control causes the car to turn left.
setting = steer_left
analog = 1
center = 0.5, 0.38
spacing = 0.2
width = auto
height = auto
fontsize = 6
enabled = 1
selected = 0
default = 0
cancel = 0

[ widget-04 ]
type = controlgrab
name = InGameSteerRightControl
text = Steer Right
tip = The steer right control causes the car to turn right.
setting = steer_right
analog = 1
center = 0.5, 0.42
spacing = 0.2
width = auto
height = auto
fontsize = 6
enabled = 1
selected = 0
default = 0
cancel = 0

[ widget-05 ]
type = controlgrab
name = InGameStartEngineControl
text = Start Engine
tip = The start engine control will restart the engine if it stalls.
setting = start_engine
analog = 0
center = 0.5, 0.46
spacing = 0.2
width = auto
height = auto
fontsize = 6
enabled = 1
selected = 0
default = 0
cancel = 0

[ widget-06 ]
type = controlgrab
name = HandbrakeControl
text = Handbrake
tip = The handbrake locks up the back wheels; very helpful for drifting.
setting = handbrake
analog = 1
center = 0.5, 0.50
spacing = 0.2
width = auto
height = auto
fontsize = 6
enabled = 1
selected = 0
default = 0
cancel = 0

[ widget-07 ]
type = button
name = InGameTransmissionButton
text = Transmission
tip = Assign inputs to actions related to the transmission.
action = InGameTransmissionControls
center = 0.5, 0.6
color = 0.0, 0.0, 0.8
width = auto
height = auto
fontsize = 7
enabled = 1
selected = 0
default = 0
cancel = 0

[ widget-08 ]
type = button
name = InGameCarControlsOKButton
text = OK
tip = Save changes and return to in-game Assign Controls menu.
action = InGameAssignControls
center = 0.4, 0.7
color = 0.0, 0.8, 0.0
width = auto
height = auto
fontsize = 7
enabled = 1
selected = 0
default = 1
cancel = 0

[ widget-09 ]
type = button
name = InGameCarControlsCancelButton
text = Cancel
tip = Forget changes and return to in-game Assign Controls menu.
action = InGameAssignControls
center = 0.6, 0.7
color = 0.8, 0.0, 0.0
width = auto
height = auto
fontsize = 7
enabled = 1
selected = 0
default = 0
cancel = 1
