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

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

[ widget-01 ]
type = stringwheel
name = InGameControlsProfileWheel
text = Controls Profile
tip = Use a preset controls profile.
setting = control.profile
opts = 4
opt00 = keyboard
val00 = key
opt01 = mouse
val01 = mouse
opt02 = gamepad
val02 = pad
opt03 = steering wheel
val03 = wheel
center = 0.5, 0.25
width = auto
height = auto
fontsize = 6
enabled = 0
selected = 0
default = 0
cancel = 0

[ widget-02 ]
type = toggle
name = InGameAutoClutchToggle
setting = control.autoclutch
values = options
center = 0.5, 0.29
width = auto
height = auto
fontsize = 6
enabled = 1
selected = 1
default = 0
cancel = 0

[ widget-03 ]
type = button
name = InGameActionControlMapButton
text = Assign Controls
tip = Map keys, buttons and axes to actions in the game.
action = InGameAssignControls
center = 0.5, 0.4
color = 0.0, 0.0, 0.8
width = auto
height = auto
fontsize = 7
enabled = 1
selected = 0
default = 0
cancel = 0

[ widget-04 ]
type = button
name = InGameJoystickOptionsButton
text = Joystick Options
tip = Extra options for gamepad, joystick and steering wheel controls.
action = InGameJoystickOptions
center = 0.5, 0.5
color = 0.0, 0.0, 0.8
width = auto
height = auto
fontsize = 7
enabled = 1
selected = 0
default = 0
cancel = 0

[ widget-05 ]
type = button
name = InGameMouseOptionsButton
text = Mouse Options
tip = Extra options for mouse controls.
action = InGameMouseOptions
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-06 ]
type = button
name = InGameControlsOptionsOKButton
text = OK
tip = Save changes and return to Options menu.
action = InGameOptions
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-07 ]
type = button
name = InGameControlsOptionsCancelButton
text = Cancel
tip = Forget changes and return to Options menu.
action = InGameOptions
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
