"controller_mappings"
{
	"version"		"3"
	"revision"		"214"
	"title"		"Gyro+shortcuts"
	"description"		"Use right grip to enable/disable gyro (mouse is moved to the bottom when disabled). L/R/x/y/b act as shortcuts to common elements."
	"creator"		"76561198001815447"
	"controller_type"		"controller_steamcontroller_gordon"
	"Timestamp"		"59"
	"localization"
	{
		"english"
		{
			"title"		"Gamepad with Mouse and Gyro"
			"description"		"The template works best for games that are designed with a gamepad in mind, but also support a desktop mouse for camera control or aim. This uses both the right pad and the gyro to allow for the most precise aim in games which support gamepad and mouse."
		}
	}
	"group"
	{
		"id"		"0"
		"mode"		"four_buttons"
		"inputs"
		{
			"button_a"
			{
				"activators"
				{
					"Full_Press"
					{
						"bindings"
						{
							"binding"		"mouse_button LEFT"
						}
					}
				}
			}
			"button_b"
			{
				"activators"
				{
					"release"
					{
						"bindings"
						{
							"binding"		"controller_action MOUSE_POSITION 30633 23756 1"
							"binding"		"mouse_button LEFT"
						}
					}
				}
			}
			"button_x"
			{
				"activators"
				{
					"release"
					{
						"bindings"
						{
							"binding"		"controller_action MOUSE_POSITION 25889 23877 1"
							"binding"		"mouse_button LEFT"
						}
					}
				}
			}
			"button_y"
			{
				"activators"
				{
					"release"
					{
						"bindings"
						{
							"binding"		"controller_action MOUSE_POSITION 27937 23331 1"
							"binding"		"mouse_button LEFT"
						}
					}
				}
			}
		}
	}
	"group"
	{
		"id"		"1"
		"mode"		"dpad"
		"inputs"
		{
			"dpad_north"
			{
				"activators"
				{
					"Full_Press"
					{
						"bindings"
						{
							"binding"		"xinput_button dpad_up"
						}
						"settings"
						{
							"haptic_intensity"		"1"
						}
					}
				}
			}
			"dpad_south"
			{
				"activators"
				{
					"Full_Press"
					{
						"bindings"
						{
							"binding"		"xinput_button dpad_down"
						}
						"settings"
						{
							"haptic_intensity"		"1"
						}
					}
				}
			}
			"dpad_east"
			{
				"activators"
				{
					"Full_Press"
					{
						"bindings"
						{
							"binding"		"xinput_button dpad_right"
						}
						"settings"
						{
							"haptic_intensity"		"1"
						}
					}
				}
			}
			"dpad_west"
			{
				"activators"
				{
					"Full_Press"
					{
						"bindings"
						{
							"binding"		"xinput_button dpad_left"
						}
						"settings"
						{
							"haptic_intensity"		"1"
						}
					}
				}
			}
		}
	}
	"group"
	{
		"id"		"2"
		"mode"		"joystick_camera"
		"inputs"
		{
			"click"
			{
				"activators"
				{
					"Full_Press"
					{
						"bindings"
						{
							"binding"		"xinput_button JOYSTICK_RIGHT"
						}
						"settings"
						{
							"haptic_intensity"		"1"
						}
					}
				}
			}
		}
	}
	"group"
	{
		"id"		"3"
		"mode"		"joystick_move"
		"inputs"
		{
			"click"
			{
				"activators"
				{
					"Full_Press"
					{
						"bindings"
						{
							"binding"		"xinput_button JOYSTICK_LEFT"
						}
						"settings"
						{
							"haptic_intensity"		"2"
						}
					}
				}
			}
		}
	}
	"group"
	{
		"id"		"4"
		"mode"		"trigger"
		"inputs"
		{
			"click"
			{
				"activators"
				{
					"Full_Press"
					{
						"bindings"
						{
							"binding"		"mouse_button RIGHT"
						}
						"settings"
						{
							"haptic_intensity"		"2"
						}
					}
				}
			}
		}
		"settings"
		{
			"output_trigger"		"1"
		}
	}
	"group"
	{
		"id"		"5"
		"mode"		"trigger"
		"inputs"
		{
			"click"
			{
				"activators"
				{
					"Full_Press"
					{
						"bindings"
						{
							"binding"		"mouse_button LEFT"
						}
						"settings"
						{
							"haptic_intensity"		"2"
						}
					}
				}
			}
		}
		"settings"
		{
			"edge_binding_radius"		"29919"
		}
	}
	"group"
	{
		"id"		"6"
		"mode"		"absolute_mouse"
		"inputs"
		{
			"click"
			{
				"activators"
				{
					"Full_Press"
					{
						"bindings"
						{
							"binding"		"mouse_button LEFT"
						}
						"settings"
						{
							"haptic_intensity"		"1"
						}
					}
				}
			}
		}
		"settings"
		{
			"sensitivity"		"223"
			"trackball"		"0"
			"doubetap_max_duration"		"324"
			"mouse_dampening_trigger"		"3"
		}
	}
	"group"
	{
		"id"		"7"
		"mode"		"joystick_move"
		"inputs"
		{
			"click"
			{
				"activators"
				{
					"Full_Press"
					{
						"bindings"
						{
							"binding"		"xinput_button JOYSTICK_RIGHT"
						}
						"settings"
						{
							"haptic_intensity"		"2"
						}
					}
				}
			}
		}
	}
	"group"
	{
		"id"		"8"
		"mode"		"absolute_mouse"
		"inputs"
		{
		}
		"settings"
		{
			"sensitivity"		"83"
			"haptic_intensity"		"0"
			"acceleration"		"2"
			"gyro_button"		"7"
			"mouse_dampening_trigger"		"3"
			"gyro_button_invert"		"2"
		}
	}
	"group"
	{
		"id"		"9"
		"mode"		"switches"
		"inputs"
		{
			"button_escape"
			{
				"activators"
				{
					"Full_Press"
					{
						"bindings"
						{
							"binding"		"key_press ESCAPE"
						}
					}
				}
			}
			"button_menu"
			{
				"activators"
				{
					"Full_Press"
					{
						"bindings"
						{
							"binding"		"key_press ESCAPE"
						}
					}
				}
			}
			"left_bumper"
			{
				"activators"
				{
					"Full_Press"
					{
						"bindings"
						{
							"binding"		"controller_action MOUSE_POSITION 409 1729 1"
							"binding"		"mouse_button LEFT"
							"binding"		"mouse_button LEFT"
						}
					}
				}
			}
			"right_bumper"
			{
				"activators"
				{
					"Full_Press"
					{
						"bindings"
						{
							"binding"		"controller_action MOUSE_POSITION 32101 1850 1"
							"binding"		"mouse_button LEFT"
							"binding"		"mouse_button LEFT"
							"binding"		"mouse_button LEFT"
						}
					}
				}
			}
			"button_back_right"
			{
				"activators"
				{
					"Full_Press"
					{
						"bindings"
						{
							"binding"		"controller_action MOUSE_POSITION 16025 32736 0"
						}
					}
				}
			}
		}
	}
	"preset"
	{
		"id"		"0"
		"name"		"Default"
		"group_source_bindings"
		{
			"9"		"switch active"
			"0"		"button_diamond active"
			"1"		"left_trackpad inactive"
			"2"		"right_trackpad inactive"
			"6"		"right_trackpad active"
			"7"		"right_trackpad inactive"
			"3"		"joystick inactive"
			"4"		"left_trigger active"
			"5"		"right_trigger active"
			"8"		"gyro active"
		}
	}
	"settings"
	{
	}
}
