Borderlands: Gamepad with High Precision Camera/Aim and gyro help

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 will do the best job of specifically taking advantage of the right side pad on your controller for precise aiming and camera control.

Config Details

Gamepad with High Precision Camera/Aim and gyro help
AutoUploader
0
0

Need help with how to use these configs? Click here!

Download

Code

"controller_mappings"
{
	"version"		"2"
	"title"		"Gamepad with High Precision Camera/Aim and gyro help"
	"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 will do the best job of specifically taking advantage of the right side pad on your controller for precise aiming and camera control."
	"creator"		"76561198003915122"
	"group"
	{
		"id"		"0"
		"mode"		"four_buttons"
		"bindings"
		{
			"button_A"		"xinput_button A"
			"button_B"		"xinput_button B"
			"button_X"		"xinput_button X"
			"button_Y"		"xinput_button Y"
		}
	}
	"group"
	{
		"id"		"1"
		"mode"		"dpad"
		"bindings"
		{
			"dpad_north"		"xinput_button dpad_up"
			"dpad_south"		"xinput_button dpad_down"
			"dpad_east"		"xinput_button dpad_right"
			"dpad_west"		"xinput_button dpad_left"
		}
		"settings"
		{
			"deadzone"		"5000"
		}
	}
	"group"
	{
		"id"		"2"
		"mode"		"joystick_camera"
		"bindings"
		{
			"click"		"xinput_button JOYSTICK_RIGHT"
		}
		"settings"
		{
			"output_joystick"		"1"
		}
	}
	"group"
	{
		"id"		"3"
		"mode"		"joystick_move"
		"bindings"
		{
			"click"		"xinput_button JOYSTICK_LEFT"
		}
	}
	"group"
	{
		"id"		"4"
		"mode"		"trigger"
		"bindings"
		{
			"click"		"xinput_button TRIGGER_LEFT"
		}
		"settings"
		{
			"output_trigger"		"1"
		}
	}
	"group"
	{
		"id"		"5"
		"mode"		"trigger"
		"bindings"
		{
			"click"		"xinput_button TRIGGER_RIGHT"
		}
		"settings"
		{
			"output_trigger"		"2"
		}
	}
	"group"
	{
		"id"		"6"
		"mode"		"absolute_mouse"
		"bindings"
		{
			"click"		"xinput_button JOYSTICK_RIGHT"
		}
		"settings"
		{
			"sensitivity"		"99"
			"haptic_intensity"		"3"
			"rotation"		"15"
			"doubetap_max_duration"		"323"
		}
	}
	"group"
	{
		"id"		"7"
		"mode"		"joystick_move"
		"bindings"
		{
			"click"		"xinput_button JOYSTICK_RIGHT"
		}
		"settings"
		{
			"output_joystick"		"1"
		}
	}
	"group"
	{
		"id"		"8"
		"mode"		"joystick_move"
		"settings"
		{
			"curve_exponent"		"2"
			"edge_binding_radius"		"24995"
			"haptic_intensity"		"2"
			"output_joystick"		"2"
			"gyro_neutral"		"6552"
			"gyro_axis"		"0"
			"sensitivity"		"10"
		}
	}
	"group"
	{
		"id"		"9"
		"mode"		"absolute_mouse"
		"settings"
		{
			"sensitivity"		"1"
			"doubetap_max_duration"		"324"
		}
	}
	"preset"
	{
		"id"		"0"
		"name"		""
		"group_source_bindings"
		{
			"0"		"button_diamond active"
			"1"		"left_trackpad active"
			"2"		"right_trackpad inactive"
			"6"		"right_trackpad active"
			"7"		"right_trackpad inactive"
			"3"		"joystick active"
			"4"		"left_trigger active"
			"5"		"right_trigger active"
			"8"		"gyro inactive"
			"9"		"gyro active"
		}
		"switch_bindings"
		{
			"bindings"
			{
				"button_escape"		"xinput_button start"
				"button_menu"		"xinput_button select"
				"right_bumper"		"xinput_button shoulder_right"
				"left_bumper"		"xinput_button shoulder_left"
				"button_back_left"		"xinput_button a"
				"button_back_right"		"xinput_button x"
			}
		}
		"settings"
		{
		}
	}
}