###############################################################################
#                                                                             #
#                                ControlDefs                                  #
#                                                                             #
###############################################################################

[ControlDefs]

	[ControlDef]
	# Summary
	# --------
	# Left Right Up Down Jump
	# Throw Drop Use Collect ForcedThrow
	# ThrowAlt DropAlt UseAlt ForcedThrowAlt
	# 
	# CancelUse CancelMenu
	#
	# Grab Ungrab GrabPrevious GrabNext PushEnter
	#
	# Enter Exit
	#
	# NextCrew PreviousCrew
	#
	# MenuCancel MenuOK MenuDown MenuUp MenuLeft MenuRight MenuSelect
	# ObjectMenuCancel ObjectMenuOK ObjectMenuSelect ObjectMenuSelectAll
	# ObjectMenuDown ObjectMenuUp ObjectMenuLeft ObjectMenuRight
	# PlayerMenu 
	#
	# CursorPos
	#
	# Contents
	#
	# ZoomIn ZoomOut
	#
	# with Mouse
	# ---------------
	# Aim GUICursor GUIClick1 GUIClick2 WheelZoomIn WheelZoomOut
	#
	# Gamepad controls
	# -------------------------------------
	# ThrowDelayed ThrowAltDelayed
	# UseDelayed UseAltDelayed
	# AimUp AimDown AimLeft AimRight
	# AimAxisUp AimAxisDown AimAxisLeft AimAxisRight
	# 
	# with Keyboard
	# ------------------
	# Hotkey0-9
	# PlayerHotkey0-9
	# DropHotkey0-9
	# Hotkey0-9Select
	# Hotkey0-9SelectAlt
	# InteractionHotkey0-9
	
	[ControlDef]
	Identifier=Aim
	DefaultDisabled=1

	[ControlDef]
	Identifier=GUICursor
	DefaultDisabled=1
	CoordinateSpace=Viewport
	
	[ControlDef]
	Identifier=AimUp
	DefaultDisabled=1
	Hold=1
	
	[ControlDef]
	Identifier=AimDown
	DefaultDisabled=1
	Hold=1
	
	[ControlDef]
	Identifier=AimLeft
	DefaultDisabled=1
	Hold=1
	
	[ControlDef]
	Identifier=AimRight
	DefaultDisabled=1
	Hold=1
	
	[ControlDef]
	Identifier=AimAxisUp
	GUIName=$CON_AimAxisUp$
	Hold=1
	
	[ControlDef]
	Identifier=AimAxisDown
	GUIName=$CON_AimAxisDown$
	Hold=1
	
	[ControlDef]
	Identifier=AimAxisLeft
	GUIName=$CON_AimAxisLeft$
	Hold=1
	
	[ControlDef]
	Identifier=AimAxisRight
	GUIName=$CON_AimAxisRight$
	Hold=1
	
	# Movement
	
	[ControlDef]
	Identifier=Left
	Hold=1

	[ControlDef]
	Identifier=Right
	Hold=1
	
	[ControlDef]
	Identifier=Up
	Hold=1

	[ControlDef]
	Identifier=Down
	Hold=1

	[ControlDef]
	Identifier=Jump
	GUIName=$CON_Jump$
	GUIDesc=$CON_Jump_Desc$
	
	# Inventory
	
	[ControlDef]
	Identifier=Throw
	GUIName=$CON_Throw$
	GUIDesc=$CON_Throw_Desc$
	Hold=1
	
	[ControlDef]
	Identifier=ForcedThrow
	Hold=1
	
	[ControlDef]
	Identifier=ThrowDelayed
	GUIName=$CON_Throw$
	GUIDesc=$CON_Throw_Desc$
	Hold=1

	[ControlDef]
	Identifier=Drop
	GUIName=$CON_Drop$
	GUIDesc=$CON_Drop_Desc$
	Hold=1

	[ControlDef]
	Identifier=Collect
	
	[ControlDef]
	Identifier=ThrowAlt
	GUIName=$CON_ThrowAlt$
	GUIDesc=$CON_ThrowAlt_Desc$
	Hold=1
	
	[ControlDef]
	Identifier=ForcedThrowAlt
	Hold=1
	
	[ControlDef]
	Identifier=ThrowAltDelayed
	GUIName=$CON_ThrowAlt$
	GUIDesc=$CON_ThrowAlt_Desc$
	Hold=1

	[ControlDef]
	Identifier=DropAlt
	GUIName=$CON_DropAlt$
	GUIDesc=$CON_DropAlt_Desc$
	Hold=1
	
	# Hotkeys (Inventory)
	
	[ControlDef]
	Identifier=Hotkey1
	GUIName=$CON_Hotkey1$
	Hold=1
	
	[ControlDef]
	Identifier=Hotkey2
	GUIName=$CON_Hotkey2$
	Hold=1
	
	[ControlDef]
	Identifier=Hotkey3
	GUIName=$CON_Hotkey3$
	Hold=1
	
	[ControlDef]
	Identifier=Hotkey4
	GUIName=$CON_Hotkey4$
	Hold=1
	
	[ControlDef]
	Identifier=Hotkey5
	GUIName=$CON_Hotkey5$
	Hold=1
	
	[ControlDef]
	Identifier=Hotkey6
	GUIName=$CON_Hotkey6$
	Hold=1
	
	[ControlDef]
	Identifier=Hotkey7
	GUIName=$CON_Hotkey7$
	Hold=1
	
	[ControlDef]
	Identifier=Hotkey8
	GUIName=$CON_Hotkey8$
	Hold=1
	
	[ControlDef]
	Identifier=Hotkey9
	GUIName=$CON_Hotkey9$
	Hold=1
	
	[ControlDef]
	Identifier=Hotkey0
	GUIName=$CON_Hotkey0$
	Hold=1
	
	[ControlDef]
	Identifier=DropHotkey1
	
	[ControlDef]
	Identifier=DropHotkey2
	
	[ControlDef]
	Identifier=DropHotkey3
	
	[ControlDef]
	Identifier=DropHotkey4
	
	[ControlDef]
	Identifier=DropHotkey5
	
	[ControlDef]
	Identifier=DropHotkey6
	
	[ControlDef]
	Identifier=DropHotkey7
	
	[ControlDef]
	Identifier=DropHotkey8
	
	[ControlDef]
	Identifier=DropHotkey9
	
	[ControlDef]
	Identifier=DropHotkey0
	
	[ControlDef]
	Identifier=Hotkey1Select
	
	[ControlDef]
	Identifier=Hotkey1SelectAlt
	
	[ControlDef]
	Identifier=Hotkey2Select
	
	[ControlDef]
	Identifier=Hotkey2SelectAlt
	
	[ControlDef]
	Identifier=Hotkey3Select
	
	[ControlDef]
	Identifier=Hotkey3SelectAlt
	
	[ControlDef]
	Identifier=Hotkey4Select
	
	[ControlDef]
	Identifier=Hotkey4SelectAlt
	
	[ControlDef]
	Identifier=Hotkey5Select
	
	[ControlDef]
	Identifier=Hotkey5SelectAlt
	
	[ControlDef]
	Identifier=Hotkey6Select
	
	[ControlDef]
	Identifier=Hotkey6SelectAlt
	
	[ControlDef]
	Identifier=Hotkey7Select
	
	[ControlDef]
	Identifier=Hotkey7SelectAlt
	
	[ControlDef]
	Identifier=Hotkey8Select
	
	[ControlDef]
	Identifier=Hotkey8SelectAlt
	
	[ControlDef]
	Identifier=Hotkey9Select
	
	[ControlDef]
	Identifier=Hotkey9SelectAlt
	
	[ControlDef]
	Identifier=Hotkey0Select
	
	[ControlDef]
	Identifier=Hotkey0SelectAlt
	
	# Controlling (contents, vehicles, structures)
	
	[ControlDef]
	Identifier=Use
	GUIName=$CON_Use$
	GUIDesc=$CON_Use_Desc$
	Hold=1
	SendCursorPos=1
	
	[ControlDef]
	Identifier=UseDelayed
	GUIName=$CON_Use$
	GUIDesc=$CON_Use_Desc$
	Hold=1
	SendCursorPos=1
	
	[ControlDef]
	Identifier=CancelUse
	
	[ControlDef]
	Identifier=CancelMenu
	GUIName=$CON_MenuCancel$
	
	[ControlDef]
	Identifier=UseAlt
	GUIName=$CON_UseAlt$
	GUIDesc=$CON_UseAlt_Desc$
	Hold=1
	SendCursorPos=1
	
	[ControlDef]
	Identifier=UseAltDelayed
	GUIName=$CON_UseAlt$
	GUIDesc=$CON_UseAlt_Desc$
	Hold=1
	SendCursorPos=1
	
	[ControlDef]
	Identifier=Contents
	GUIName=$CON_Contents$
	GUIDesc=$CON_Contents_Desc$
	SendCursorPos=1
	
	[ControlDef]
	Identifier=Grab
	SendCursorPos=1
	Hold=1
	
	[ControlDef]
	Identifier=Ungrab
	Hold=1
	
	[ControlDef]
	Identifier=GrabPrevious
	
	[ControlDef]
	Identifier=GrabNext
	
	[ControlDef]
	Identifier=PushEnter
	Hold=1

	[ControlDef]
	Identifier=Interact
	SendCursorPos=1
	Hold=1
	
	[ControlDef]
	Identifier=Enter
	SendCursorPos=1
	Hold=1
	
	[ControlDef]
	Identifier=Exit
	Hold=1
	
	
	# Interaction Hotkeys (lower bar)
	
	[ControlDef]
	Identifier=InteractionHotkey1
	SendCursorPos=1
	
	[ControlDef]
	Identifier=InteractionHotkey2
	SendCursorPos=1
	
	[ControlDef]
	Identifier=InteractionHotkey3
	SendCursorPos=1
	
	[ControlDef]
	Identifier=InteractionHotkey4
	SendCursorPos=1
	
	[ControlDef]
	Identifier=InteractionHotkey5
	SendCursorPos=1
	
	[ControlDef]
	Identifier=InteractionHotkey6
	SendCursorPos=1
	
	[ControlDef]
	Identifier=InteractionHotkey7
	SendCursorPos=1
	
	[ControlDef]
	Identifier=InteractionHotkey8
	SendCursorPos=1
	
	[ControlDef]
	Identifier=InteractionHotkey9
	SendCursorPos=1
	
	[ControlDef]
	Identifier=InteractionHotkey0
	SendCursorPos=1
	
	# Crew 
	
	[ControlDef]
	Identifier=NextCrew
	GUIName=$CON_NextCrew$
	GUIDesc=$CON_NextCrew_Desc$
	
	[ControlDef]
	Identifier=PreviousCrew
	GUIName=$CON_PreviousCrew$
	GUIDesc=$CON_PreviousCrew_Desc$
	
	[ControlDef]
	Identifier=PlayerHotkey1
	
	[ControlDef]
	Identifier=PlayerHotkey2
	
	[ControlDef]
	Identifier=PlayerHotkey3
	
	[ControlDef]
	Identifier=PlayerHotkey4
		
	[ControlDef]
	Identifier=PlayerHotkey5
		
	[ControlDef]
	Identifier=PlayerHotkey6
		
	[ControlDef]
	Identifier=PlayerHotkey7
	
	[ControlDef]
	Identifier=PlayerHotkey8
 
	[ControlDef]
	Identifier=PlayerHotkey9
	
	[ControlDef]
	Identifier=PlayerHotkey0
	
	
	# Menu control
	
	[ControlDef]
	Identifier=GUIClick1
	DefaultDisabled=1
	Hold=1
	CoordinateSpace=Viewport

	[ControlDef]
	Identifier=GUIClick2
	DefaultDisabled=1
	Hold=1
	CoordinateSpace=Viewport
	
	[ControlDef]
	Identifier=MenuOK
	GUIName=$CON_MenuOK$
	GUIDesc=$CON_MenuOK_Desc$
	Action=MenuOK
	
	[ControlDef]
	Identifier=MenuCancel
	GUIName=$CON_MenuCancel$
	GUIDesc=$CON_MenuCancel_Desc$
	Action=MenuCancel
	
	[ControlDef]
	Identifier=MenuLeft
	Action=MenuLeft
	
	[ControlDef]
	Identifier=MenuRight
	Action=MenuRight
	
	[ControlDef]
	Identifier=MenuUp
	Action=MenuUp
	
	[ControlDef]
	Identifier=MenuDown
	Action=MenuDown
	
	# hardcoded identifier called by engine mouse control - do not change!
	
	[ControlDef]
	Identifier=ObjectMenuOK
	GUIName=$CON_MenuOK$
	Action=ObjectMenuOK
	
	[ControlDef]
	Identifier=ObjectMenuOKAll
	GUIName=$CON_MenuOKAll$
	Action=ObjectMenuOKAll
	
	[ControlDef]
	Identifier=ObjectMenuSelect
	GUIName=$CON_MenuSelect$
	GUIDesc=$CON_MenuSelect_Desc$
	Action=ObjectMenuSelect
	
	[ControlDef]
	Identifier=ObjectMenuCancel
	GUIName=$CON_MenuCancel$
	GUIDesc=$CON_MenuCancel_Desc$
	Action=ObjectMenuCancel
	
	[ControlDef]
	Identifier=ObjectMenuLeft
	Action=ObjectMenuLeft
	
	[ControlDef]
	Identifier=ObjectMenuRight
	Action=ObjectMenuRight
	
	[ControlDef]
	Identifier=ObjectMenuUp
	Action=ObjectMenuUp
	
	[ControlDef]
	Identifier=ObjectMenuDown
	Action=ObjectMenuDown
	
	# control sent by engine along controls with SendCursorPos=1
	[ControlDef]
	Identifier=CursorPos
	CoordinateSpace=Viewport
	
	# Extra buttons...
	
	[ControlDef]
	Identifier=PlayerMenu
	GUIName=$CON_PlayerMenu$
	GUIDesc=$CON_PlayerMenu_Desc$
	Action=Menu
	
	# Viewport Zoom
	
	[ControlDef]
	Identifier=ZoomIn
	GUIName=$CON_ZoomIn$
	GUIDesc=$CON_ZoomIn_Desc$
	Action=ZoomIn
	Hold=1
	RepeatDelay=3
	
	[ControlDef]
	Identifier=ZoomOut
	GUIName=$CON_ZoomOut$
	GUIDesc=$CON_ZoomOut_Desc$
	Action=ZoomOut
	Hold=1
	RepeatDelay=3
	
	[ControlDef]
	Identifier=WheelZoomIn
	GUIName=$CON_ZoomIn$
	GUIDesc=$CON_ZoomIn_Desc$
	Action=ZoomIn
	
	[ControlDef]
	Identifier=WheelZoomOut
	GUIName=$CON_ZoomOut$
	GUIDesc=$CON_ZoomOut_Desc$
	Action=ZoomOut

	
	
	
	
	
	
	
	
	
	

