Half-Life 2: Sombrezes Bindings

Has touch menus for all the weapons, and uses gyro for steering when driving. Hit A to change from the default action set to the driving action set, and hit B to return to the default action set. Enable the gamepad in the options. Requires custom touch menu icons.

Touch menu icons can be downloaded here: https://facepunch.com/showthread.php?t=1507632&p=50198473#post50198473

Direct link to touch menu icon download: https://mega.nz/#!oNcBiCZK!IRJNyfsG5oWTjPI_YHUki0adfmp3drLbWTi0pJUT-xw

Put the images into Steam\tenfoot\resource\images\library\controller\binding_icons

Credit to Halfer from Facepunch for the custom touch menu icons.

For the touch menu to work, copy and paste this in the console.

bind "KP_END" "use weapon_crowbar"; bind "KP_DOWNARROW" "use weapon_physcannon"; bind "KP_PGDN" "use weapon_pistol"; bind "KP_LEFTARROW" "use weapon_357"; bind "KP_5" "use weapon_SMG1"; bind "KP_RIGHTARROW" "use weapon_ar2"; bind "KP_HOME" "use weapon_shotgun"; bind "KP_UPARROW" "use weapon_crossbow"; bind "KP_PGUP" "use weapon_frag"; bind "KP_PLUS" "use weapon_bugbait"; bind "KP_ENTER" "use weapon_rpg"

For instructions on how to use this mapping with the Steam Controller in Half-Life 2, click the Download button or check out the instructions here.

Config Details

Sombrezes Bindings
sombrez
0
10

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

Download

Code

