"controller_mappings" { "version" "3" "title" "Portal 2 Motion Controls" "description" "An upgraded version of Valve's control scheme. Adding touch and click scroling with the left pad, lowered sensivity in zoomed mode and more! (To use Back as a noclip toggle in singleplayer, type \"sv_cheats 1\" and \"bind n noclip\" in the console; it will disable achievements)" "creator" "76561198145898458" "controller_type" "controller_steamcontroller_gordon" "Timestamp" "1606131936" "actions" { "FPSControls" { "title" "#Set_FPSControls" "legacy_set" "0" "StickPadGyro" { "Move" { "title" "#Action_Move" "input_mode" "joystick_move" } "Camera" { "title" "#Action_Camera" "input_mode" "absolute_mouse" } } "Button" { "attack" "#Action_BluePortal" "attack2" "#Action_OrangePortal" "quick_ping" "#Action_QuickPing" "zoom" "#Action_Zoom" "remote_view" "#Action_PartnerView" "duck" "#Action_Crouch" "jump" "#Action_Jump" "use" "#Action_Use" "mouse_menu_taunt" "#Action_Gesture" "mouse_menu" "#Action_PingMenu" "pause_menu" "#Action_PauseMenu" } } "MenuControls" { "title" "#Set_MenuControls" "legacy_set" "0" "Button" { "menu_up" "#Menu_Up" "menu_down" "#Menu_Down" "menu_left" "#Menu_Left" "menu_right" "#Menu_Right" "menu_select" "#Menu_Select" "menu_cancel" "#Menu_Cancel" "menu_x" "#Menu_X" "menu_y" "#Menu_Y" "pause_menu" "#Action_ReturnToGame" } } "Puzzlemaker" { "title" "#Set_PuzzleControls" "legacy_set" "0" "StickPadGyro" { "Mouse" { "title" "#Action_Mouse" "input_mode" "absolute_mouse" "os_mouse" "1" } } "Button" { "menu_up" "#Menu_Up" "menu_down" "#Menu_Down" "menu_left" "#Menu_Left" "menu_right" "#Menu_Right" "menu_select" "#Menu_Select" "menu_cancel" "#Menu_Cancel" "menu_x" "#Menu_X" "menu_y" "#Menu_Y" "pause_menu" "#Action_ReturnToGame" "remote_view" "#Menu_ToggleGameView" } } "RadialMenu" { "title" "#Set_RadialMenu" "legacy_set" "0" "StickPadGyro" { "RadialMenuStick" { "title" "#Action_RadialMenu" "input_mode" "joystick_move" } } "Button" { "mouse_menu" "#Action_PingMenu" "mouse_menu_taunt" "#Action_Gesture" } } } "action_layers" { "Preset_1000004" { "title" "Zoom" "legacy_set" "1" "set_layer" "1" "parent_set_name" "FPSControls" } } "localization" { "english" { "Set_FPSControls" "FPS Controls" "Set_MenuControls" "Menu Controls" "Set_PuzzleControls" "Puzzle Editor Controls" "Set_RadialMenu" "Radial Menu" "Action_Mouse" "Mouse" "Action_Move" "Movement" "Action_Camera" "Camera" "Action_BluePortal" "Blue Portal" "Action_OrangePortal" "Orange Portal" "Action_QuickPing" "Quick Ping" "Action_Zoom" "Zoom" "Action_PartnerView" "Partner View" "Action_Crouch" "Crouch" "Action_Jump" "Jump" "Action_Use" "Use" "Action_Gesture" "Gesture" "Action_PingMenu" "Ping Menu" "Action_PauseMenu" "Pause Menu" "Action_RadialMenu" "Radial Menu" "menu_up" "Up" "menu_down" "Down" "menu_left" "Left" "menu_right" "Right" "menu_select" "Select" "menu_cancel" "Cancel" "menu_x" "Menu Function 1" "menu_y" "Menu Function 2" "Menu_ToggleGameView" "ToggleGameView" "Title_Motion" "Portal 2 Motion Controls" "Description_Motion" "Official Portal 2 Steam Controller configuration. Uses a combination of right pad and motion controls for camera." "Title_Standard" "Portal 2 Standard Controls" "Description_Standard" "Official Portal 2 Steam Controller configuration." } } "group" { "id" "0" "mode" "four_buttons" "inputs" { "button_a" { "activators" { "Full_Press" { "bindings" { "binding" "game_action FPSControls jump" } } } } "button_b" { "activators" { "Full_Press" { "bindings" { "binding" "game_action FPSControls duck, Crouch" } } } } "button_x" { "activators" { "Full_Press" { "bindings" { "binding" "game_action FPSControls use, Use" } } } } "button_y" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action add_layer 5 0 0, Zoom" } } } } } "settings" { "button_size" "17996" "button_dist" "19996" } } "group" { "id" "1" "mode" "trigger" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "game_action FPSControls attack2" } "settings" { "haptic_intensity" "2" } } } } } } "group" { "id" "2" "mode" "trigger" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "game_action FPSControls attack" } "settings" { "haptic_intensity" "2" } } } } } } "group" { "id" "3" "mode" "absolute_mouse" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "game_action FPSControls use" } "settings" { "haptic_intensity" "1" } } } } } "settings" { "virtual_mode" "1" "sensitivity" "121" "doubetap_max_duration" "320" } "gameactions" { "FPSControls" "Camera" } } "group" { "id" "4" "mode" "joystick_move" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "game_action FPSControls duck, Crouch" } } } } } "settings" { "virtual_mode" "1" "edge_binding_radius" "24995" "sensitivity" "97" } "gameactions" { "FPSControls" "Move" } } "group" { "id" "5" "mode" "joystick_move" "inputs" { } "settings" { "virtual_mode" "1" "edge_binding_radius" "24995" "sensitivity" "97" } "gameactions" { "RadialMenu" "RadialMenuStick" } } "group" { "id" "6" "mode" "trigger" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls menu_cancel, Cancel" } "settings" { "haptic_intensity" "2" } } } } } } "group" { "id" "7" "mode" "trigger" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls menu_select, Select" } "settings" { "haptic_intensity" "2" } } } } } } "group" { "id" "8" "mode" "four_buttons" "inputs" { "button_a" { "activators" { "Full_Press" { "bindings" { "binding" "game_action Puzzlemaker menu_select" } } } } "button_b" { "activators" { "Full_Press" { "bindings" { "binding" "game_action Puzzlemaker menu_cancel" } } } } "button_x" { "activators" { "Full_Press" { "bindings" { "binding" "game_action Puzzlemaker menu_x" } } } } "button_y" { "activators" { "Full_Press" { "bindings" { "binding" "game_action Puzzlemaker menu_y" } } } } } "settings" { "button_size" "17996" "button_dist" "19996" } } "group" { "id" "9" "mode" "trigger" "inputs" { "edge" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button RIGHT" } "settings" { "haptic_intensity" "2" } } } } } } "group" { "id" "10" "mode" "trigger" "inputs" { "edge" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button LEFT" } "settings" { "haptic_intensity" "2" } } } } } } "group" { "id" "11" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls menu_up" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls menu_down" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls menu_right" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls menu_left" } } } } } "settings" { "deadzone" "5000" "edge_binding_radius" "24995" "analog_emulation_period" "29" } } "group" { "id" "12" "mode" "absolute_mouse" "inputs" { } "settings" { "sensitivity" "144" "doubetap_max_duration" "320" } } "group" { "id" "13" "mode" "absolute_mouse" "inputs" { } "settings" { "sensitivity" "146" "doubetap_max_duration" "321" } "gameactions" { "Puzzlemaker" "Mouse" } } "group" { "id" "14" "mode" "absolute_mouse" "inputs" { } "settings" { "sensitivity" "147" "doubetap_max_duration" "322" } } "group" { "id" "15" "mode" "absolute_mouse" "inputs" { } "settings" { "virtual_mode" "1" "sensitivity" "51" "trackball" "0" "haptic_intensity" "0" "sensitivity_vert_scale" "119" "acceleration" "2" "mouse_smoothing" "0" "doubetap_max_duration" "322" } "gameactions" { "FPSControls" "Camera" } } "group" { "id" "16" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "game_action Puzzlemaker menu_up" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "game_action Puzzlemaker menu_down" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "game_action Puzzlemaker menu_right" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "game_action Puzzlemaker menu_left" } } } } } "settings" { "deadzone" "5000" "edge_binding_radius" "24996" "analog_emulation_period" "29" } } "group" { "id" "17" "mode" "four_buttons" "inputs" { } "settings" { "button_size" "17996" "button_dist" "19996" } } "group" { "id" "18" "mode" "trigger" "inputs" { } } "group" { "id" "19" "mode" "trigger" "inputs" { } } "group" { "id" "20" "mode" "four_buttons" "inputs" { "button_a" { "activators" { "Full_Press" { "bindings" { "binding" "key_press ENTER, Select/Build" } "settings" { "repeat_rate" "99" } } } } "button_b" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_CONTROL, Undo" } "settings" { "repeat_rate" "99" } } "Full_Press" { "bindings" { "binding" "key_press Z, Undo" } "settings" { "repeat_rate" "99" } } } } "button_x" { "activators" { "Full_Press" { "bindings" { "binding" "key_press DELETE, Delete Selected" } "settings" { "repeat_rate" "99" } } } } "button_y" { "activators" { "Full_Press" { "bindings" { "binding" "key_press F9, Build/Play Map" } "settings" { "repeat_rate" "99" } } } } } "settings" { "button_size" "17994" "button_dist" "19994" } } "group" { "id" "21" "mode" "four_buttons" "inputs" { "button_a" { "activators" { "Full_Press" { "bindings" { "binding" "key_press S, Move Back" } "settings" { "hold_repeats" "1" "repeat_rate" "50" } } } } "button_b" { "activators" { "Full_Press" { "bindings" { "binding" "key_press D, Move Right" } "settings" { "hold_repeats" "1" "repeat_rate" "50" } } } } "button_x" { "activators" { "Full_Press" { "bindings" { "binding" "key_press A, Move Left" } "settings" { "hold_repeats" "1" "repeat_rate" "50" } } } } "button_y" { "activators" { "Full_Press" { "bindings" { "binding" "key_press W, Move Forward" } "settings" { "hold_repeats" "1" "repeat_rate" "50" } } } } } "settings" { "requires_click" "0" "button_size" "18994" "button_dist" "19994" } } "group" { "id" "22" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_UP, Zoom In" } "settings" { "repeat_rate" "99" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_DOWN, Zoom Out" } "settings" { "repeat_rate" "99" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "key_press E, Spin Right" } "settings" { "repeat_rate" "99" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "key_press Q, Spin Left" } "settings" { "repeat_rate" "99" } } } } } "settings" { "edge_binding_radius" "24995" } } "group" { "id" "23" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "game_action FPSControls mouse_menu" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "game_action FPSControls remote_view, Partner View" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "game_action FPSControls quick_ping, Quick Ping" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "game_action FPSControls mouse_menu_taunt" } } } } } "settings" { "virtual_mode" "1" "edge_binding_radius" "24995" "analog_emulation_period" "29" } } "group" { "id" "24" "mode" "four_buttons" "inputs" { "button_a" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls menu_select" } } } } "button_b" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls menu_cancel" } } } } "button_x" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls menu_x" } } } } "button_y" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls menu_y" } } } } } "settings" { "button_size" "17992" "button_dist" "19992" } } "group" { "id" "25" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "game_action RadialMenu mouse_menu" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "game_action RadialMenu mouse_menu_taunt" } } } } } "settings" { "virtual_mode" "1" "edge_binding_radius" "24995" "analog_emulation_period" "29" } } "group" { "id" "30" "mode" "trigger" "inputs" { } } "group" { "id" "31" "mode" "trigger" "inputs" { } } "group" { "id" "32" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_UP" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_DOWN" } } } } } "settings" { "requires_click" "0" } } "group" { "id" "33" "mode" "four_buttons" "inputs" { } } "group" { "id" "34" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_UP" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_DOWN" } } } } } } "group" { "id" "35" "mode" "scrollwheel" "inputs" { "scroll_clockwise" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_UP" } "settings" { "haptic_intensity" "2" } } } } "scroll_counterclockwise" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_DOWN" } "settings" { "haptic_intensity" "2" } } } } } "settings" { "scroll_type" "2" } } "group" { "id" "36" "mode" "absolute_mouse" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls menu_select, Select" } "settings" { "haptic_intensity" "1" } } } } } } "group" { "id" "37" "mode" "mouse_joystick" "inputs" { } } "group" { "id" "38" "mode" "absolute_mouse" "inputs" { } } "group" { "id" "39" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "key_press W" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "key_press S" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "key_press D" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "key_press A" } } } } } } "group" { "id" "40" "mode" "absolute_mouse" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls menu_select, Select" } "settings" { "haptic_intensity" "1" } } } } } } "group" { "id" "41" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "key_press W" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "key_press S" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "key_press D" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "key_press A" } } } } } } "group" { "id" "43" "mode" "dpad" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "44" "mode" "four_buttons" "inputs" { "button_y" { "activators" { "Full_Press" { "bindings" { "binding" "game_action FPSControls zoom, Zoom" "binding" "controller_action remove_layer 5 0 0, Zoom" "binding" "game_action FPSControls zoom, Zoom" } } } } } "settings" { "layer" "1" } } "group" { "id" "45" "mode" "trigger" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "46" "mode" "trigger" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "47" "mode" "absolute_mouse" "inputs" { } "settings" { "layer" "1" "sensitivity" "50" } "gameactions" { "FPSControls" "Camera" } } "group" { "id" "48" "mode" "dpad" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "49" "mode" "joystick_move" "inputs" { } "settings" { "layer" "1" } "gameactions" { "FPSControls" "Move" } } "group" { "id" "50" "mode" "absolute_mouse" "inputs" { } "settings" { "layer" "1" "sensitivity" "29" } "gameactions" { "FPSControls" "Camera" } } "group" { "id" "26" "mode" "switches" "inputs" { "button_escape" { "activators" { "Full_Press" { "bindings" { "binding" "game_action FPSControls pause_menu" } } } } "button_menu" { "activators" { "Full_Press" { "bindings" { "binding" "game_action FPSControls remote_view, Partner View" "binding" "key_press N" } } } } "left_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "game_action FPSControls jump, Jump" } } } } "right_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "game_action FPSControls use, Use" } } } } "button_back_left" { "activators" { "Full_Press" { "bindings" { "binding" "game_action FPSControls jump" } } } } "button_back_right" { "activators" { "Full_Press" { "bindings" { "binding" "game_action FPSControls use" } } } } } } "group" { "id" "27" "mode" "switches" "inputs" { "button_escape" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls pause_menu" } } } } "left_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls menu_cancel, Cancel" } } } } "right_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls menu_select, Select" } } } } "left_click" { "activators" { "Full_Press" { "bindings" { "binding" "mode_shift left_trackpad 34" } "settings" { "interruptable" "0" } } } } } } "group" { "id" "28" "mode" "switches" "inputs" { "button_escape" { "activators" { "Full_Press" { "bindings" { "binding" "game_action Puzzlemaker pause_menu" } } } } "button_menu" { "activators" { "Full_Press" { "bindings" { "binding" "key_press TAB, Toggle Game View" } } } } "left_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "key_press SPACE, Move Current Selection" } } } } "right_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "key_press p, Change Surface Material" } } } } "button_back_left" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button MIDDLE, Rotate View" } } } } "button_back_right" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_SHIFT, Multi-Select" } } } } "left_trigger" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button RIGHT, Right Mouse" } } } } "right_trigger" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button LEFT, Left Mouse" } } } } } } "group" { "id" "29" "mode" "switches" "inputs" { "left_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "game_action RadialMenu mouse_menu" } } } } } } "group" { "id" "42" "mode" "switches" "inputs" { } "settings" { "layer" "1" } } "preset" { "id" "0" "name" "FPSControls" "group_source_bindings" { "26" "switch active" "23" "left_trackpad active" "0" "button_diamond active" "1" "left_trigger active" "2" "right_trigger active" "3" "right_trackpad active" "41" "right_trackpad active modeshift" "4" "joystick active" "15" "gyro active" } } "preset" { "id" "1" "name" "MenuControls" "group_source_bindings" { "27" "switch active" "32" "left_trackpad inactive" "33" "left_trackpad inactive" "34" "left_trackpad active modeshift" "35" "left_trackpad active" "24" "button_diamond active" "6" "left_trigger active" "7" "right_trigger active" "36" "right_trackpad active" "37" "right_trackpad inactive" "39" "right_trackpad inactive modeshift" "40" "right_trackpad active modeshift" "11" "joystick active" "38" "gyro active" } } "preset" { "id" "2" "name" "Puzzlemaker" "group_source_bindings" { "28" "switch active" "22" "left_trackpad active" "20" "button_diamond active" "9" "left_trigger active" "10" "right_trigger active" "12" "right_trackpad active" "21" "joystick active" } } "preset" { "id" "3" "name" "RadialMenu" "group_source_bindings" { "29" "switch active" "25" "left_trackpad active" "30" "left_trigger active" "31" "right_trigger active" "5" "right_trackpad active" } } "preset" { "id" "4" "name" "Preset_1000004" "group_source_bindings" { "42" "switch active" "43" "left_trackpad active" "44" "button_diamond active" "45" "left_trigger active" "46" "right_trigger active" "47" "right_trackpad active" "48" "right_trackpad active modeshift" "49" "joystick active" "50" "gyro active" } } "settings" { } }