Garry's Mod: VMC-Garrys Mod-Config

This is a template configuration for games use the keyboard and mouse.

For instructions on how to use this mapping with the Steam Controller in Garry's Mod, click the Download button or check out the instructions here.

Config Details

VMC-Garrys Mod-Config
AutoUploader
0
1

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

Download

Code

"controller_mappings"
{
	"version"		"2"
	"title"		"VMC-Garrys Mod-Config"
	"description"		"This is a template configuration for games use the keyboard and mouse."
	"group"
	{
		"id"		"0"
		"mode"		"four_buttons"
		"bindings"
		{
			"button_A"		"key_press SPACE, Jump"
			"button_B"		"key_press E, Use"
			"button_X"		"key_press LEFT_CONTROL, Duck"
			"button_Y"		"key_press F, Flashlight"
		}
		"settings"
		{
			"hold_repeat_inverval"		"99"
			"button_size"		"17994"
			"button_dist"		"19994"
		}
	}
	"group"
	{
		"id"		"1"
		"mode"		"dpad"
		"bindings"
		{
			"dpad_north"		"key_press F2, Team menu"
			"dpad_south"		"key_press 0, Console"
			"dpad_east"		"key_press V, No Clip Mode"
			"dpad_west"		"key_press X, Voice Communication"
		}
		"settings"
		{
			"hold_repeat_inverval"		"99"
			"deadzone"		"5000"
			"edge_binding_radius"		"24996"
		}
	}
	"group"
	{
		"id"		"2"
		"mode"		"absolute_mouse"
		"bindings"
		{
			"click"		"key_press E, Use"
		}
		"settings"
		{
			"sensitivity"		"145"
			"rotation"		"20"
			"doubetap_max_duration"		"320"
		}
	}
	"group"
	{
		"id"		"3"
		"mode"		"dpad"
		"bindings"
		{
			"dpad_north"		"key_press W, Move Forward"
			"dpad_south"		"key_press S, Move Back"
			"dpad_east"		"key_press D, Move Right"
			"dpad_west"		"key_press A, Move Left"
			"click"		"key_press LEFT_SHIFT, Sprint"
		}
		"settings"
		{
			"requires_click"		"0"
			"overlap"		"1"
			"hold_repeat_inverval"		"99"
			"edge_binding_radius"		"24995"
		}
	}
	"group"
	{
		"id"		"4"
		"mode"		"trigger"
		"bindings"
		{
			"edge"		"mouse_button RIGHT"
		}
		"settings"
		{
			"hold_repeat_inverval"		"99"
			"output_trigger"		"1"
		}
	}
	"group"
	{
		"id"		"5"
		"mode"		"trigger"
		"bindings"
		{
			"edge"		"mouse_button LEFT"
		}
		"settings"
		{
			"hold_repeat_inverval"		"99"
		}
	}
	"group"
	{
		"id"		"6"
		"mode"		"dpad"
	}
	"group"
	{
		"id"		"7"
		"mode"		"absolute_mouse"
	}
	"group"
	{
		"id"		"8"
		"mode"		"scrollwheel"
		"bindings"
		{
			"scroll_clockwise"		"mouse_wheel SCROLL_UP"
			"scroll_counterclockwise"		"mouse_wheel SCROLL_DOWN"
		}
		"settings"
		{
			"scroll_angle"		"118"
		}
	}
	"group_source_bindings"
	{
		"0"		"button_diamond active"
		"1"		"left_trackpad active"
		"6"		"left_trackpad active modeshift"
		"2"		"right_trackpad active"
		"7"		"right_trackpad inactive modeshift"
		"8"		"right_trackpad active modeshift"
		"3"		"joystick active"
		"4"		"left_trigger active"
		"5"		"right_trigger active"
	}
	"switch_bindings"
	{
		"bindings"
		{
			"left_bumper"		"mouse_wheel SCROLL_DOWN, Previous Weapon"
			"button_escape"		"key_press ESCAPE, Menu"
			"button_menu"		"key_press TAB, Scores"
			"button_back_left"		"key_press Q, Construct Menu"
			"right_bumper"		"key_press R, Reload"
			"button_back_right"		"mode_shift right_trackpad 8"
		}
	}
	"settings"
	{
		"left_trackpad_mode"		"0"
		"right_trackpad_mode"		"0"
	}
}