"controller_mappings"
{
	"version"		"2"
	"title"		"Sombrezes Bindings"
	"description"		"Has touch menus for all the weapons, and uses gyro for steering when driving. Hit A to change from the default action set to the driving action set, and hit B to return to the default action set. Enable the gamepad in the options. Requires custom touch menu icons."
	"creator"		"76561197998740468"
	"actions"
	{
		"Default"
		{
			"title"		"Default"
			"legacy_set"		"1"
		}
		"Preset_1000001"
		{
			"title"		"Drive"
			"legacy_set"		"1"
		}
	}
	"localization"
	{
		"english"
		{
			"title"		"Keyboard (WASD) and Mouse"
			"description"		"This template works great for the games on Steam that were designed with a keyboard and mouse in mind, without real gamepad support. The controller will drive the game's keyboard based events with buttons, but will make assumptions about which buttons move you around (WASD for movement, space for jump, etc.). The right pad will emulate the movement of a mouse."
		}
		"czech"
		{
			"title"		"Klávesnice (WASD) a myš"
			"description"		"Tato šablona je pro hry ve služb? Steam, které byly vytvo?eny pro ovládání klávesnicí a myší bez podpory gamepadu. Ovlada? nahradí hrou vyžadované klávesy svými tla?ítky, avšak pouze odhadne, jaké klávesy jsou použity pro ovládání (WASD pro pohyb, mezerník pro skok, atp.). Pravý trackpad bude emulovat myš."
		}
		"danish"
		{
			"title"		"Tastatur (WASD) og mus"
			"description"		"Denne skabelon virker godt til spil på Steam, der blev designet med tastatur og mus i tankerne og er uden egentlig gamepad-understøttelse. Controlleren vil udføre spillets tastaturbaserede handlinger med knapper, men vil lave antagelser om, hvilke knapper bevæger dig omkring (WASD til bevægelse, mellemrum til at hoppe osv.). Den højre flade vil efterligne en mus' bevægelser."
		}
		"dutch"
		{
			"title"		"Toetsenbord (WASD) en muis"
			"description"		"Deze template werkt goed voor de spellen op Steam die zijn ontworpen voor besturing met een toetsenbord en muis, zonder echte gamepad ondersteuning. De controller bestuurt de toetsenbordgebaseerde gebeurtenissen van het spel met knoppen, maar zal aannames doen over welke knoppen je rondbewegen (WASD voor beweging, spatiebalk voor springen, etc.). De rechter-pad emuleert de beweging van een muis."
		}
		"finnish"
		{
			"title"		"Näppäimistö (WASD) ja hiiri"
			"description"		"Tämä malli sopii hyvin peleille, jotka suunniteltiin näppäimistölle ja hiirelle ilman ohjaintukea. Ohjain omaksuu tietyt näppäimistön näppäimet yleisten toimintojen perusteella (liikkuminen WASD-näppäimillä, hyppääminen välilyönnistä jne.). Oikea ohjainlevy toimii hiirenä."
		}
		"french"
		{
			"title"		"Clavier (ZQSD) et souris"
			"description"		"Ce modèle fonctionne particulièrement bien pour les jeux conçus pour le clavier et la souris, sans support pour la manette. Les actions normalement effectuées au clavier seront déclenchées par les touches du contrôleur. Il sera supposé que le déplacement correspond aux touches ZQSD, le saut à la touche espace, etc. Le pad droit simulera les mouvements de la souris."
		}
		"german"
		{
			"title"		"Tastatur (WASD) und Maus"
			"description"		"Diese Vorlage ist an Steam-Spiele ohne echte Gamepad-Unterstützung angepasst, die eigentlich mithilfe von Tastatur und Maus gesteuert werden. Der Controller ist verantwortlich für die tastenbasierte Steuerung des Spiels, wird aber Annahmen treffen, welche Tasten Sie zur Fortbewegung nutzen (WASD für Bewegungen, Leertaste zum Springen usw.). Das rechte Pad wird die Mausbewegungen emulieren."
		}
		"hungarian"
		{
			"title"		"Billenty?zet (WASD) és egér"
			"description"		"Ez a sablon remekül m?ködik az olyan Steames játékokhoz, melyek billenty?zetet és egeret szem el?tt tartva készültek, igazi gamepad-támogatás nélkül. A játékvezérl? a játék billenty?zetalapú eseményeit gombokkal fogja irányítani, de feltételezéseket fog tenni arra vonatkozóan, hogy mely gombok segítségével mozoghatsz (WASD a mozgáshoz, szóköz az ugráshoz, stb.). A jobb felület az egér mozgását fogja emulálni."
		}
		"italian"
		{
			"title"		"Tastiera (WASD) e mouse"
		}
		"japanese"
		{
			"title"		"????? (WASD) ????"
		}
		"koreana"
		{
			"title"		"???(WASD)? ???"
		}
		"polish"
		{
			"title"		"Klawiatura (WASD) i mysz"
			"description"		"Ten szablon ?wietnie dzia?a dla gier na Steam, które zosta?y zaprojektowane z my?l? o klawiaturze i myszce, bez wsparcia dla kontrolera. Kontroler b?dzie przesy?a? do gry zdarzenia klawiatury za pomoc? przycisków, ale b?dzie zgadywa? u?yte klawisze (WASD dla poruszania si?, Spacja dla skoku itd.). Prawy pad b?dzie emulowa? poruszanie myszk?."
		}
		"portuguese"
		{
			"title"		"Teclado (WASD) e rato"
			"description"		"Este modelo é indicado para jogos no Steam concebidos com teclado e rato em mente, sem compatibilidade com comandos. O comando irá associar as ações das teclas no jogo aos seus botões, e tentará adivinhar que botões te fazem mover (WASD para te deslocares, Espaço para saltar, etc.). O pad direito irá simular o movimento de um rato."
		}
		"romanian"
		{
			"title"		"Tastatur? (WASD) ?i Mouse"
			"description"		"Acest ?ablon merge grozav cu jocurile de pe Steam care au fost dezvoltate cu o tastatur? ?i un mouse în minte, f?r? sprijin nativ pentru controller. Controller-ul va conduce evenimentele bazate pe tastatura jocului cu butoane, dar va face presupuneri bazate pe butoanele care te pun în mi?care (WASD pentru mi?care, space pentru s?ritur?, etc.). Pad-ul din dreapta va simula mi?carea mouse-ului."
		}
		"russian"
		{
			"title"		"?????????? (WASD) ? ????"
			"description"		"???? ?????? ???????? ??? ??? ? Steam, ??????? ??????????????? ??? ?????????? ? ???? ??? ????????? ????????. ?????? ??????????? ????????? ??????? ??????????, ???????????? ?? ??????? ? ???? (WASD — ????????????, ?????? — ?????? ? ?.?.). ?????? ??????? ????????? ????."
		}
		"spanish"
		{
			"title"		"Teclado (WASD) y ratón"
			"description"		"Esta plantilla funciona muy bien con juegos de Steam que fueron diseñados pensando en un teclado y un ratón, sin verdadero soporte para mando. El controlador guiará con los botones los eventos basados en el uso del teclado, pero hará conjeturas acerca de qué botones te mueven (WASD para moverse, espacio para saltar, etc.). El pad derecho emulará el movimiento de un ratón."
		}
		"swedish"
		{
			"title"		"Tangentbord (WASD) och mus"
			"description"		"Denna mall fungerar bra för spel på Steam som främst designats för tangentbord och mus, utan riktigt stöd för gamepad. Handkontrollen tar sig igenom spelets tangentbordsbaserade händelser med knappar, men kommer göra antaganden om vilka knappar som förflyttar dig (WASD för förflyttning, mellanslag för hopp, osv.). Den högra plattan emulerar musens rörelser."
		}
		"schinese"
		{
			"title"		"???WASD????"
			"description"		"??????? Steam ???????????????????????????????????????????????????????WSAD ???????????????????????"
		}
		"brazilian"
		{
			"title"		"Teclado (WASD) e mouse"
			"description"		"Este modelo funciona melhor em jogos Steam projetados para teclado e mouse, sem compatibilidade com controles. O controle usará botões para simular eventos do teclado e assumirá quais botões servem para quais comandos (WASD para movimentação, espaço para pular, etc.). O trackpad direito emulará o movimento de um mouse."
		}
		"bulgarian"
		{
			"title"		"????? ? ?????????? (WASD)"
			"description"		"???? ?????? ????? ????? ?????? ??? ????, ????? ?? ???? ??????????? ?? ????? ? ??????????, ??? ?? ???? ???????????? ????????? ?? ???????. ??????????? ?? ???????? ??????????? ?????????? ???????? ???? ????????, ?? ?? ????? ????????????? ??????? ???? ? ??? ?? ??? ?????? ?? ?? ??????? (WASD ?? ????????, ???????? ?? ???? ? ?.?.). ??????? ??? ?? ??????? ?????????? ?? ???????."
		}
		"greek"
		{
			"title"		"???????????? (WASD) ??? ???????"
			"description"		"?? ??????? ???? ?????????? ???? ??? ????????? ??????????? ??? ??? ????? ????????????? ??? ?????????, ????? ??? ?????????? ????????????. ?? ??????????? ?? ???????? ??? ????????? ??? ????????????? ??? ?????????? ?? ???????, ???? ?? ????? ????????? ??????? ?? ???? ??????? ?? ???????? (WASD ??? ??????????, ???? ??? ????, ???.). ? ????? ????????? ?? ??????? ??? ?????? ??? ?????????."
		}
		"turkish"
		{
			"title"		"Klavye (WASD) ve Fare"
			"description"		"Bu ?ablon, gerçek bir kontrolcü deste?i olmayan, klavye ve fare dü?ünülerek tasarlanan Steam'deki oyunlar için çok iyidir. Kontrolcü, oyunun klavye temelli eylemlerini butonlar ile gerçekle?tirecektir ancak hangi butonlar?n sizi hareket ettirdi?i (hareket için WASD, z?plamak için bo?luk, vb.) konusunda varsay?mda bulunacakt?r. Sa? pad, farenin hareketlerini taklit edecektir."
		}
		"ukrainian"
		{
			"title"		"?????????? (WASD) ?? ????"
			"description"		"??? ?????? ???????? ??????? ??? ???? ? Steam, ??? ???????????? ??? ?????????? ?? ????, ??? ?????? ????????? ??????????. ????????? ??????????? ???????? ???????????? ?????? ??? ???, ???????????? ?? ??? (??????? WASD ??? ?????, ?????? ??? ??????? ????). ?????? ??????? ??????????? ??? ?????."
		}
	}
	"group"
	{
		"id"		"0"
		"mode"		"four_buttons"
		"bindings"
		{
			"button_a"		"controller_action CHANGE_PRESET 2 1 1, Drive"
			"button_a"		"key_press E, Drive"
			"button_B"		"key_press G, Gravity Gun"
			"button_X"		"key_press R, Reload"
			"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 1, Weapon 1"
			"dpad_south"		"key_press 3, Weapon 3"
			"dpad_east"		"key_press 2, Weapon 2"
			"dpad_west"		"key_press 4, Weapon 4"
		}
		"settings"
		{
			"hold_repeat_inverval"		"99"
			"edge_binding_radius"		"24996"
		}
	}
	"group"
	{
		"id"		"2"
		"mode"		"absolute_mouse"
		"bindings"
		{
			"click"		"key_press E, Use"
			"doubletap"		"key_press R, Reload"
		}
		"settings"
		{
			"sensitivity"		"165"
			"haptic_intensity"		"3"
			"friction"		"1"
			"mouse_smoothing"		"0"
			"edge_spin_velocity"		"474"
			"edge_spin_radius"		"30734"
			"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"
			"hold_repeat_inverval"		"99"
			"edge_binding_radius"		"24995"
			"haptic_intensity"		"3"
		}
	}
	"group"
	{
		"id"		"4"
		"mode"		"trigger"
		"bindings"
		{
			"edge"		"mouse_button RIGHT, Secondary Attack"
		}
		"settings"
		{
			"hold_repeat_inverval"		"99"
		}
	}
	"group"
	{
		"id"		"5"
		"mode"		"trigger"
		"bindings"
		{
			"edge"		"mouse_button LEFT, Primary Attack"
		}
		"settings"
		{
			"hold_repeat_inverval"		"99"
		}
	}
	"group"
	{
		"id"		"6"
		"mode"		"scrollwheel"
		"bindings"
		{
			"scroll_clockwise"		"mouse_wheel SCROLL_DOWN"
			"scroll_counterclockwise"		"mouse_wheel SCROLL_UP"
			"scroll_wheel_list_0"		"key_press 1, Melee"
			"scroll_wheel_list_1"		"key_press 2, Pistol"
			"scroll_wheel_list_2"		"key_press 3, SMG"
			"scroll_wheel_list_3"		"key_press 4, Shotty"
		}
	}
	"group"
	{
		"id"		"7"
		"mode"		"absolute_mouse"
		"settings"
		{
			"sensitivity"		"172"
			"haptic_intensity"		"3"
			"mouse_smoothing"		"0"
		}
	}
	"group"
	{
		"id"		"8"
		"mode"		"touch_menu"
		"bindings"
		{
			"touch_menu_button_0"		"key_press KEYPAD_1, Crowbar, hl2_wpns_angl_1_crowbar.png #232323 #ffdc00"
			"touch_menu_button_1"		"key_press KEYPAD_3, USP Match, hl2_wpns_angl_2_pistol.png #232323 #ffdc00"
			"touch_menu_button_2"		"key_press KEYPAD_4, .357 Magnum, hl2_wpns_angl_2_357.png #232323 #ffdc00"
			"touch_menu_button_3"		"key_press KEYPAD_5, MP7, hl2_wpns_angl_3_smg.png #232323 #ffdc00"
			"touch_menu_button_4"		"key_press KEYPAD_6, Pulse Rifle, hl2_wpns_angl_3_overwatch.png #232323 #ffdc00"
			"touch_menu_button_5"		"key_press KEYPAD_7, SPAS-12, hl2_wpns_angl_4_shotgun.png #232323 #ffdc00"
			"touch_menu_button_6"		"key_press KEYPAD_8, Crossbow, hl2_wpns_angl_4_crossbow.png #232323 #ffdc00"
			"touch_menu_button_7"		"key_press KEYPAD_9, MK3a2 Grenade, hl2_wpns_angl_5_grenade.png #232323 #ffdc00"
			"touch_menu_button_8"		"key_press KEYPAD_ENTER, RPG, hl2_wpns_angl_5_rpg.png #232323 #ffdc00"
			"touch_menu_button_9"		"key_press KEYPAD_PLUS, Pheropods, hl2_wpns_6_bugbait.png #232323 #ffdc00"
			"touch_menu_button_10"		"key_press C, Squad, ghost_045_move_0180.png #232323 #ffdc00"
			"touch_menu_button_11"		"key_press Q, Last Weapon, ghost_020_ammo_020.png #232323 #ffdc00"
			"touch_menu_button_12"		"key_press KEYPAD_2, Gravity Gun, hl2_wpns_angl_1_gravgun.png #232323 #ffdc00"
		}
		"settings"
		{
			"touch_menu_button_count"		"13"
			"touch_menu_opacity"		"84"
			"touch_menu_position_x"		"5"
			"touch_menu_position_y"		"77"
			"touch_menu_scale"		"85"
			"touch_menu_show_labels"		"0"
		}
	}
	"group"
	{
		"id"		"9"
		"mode"		"joystick_move"
		"settings"
		{
			"haptic_intensity"		"3"
			"output_axis"		"1"
		}
	}
	"group"
	{
		"id"		"10"
		"mode"		"joystick_move"
		"bindings"
		{
			"click"		"key_press LEFT_SHIFT, Sprint"
		}
		"settings"
		{
			"deadzone_shape"		"1"
		}
	}
	"group"
	{
		"id"		"11"
		"mode"		"four_buttons"
		"bindings"
		{
			"button_B"		"key_press E, Exit Vehicle"
			"button_B"		"controller_action CHANGE_PRESET 1 1 0, Exit Vehicle"
		}
	}
	"group"
	{
		"id"		"12"
		"mode"		"trigger"
		"bindings"
		{
			"edge"		"xinput_button TRIGGER_LEFT"
		}
		"settings"
		{
			"output_trigger"		"1"
			"haptic_intensity"		"3"
		}
	}
	"group"
	{
		"id"		"13"
		"mode"		"trigger"
		"bindings"
		{
			"edge"		"xinput_button TRIGGER_RIGHT"
		}
		"settings"
		{
			"output_trigger"		"2"
			"haptic_intensity"		"3"
		}
	}
	"group"
	{
		"id"		"14"
		"mode"		"joystick_move"
		"settings"
		{
			"haptic_intensity"		"3"
			"gyro_button"		"1"
			"output_axis"		"1"
		}
	}
	"group"
	{
		"id"		"15"
		"mode"		"joystick_move"
		"settings"
		{
			"haptic_intensity"		"3"
			"output_axis"		"0"
		}
	}
	"group"
	{
		"id"		"16"
		"mode"		"absolute_mouse"
		"settings"
		{
			"sensitivity"		"199"
			"haptic_intensity"		"3"
			"friction"		"1"
			"mouse_smoothing"		"40"
		}
	}
	"preset"
	{
		"id"		"0"
		"name"		"Default"
		"group_source_bindings"
		{
			"0"		"button_diamond active"
			"1"		"left_trackpad inactive"
			"6"		"left_trackpad inactive"
			"8"		"left_trackpad active"
			"2"		"right_trackpad active"
			"3"		"joystick inactive"
			"10"		"joystick active"
			"4"		"left_trigger active"
			"5"		"right_trigger active"
			"7"		"gyro active"
			"9"		"gyro inactive"
		}
		"switch_bindings"
		{
			"bindings"
			{
				"button_back_right"		"key_press LEFT_CONTROL, Crouch"
				"button_escape"		"key_press ESCAPE, Menu"
				"left_bumper"		"key_press Z, Zoom"
				"right_bumper"		"key_press Q, Last Weapon"
				"button_menu"		"key_press F6, Quicksave"
				"button_back_left"		"key_press SPACE, Jump"
			}
		}
	}
	"preset"
	{
		"id"		"1"
		"name"		"Preset_1000001"
		"group_source_bindings"
		{
			"11"		"button_diamond active"
			"16"		"right_trackpad active"
			"15"		"joystick active"
			"12"		"left_trigger active"
			"13"		"right_trigger active"
			"14"		"gyro active"
		}
		"switch_bindings"
		{
			"bindings"
			{
				"button_back_left"		"key_press LEFT_SHIFT, Turbo"
				"left_bumper"		"key_press Z, Zoom"
				"button_back_right"		"key_press SPACE, Handbrake"
				"button_menu"		"key_press F6, Quicksave"
				"button_escape"		"key_press ESCAPE, Pause"
				"right_bumper"		"key_press F, Flashlight"
			}
		}
	}
	"settings"
	{
	}
}