<controls>
	<map id="kbm" mouselook="true" index="-1">
		<button id="w" setaxis="low">move_y</button>
		<button id="s" setaxis="high">move_y</button>
		<button id="a" setaxis="low">move_x</button>
		<button id="d" setaxis="high">move_x</button>

		<button id="mouse_left">Attack1</button>
		<button id="mouse_right">Attack2</button>
		<button id="mouse_4">Attack3</button>
		<button id="mouse_5">Attack4</button>

		<button id="q">Attack3</button>
		<button id="e">Attack4</button>

		<button id="r">Potion</button>
		<button id="space">Potion</button>
		<button id="f">Use</button>

		<button id="c">PlayerMenu</button>
		<button id="g">GuildMenu</button>
		<button id="lctrl">PlayerMenu</button>
		<button id="tab">MapOverlay</button>
		<button id="lalt">Ping</button>

		<button id="escape">MenuToggle</button>
		<button id="mouse_left">MenuForward</button>
		<button id="return">MenuForward</button>
		<button id="up">MenuUp</button>
		<button id="down">MenuDown</button>
		<button id="left">MenuLeft</button>
		<button id="right">MenuRight</button>
		<button id="return">MenuChatAll</button>
		<button id="t">MenuChatAll</button>
	</map>

	<map id="gp1,gp2,gp3,gp4" gamepad="true">
		<vector id="gp_lth_v" delta="0.25">movedir</vector>
		<vector id="gp_rth_v" delta="0.25" reset="false">aimdir</vector>
		<vector id="gp_lth_v" delta="0.25" normalized="false">mousemove</vector>
		<vector id="gp_rth_v" delta="0.25" normalized="false">mousemove</vector>

		<button id="gp_rt" delta="0.25">Attack1</button>
		<button id="gp_lt" delta="0.25">Attack2</button>
		<button id="gp_rb">Attack3</button>
		<button id="gp_lb">Attack4</button>

		<button id="gp_x">Potion</button>
		<button id="gp_a">Use</button>

		<button id="gp_back">PlayerMenu</button>

		<button id="gp_start">MenuToggle</button>
		<button id="gp_b">MenuBack</button>
		<button id="gp_a">MenuForward</button>
		<button id="gp_y">MapOverlay</button>
		<button id="gp_du">MenuUp</button>
		<button id="gp_dd">MenuDown</button>
		<button id="gp_dl">MenuLeft</button>
		<button id="gp_dr">MenuRight</button>
	</map>

	<map id="ds41,ds42,ds43,ds44" joystick="true">
		<vector id="ds4_lth_v" delta="0.25">movedir</vector>
		<vector id="ds4_rth_v" delta="0.25" reset="false">aimdir</vector>
		<vector id="ds4_lth_v" delta="0.25" normalized="false">mousemove</vector>
		<vector id="ds4_rth_v" delta="0.25" normalized="false">mousemove</vector>

		<button id="ds4_r2" delta="0.25">Attack1</button>
		<button id="ds4_l2" delta="0.25">Attack2</button>
		<button id="ds4_r1">Attack3</button>
		<button id="ds4_l1">Attack4</button>

		<button id="ds4_square">Potion</button>
		<button id="ds4_cross">Use</button>

		<button id="ds4_share">PlayerMenu</button>

		<button id="ds4_options">MenuToggle</button>
		<button id="ds4_circle">MenuBack</button>
		<button id="ds4_cross">MenuForward</button>
		<button id="ds4_triangle">MapOverlay</button>
		<button id="ds4_dpad_up">MenuUp</button>
		<button id="ds4_dpad_down">MenuDown</button>
		<button id="ds4_dpad_left">MenuLeft</button>
		<button id="ds4_dpad_right">MenuRight</button>
	</map>

	<!-- Shouldn't be modified from here! -->
	<!-- TODO(?): Technically we can have up to 16 of these at the same time! -->
	<map id="sc1,sc2,sc3,sc4" steamcontroller="true" locked="true">
		<vector id="sc_movedir" delta="0.25">movedir</vector>
		<vector id="sc_aimdir" delta="0.25" reset="false">aimdir</vector>
		<vector id="sc_mousemove" delta="0.25" normalized="false">mousemove</vector>

		<button id="sc_Attack1">Attack1</button>
		<button id="sc_Attack2">Attack2</button>
		<button id="sc_Attack3">Attack3</button>
		<button id="sc_Attack4">Attack4</button>

		<button id="sc_Use">Use</button>
		<button id="sc_Potion">Potion</button>

		<button id="sc_PlayerMenu">PlayerMenu</button>
		<button id="sc_GuildMenu">GuildMenu</button>
		<button id="sc_MapOverlay">MapOverlay</button>

		<button id="sc_MenuUp">MenuUp</button>
		<button id="sc_MenuDown">MenuDown</button>
		<button id="sc_MenuLeft">MenuLeft</button>
		<button id="sc_MenuRight">MenuRight</button>
		<button id="sc_MenuToggle">MenuToggle</button>
		<button id="sc_MenuChatAll">MenuChatAll</button>
		<button id="sc_MenuBack">MenuBack</button>
		<button id="sc_MenuForward">MenuForward</button>
	</map>
</controls>