###############################################################################
#                                                                             #
#                                  ControlSets                                #
#                                                                             #
###############################################################################
 
[ControlSets]

	# ======================================================================= #
	#                   Mouse control with keyboard (QWERTY)                  #
	# ======================================================================= #

	[ControlSet]
	Name=WASD_Hotkeys_IntQueue_MouseCon_
	GUIName=$SET_WASD_QWERTZ$
	Keyboard=1
	Mouse=1
	Gamepad=0
	
		# Contents Menu
		
		[Assignment]
		Key=E
		Control=Contents
		GUIGroup=50

		# Menu

		[Assignment]
		Key=F
		Control=PlayerMenu
		GUIGroup=50
  
		[Assignment]
		Key=Space
		Priority=100
		Control=MenuOK
		GUIGroup=50
		
		[Assignment]
		Key=BackSpace
		Priority=100
		Control=MenuCancel
		GUIGroup=50

		# Movement
		
		[Assignment]
		Key=A
		Priority=50
		GUIName=$KEY_Left$
		GUIDesc=$KEY_Left_Desc$
		GUIGroup=10
		Control=Left

		[Assignment]
		Key=D
		Priority=50
		GUIName=$KEY_Right$
		GUIDesc=$KEY_Right_Desc$
		GUIGroup=10
		Control=Right

		[Assignment]
		Key=S
		Priority=50
		GUIName=$KEY_Down$
		GUIDesc=$KEY_Down_Desc$
		GUIGroup=10
		Control=Down

		[Assignment]
		Key=W
		Priority=50
		GUIName=$KEY_Up$
		GUIDesc=$KEY_Up_Desc$
		GUIGroup=10
		Control=Up

		[Assignment]
		Key=W
		Priority=10
		GUIGroup=10
		Control=Jump
		
		# Object interaction
		
		[Assignment]
		Key=Space
		Priority=35
		GUIName=$KEY_Interact$
		GUIDesc=$KEY_Interact_Desc$
		GUIGroup=40
		Control=Interact
  
		# Crew
		
		[Assignment]
		Key=T
		GUIGroup=70
		Control=PreviousCrew
  
		[Assignment]
		Key=R
		GUIGroup=70
		Control=NextCrew
		
		# Use
		
		[Assignment]
		Key=Mouse1ButtonLeft
		Priority=100
		GUIName=$KEY_MouseUse$
		GUIDesc=$KEY_MouseUse_Desc$
		GUIDisabled=1
		GUIGroup=20
		Control=Use
  
		[Assignment]
		Key=Mouse1ButtonRight
		Priority=100
		GUIName=$KEY_MouseUseAlt$
		GUIDesc=$KEY_MouseUseAlt_Desc$
		GUIDisabled=1
		GUIGroup=20
		Control=UseAlt

		# Zoom
		
		[Assignment]
		Key=Mouse1Wheel1Up
		GUIGroup=60
		Priority=100
		Control=WheelZoomIn
  
		[Assignment]
		Key=Mouse1Wheel1Down
		GUIGroup=60
		Priority=100
		Control=WheelZoomOut

	# ======================================================================= #
	#                   Mouse control with keyboard (DVORAK)                  #
	# ======================================================================= #

	[ControlSet]
	Name=DVORAK_Hotkeys_IntQueue_MouseCon_
	GUIName=$SET_WASD_DVORAK$
	Keyboard=1
	Mouse=1
	Gamepad=0

		# Contents Menu

		[Assignment]
		Key=Period
		Control=Contents
		GUIGroup=50
  
		# Menu

		[Assignment]
		Key=U
		Control=PlayerMenu
		GUIGroup=50
  
		[Assignment]
		Key=Space
		Priority=100
		Control=MenuOK
		GUIGroup=50
		
		[Assignment]
		Key=BackSpace
		Priority=100
		Control=MenuCancel
		GUIGroup=50
		
		# Movement
		
		[Assignment]
		Key=A
		Priority=50
		GUIName=$KEY_Left$
		GUIDesc=$KEY_Left_Desc$
		GUIGroup=10
		Control=Left

		[Assignment]
		Key=E
		Priority=50
		GUIName=$KEY_Right$
		GUIDesc=$KEY_Right_Desc$
		GUIGroup=10
		Control=Right

		[Assignment]
		Key=O
		Priority=50
		GUIName=$KEY_Down$
		GUIDesc=$KEY_Down_Desc$
		GUIGroup=10
		Control=Down

		[Assignment]
		Key=Comma
		Priority=50
		GUIName=$KEY_Up$
		GUIDesc=$KEY_Up_Desc$
		GUIGroup=10
		Control=Up

		[Assignment]
		Key=Comma
		Priority=10
		GUIGroup=10
		Control=Jump
		
		# Object interaction
		
		[Assignment]
		Key=Space
		Priority=35
		GUIName=$KEY_Interact$
		GUIDesc=$KEY_Interact_Desc$
		GUIGroup=40
		Control=Interact
  
		# Crew
		
		[Assignment]
		Key=Y
		Control=PreviousCrew
		GUIGroup=70
  
		[Assignment]
		Key=P
		Control=NextCrew
		GUIGroup=70

		# Use
		
		[Assignment]
		Key=Mouse1ButtonLeft
		GUIName=$KEY_MouseUse$
		GUIDesc=$KEY_MouseUse_Desc$
		GUIGroup=20
		GUIDisabled=1
		Priority=100
		Control=Use
  
		[Assignment]
		Key=Mouse1ButtonRight
		GUIName=$KEY_MouseUseAlt$
		GUIDesc=$KEY_MouseUseAlt_Desc$
		GUIGroup=20
		GUIDisabled=1
		Priority=100
		Control=UseAlt
		
		
		# Zoom
		
		[Assignment]
		Key=Mouse1Wheel1Up
		GUIGroup=60
		Priority=100
		Control=WheelZoomIn
  
		[Assignment]
		Key=Mouse1Wheel1Down
		GUIGroup=60
		Priority=100
		Control=WheelZoomOut		
		
	# ======================================================================= #
	#     Dualshock-like gamepad (10-12 buttons, 1 D-Pad, 2 analog stick)     #
	# ======================================================================= #
	#
	# This control definition is designed to be also compatible with gamepads
	# that only have ten buttons (4 main buttons [A-D], 4 shoulder buttons
	# [E-H], 2 buttons [I-J] in the front) and no analog stick.
	#
	# However it is not compatible with Sven's gamepad! (with 6 main buttons
	# but otherwise no analog stick and only 2 shoulder buttons). It would be
	# he found out a way how to distinguish shoulder buttons from main buttons
	# :P


	[ControlSet]
	Name=Gamepad_GamepadCon_IntQueue_
	GUIName=$SET_Gamepad$
	Keyboard=0
	Mouse=0
	Gamepad=1

		# Contents Menu
		
		[Assignment]
		Key=Joy1F
		GUIGroup=50
		Control=Contents
	
		# Menu

		[Assignment]
		Key=Joy1J
		GUIGroup=50
		Control=PlayerMenu
  
		[Assignment]
		Key=Joy1C
		GUIGroup=50
		Control=MenuOK
		
		[Assignment]
		Key=Joy1B
		GUIGroup=50
		Control=MenuCancel
		
		# Movement

		[Assignment]
		Key=Joy1Left
		Priority=50
		GUIName=$KEY_Left$
		GUIDesc=$KEY_Left_Desc$
		GUIGroup=10
		Control=Left

		[Assignment]
		Key=Joy1Right
		Priority=50
		GUIName=$KEY_Right$
		GUIDesc=$KEY_Right_Desc$
		GUIGroup=10
		Control=Right

		[Assignment]
		Key=Joy1Down
		Priority=50
		GUIName=$KEY_Down$
		GUIDesc=$KEY_Down_Desc$
		GUIGroup=10
		Control=Down

		[Assignment]
		Key=Joy1Up
		Priority=50
		GUIName=$KEY_Up$
		GUIDesc=$KEY_Up_Desc$
		GUIGroup=10
		Control=Up

		[Assignment]
		Key=Joy1C
		Priority=10
		GUIGroup=10
		Control=Jump
				
		[Assignment]
		Key=Joy1Axis1Min
		GUIDesc=$KEY_AimAxis_Desc$
		Priority=80
		GUIGroup=30
		Control=AimAxisLeft

		[Assignment]
		Key=Joy1Axis1Max
		GUIDesc=$KEY_AimAxis_Desc$
		Priority=80
		GUIGroup=30
		Control=AimAxisRight

		[Assignment]
		Key=Joy1Axis2Max
		GUIDesc=$KEY_AimAxis_Desc$
		Priority=80
		GUIGroup=30
		Control=AimAxisDown

		[Assignment]
		Key=Joy1Axis2Min
		GUIDesc=$KEY_AimAxis_Desc$
		Priority=80
		GUIGroup=30
		Control=AimAxisUp

		# Object interaction
		
		[Assignment]
		Key=Joy1B
		Priority=35
		GUIName=$KEY_Interact$
		GUIDesc=$KEY_Interact_Desc$
		GUIGroup=40
		Control=Interact
  
		# Crew
		
		[Assignment]
		Key=Joy1I
		Control=NextCrew
		GUIGroup=70
  
		# Use, Throw, Drop
		
		[Assignment]
		Key=Joy1A
		GUIName=$KEY_GamepadUse$
		GUIDesc=$KEY_GamepadUse_Desc$
		GUIGroup=20
		Priority=100
		Control=UseDelayed
  
		[Assignment]
		Key=Joy1D
		GUIName=$KEY_GamepadUseAlt$
		GUIDesc=$KEY_GamepadUseAlt_Desc$
		GUIGroup=20
		Priority=100
		Control=UseAltDelayed

		# Zoom
		
		[Assignment]
		Key=Joy1H
		Priority=100
		GUIGroup=60
		Control=ZoomIn
  
		[Assignment]
		Key=Joy1G
		Priority=100
		GUIGroup=60
		Control=ZoomOut
		
		
		
	# ======================================================================= #
	#                           Default gamepad control                       #
	# ======================================================================= #
		
	[ControlSet]
	Name=*_GamepadCon_*
		
		[Assignment]
		Key=CON_AimAxisLeft
		Priority=50
		Control=Left

		[Assignment]
		Key=CON_AimAxisRight
		Priority=50
		Control=Right

		[Assignment]
		Key=CON_AimAxisDown
		Priority=50
		Control=Down

		[Assignment]
		Key=CON_AimAxisUp
		Priority=50
		Control=Up
		
		[Assignment]
		Key=CON_Left
		Priority=70
		Control=AimLeft

		[Assignment]
		Key=CON_Right
		Priority=70
		Control=AimRight

		[Assignment]
		Key=CON_Down
		Priority=70
		Control=AimDown

		[Assignment]
		Key=CON_Up
		Priority=70
		Control=AimUp
		
		[Assignment]
		Key=CON_Down,CON_UseDelayed
		GUIDisabled=1
		GUIGroup=20
		Priority=150
		Control=Drop
  
		[Assignment]
		Key=CON_Down,CON_UseAltDelayed
		GUIDisabled=1
		GUIGroup=20
		Priority=150
		Control=DropAlt
		
		[Assignment]
		Key=CON_UseDelayed
		GUIName=None
		Priority=50
		Control=ThrowDelayed
		
		[Assignment]
		Key=CON_UseAltDelayed
		GUIName=None
		Priority=50
		Control=ThrowAltDelayed
				
	# ======================================================================= #
	#                           Default mouse control                         #
	# ======================================================================= #
		
	[ControlSet]
	Name=*_MouseCon_*
	
		# click in gui
		
		[Assignment]
		Key=Mouse1ButtonLeft
		Priority=300
		Control=GUIClick1

		[Assignment]
		Key=Mouse1ButtonRight
		Priority=300
		Control=GUIClick2
	
		# Aiming
	
		[Assignment]
		Key=Mouse1Move
		Control=Aim
		Priority=50
		
		[Assignment]
		Key=Mouse1Move
		Control=GUICursor
		Priority=100
		
		# Forced Throw (also calls standard throw, if forced throw is not treated)
		
		[Assignment]
		Key=Shift+CON_Use
		GUIDisabled=1
		GUIGroup=20
		Priority=150
		Control=Throw
		
		[Assignment]
		Key=Shift+CON_Use
		GUIDisabled=1
		GUIGroup=20
		Priority=151
		Control=ForcedThrow
		
		[Assignment]
		Key=Shift+CON_UseAlt
		GUIDisabled=1
		GUIGroup=20
		Priority=150
		Control=ThrowAlt
		
		[Assignment]
		Key=Shift+CON_UseAlt
		GUIDisabled=1
		GUIGroup=20
		Priority=151
		Control=ForcedThrowAlt
		
		# Standard throw

		[Assignment]
		Key=CON_Use
		GUIName=None
		Priority=50
		Control=Throw
		
		[Assignment]
		Key=CON_UseAlt
		GUIName=None
		Priority=50
		Control=ThrowAlt
		
		
	# ======================================================================= #
	#                              Interaction queue                          #
	# ======================================================================= #
	
	[ControlSet]
	Name=*_IntQueue_*
			
		[Assignment]
		Key=CON_Interact
		Priority=50
		Control=PushEnter
		
		[Assignment]
		Key=CON_Interact
		Priority=45
		Control=GrabNext
		
		[Assignment]
		Key=CON_Interact
		Priority=40
		Control=Ungrab
		
		[Assignment]
		Key=CON_Interact
		Priority=30
		Control=Grab
		
		[Assignment]
		Key=CON_Interact
		Priority=25
		Control=Exit
		
		[Assignment]
		Key=CON_Interact
		Priority=20
		Control=Enter
		
	# ======================================================================= #
	#                          Default hotkey controls                        #
	# ======================================================================= #
	
	[ControlSet]
	Name=*_Hotkeys_*

		# Hotkeys for inventory management
		
		[Assignment]
		Key=1
		Control=Hotkey1
		GUIDesc=$KEY_Hotkey_Desc$
		GUIGroup=80
		
		[Assignment]
		Key=2
		Control=Hotkey2
		GUIDesc=$KEY_Hotkey_Desc$
		GUIGroup=80
		
		[Assignment]
		Key=3
		Control=Hotkey3
		GUIDesc=$KEY_Hotkey_Desc$
		GUIGroup=80
		
		[Assignment]
		Key=4
		Control=Hotkey4
		GUIDesc=$KEY_Hotkey_Desc$
		GUIGroup=80
		
		[Assignment]
		Key=5
		Control=Hotkey5
		GUIDesc=$KEY_Hotkey_Desc$
		GUIGroup=80
		
		[Assignment]
		Key=6
		Control=Hotkey6
		GUIDesc=$KEY_Hotkey_Desc$
		GUIGroup=80
		
		[Assignment]
		Key=7
		Control=Hotkey7
		GUIDesc=$KEY_Hotkey_Desc$
		GUIGroup=80
		
		[Assignment]
		Key=8
		Control=Hotkey8
		GUIDesc=$KEY_Hotkey_Desc$
		GUIGroup=80
		
		[Assignment]
		Key=9
		Control=Hotkey9
		GUIDesc=$KEY_Hotkey_Desc$
		GUIGroup=80
		
		[Assignment]
		Key=0
		Control=Hotkey0
		GUIDesc=$KEY_Hotkey_Desc$
		GUIGroup=80
		
		# Hotkey + Mousebutton Select
		[Assignment]
		Key=CON_Hotkey1,Mouse1ButtonLeft
		Control=Hotkey1Select
		Priority=200
		
		[Assignment]
		Key=CON_Hotkey1,Mouse1ButtonRight
		Control=Hotkey1SelectAlt
		Priority=200
		
		[Assignment]
		Key=CON_Hotkey2,Mouse1ButtonLeft
		Control=Hotkey2Select
		Priority=200
		
		[Assignment]
		Key=CON_Hotkey2,Mouse1ButtonRight
		Control=Hotkey2SelectAlt
		Priority=200
		
		[Assignment]
		Key=CON_Hotkey3,Mouse1ButtonLeft
		Control=Hotkey3Select
		Priority=200
		
		[Assignment]
		Key=CON_Hotkey3,Mouse1ButtonRight
		Control=Hotkey3SelectAlt
		Priority=200
		
		[Assignment]
		Key=CON_Hotkey4,Mouse1ButtonLeft
		Control=Hotkey4Select
		Priority=200
		
		[Assignment]
		Key=CON_Hotkey4,Mouse1ButtonRight
		Control=Hotkey4SelectAlt
		Priority=200
		
		[Assignment]
		Key=CON_Hotkey5,Mouse1ButtonLeft
		Control=Hotkey5Select
		Priority=200
		
		[Assignment]
		Key=CON_Hotkey5,Mouse1ButtonRight
		Control=Hotkey5SelectAlt
		Priority=200
		
		[Assignment]
		Key=CON_Hotkey6,Mouse1ButtonLeft
		Control=Hotkey6Select
		Priority=200
		
		[Assignment]
		Key=CON_Hotkey6,Mouse1ButtonRight
		Control=Hotkey6SelectAlt
		Priority=200
		
		[Assignment]
		Key=CON_Hotkey7,Mouse1ButtonLeft
		Control=Hotkey7Select
		Priority=200
		
		[Assignment]
		Key=CON_Hotkey7,Mouse1ButtonRight
		Control=Hotkey7SelectAlt
		Priority=200
		
		[Assignment]
		Key=CON_Hotkey8,Mouse1ButtonLeft
		Control=Hotkey8Select
		Priority=200
		
		[Assignment]
		Key=CON_Hotkey8,Mouse1ButtonRight
		Control=Hotkey8SelectAlt
		Priority=200
		
		[Assignment]
		Key=CON_Hotkey9,Mouse1ButtonLeft
		Control=Hotkey9Select
		Priority=200
		
		[Assignment]
		Key=CON_Hotkey9,Mouse1ButtonRight
		Control=Hotkey9SelectAlt
		Priority=200
		
		[Assignment]
		Key=CON_Hotkey0,Mouse1ButtonLeft
		Control=Hotkey0Select
		Priority=200
		
		[Assignment]
		Key=CON_Hotkey0,Mouse1ButtonRight
		Control=Hotkey0SelectAlt
		Priority=200
		
		
		[Assignment]
		Key=Shift+CON_Hotkey1
		Control=DropHotkey1
		
		[Assignment]
		Key=Shift+CON_Hotkey2
		Control=DropHotkey2
		
		[Assignment]
		Key=Shift+CON_Hotkey3
		Control=DropHotkey3
		
		[Assignment]
		Key=Shift+CON_Hotkey4
		Control=DropHotkey4
		
		[Assignment]
		Key=Shift+CON_Hotkey5
		Control=DropHotkey5
		
		[Assignment]
		Key=Shift+CON_Hotkey6
		Control=DropHotkey6
		
		[Assignment]
		Key=Shift+CON_Hotkey7
		Control=DropHotkey7
		
		[Assignment]
		Key=Shift+CON_Hotkey8
		Control=DropHotkey8
		
		[Assignment]
		Key=Shift+CON_Hotkey9
		Control=DropHotkey9
		
		[Assignment]
		Key=Shift+CON_Hotkey0
		Control=DropHotkey0
		
		# Hotkeys for interacting (actionbar)
		
		[Assignment]
		Key=CON_Interact,CON_Hotkey1
		Control=InteractionHotkey1
		Priority=101
		
		[Assignment]
		Key=CON_Interact,CON_Hotkey2
		Control=InteractionHotkey2
		Priority=101
		
		[Assignment]
		Key=CON_Interact,CON_Hotkey3
		Control=InteractionHotkey3
		Priority=101
		
		[Assignment]
		Key=CON_Interact,CON_Hotkey4
		Control=InteractionHotkey4
		Priority=101
		
		[Assignment]
		Key=CON_Interact,CON_Hotkey5
		Control=InteractionHotkey5
		Priority=101
		
		[Assignment]
		Key=CON_Interact,CON_Hotkey6
		Control=InteractionHotkey6
		Priority=101
		
		[Assignment]
		Key=CON_Interact,CON_Hotkey7
		Control=InteractionHotkey7
		Priority=101
		
		[Assignment]
		Key=CON_Interact,CON_Hotkey8
		Control=InteractionHotkey8
		Priority=101
		
		[Assignment]
		Key=CON_Interact,CON_Hotkey9
		Control=InteractionHotkey9
		Priority=101
		
		[Assignment]
		Key=CON_Interact,CON_Hotkey0
		Control=InteractionHotkey0
		Priority=101
		
		# Hotkeys for choosing clonk
		
		[Assignment]
		Key=Ctrl+CON_Hotkey1
		Control=PlayerHotkey1
		
		[Assignment]
		Key=Ctrl+CON_Hotkey2
		Control=PlayerHotkey2
		
		[Assignment]
		Key=Ctrl+CON_Hotkey3
		Control=PlayerHotkey3
		
		[Assignment]
		Key=Ctrl+CON_Hotkey4
		Control=PlayerHotkey4
		
		[Assignment]
		Key=Ctrl+CON_Hotkey5
		Control=PlayerHotkey5
		
		[Assignment]
		Key=Ctrl+CON_Hotkey6
		Control=PlayerHotkey6
		
		[Assignment]
		Key=Ctrl+CON_Hotkey7
		Control=PlayerHotkey7
		
		[Assignment]
		Key=Ctrl+CON_Hotkey8
		Control=PlayerHotkey8
		
		[Assignment]
		Key=Ctrl+CON_Hotkey9
		Control=PlayerHotkey9
		
		[Assignment]
		Key=Ctrl+CON_Hotkey0
		Control=PlayerHotkey0				
	
	# ======================================================================= #
	#                      Menu controls & Collect sets                       #
	# ======================================================================= #
	
	[ControlSet]
	Name=*
	
		# Collect
	
		[Assignment]
		Key=CON_Left
		GUIName=None
		Priority=9
		Control=Collect
		
		[Assignment]
		Key=CON_Right
		GUIName=None
		Priority=9
		Control=Collect
		
		[Assignment]
		Key=CON_Up
		GUIName=None
		Priority=9
		Control=Collect
		
		[Assignment]
		Key=CON_Down
		GUIName=None
		Priority=9
		Control=Collect
	
		# Menu control
	
		[Assignment]
		Key=CON_Left
		GUIName=None
		Priority=100
		Control=MenuLeft

		[Assignment]
		Key=CON_Right
		GUIName=None
		Priority=100
		Control=MenuRight

		[Assignment]
		Key=CON_Down
		GUIName=None
		Priority=100
		Control=MenuDown

		[Assignment]
		Key=CON_Up
		GUIName=None
		Priority=100
		Control=MenuUp
		
		[Assignment]
		Key=CON_Left
		GUIName=None
		Priority=90
		Control=ObjectMenuLeft

		[Assignment]
		Key=CON_Right
		GUIName=None
		Priority=90
		Control=ObjectMenuRight

		[Assignment]
		Key=CON_Down
		GUIName=None
		Priority=90
		Control=ObjectMenuDown

		[Assignment]
		Key=CON_Up
		GUIName=None
		Priority=90
		Control=ObjectMenuUp
		
		[Assignment]
		Key=CON_MenuOK
		GUIName=None
		Priority=90
		Control=ObjectMenuOK
		
		[Assignment]
		Key=CON_MenuCancel
		GUIName=None
		Priority=90
		Control=ObjectMenuCancel
		
		[Assignment]
		Key=CON_MenuCancel
		GUIName=None
		Priority=80
		Control=CancelMenu
