"controller_mappings" { "version" "3" "revision" "82" "title" "SIAPI XB360-like Config (V. 1.00)" "description" "This config aims to replicate the original XB360 Controls Layout while adjusting Camera Sensitivity and Movement Deadzones. Intended as a alternative to the Recommended/Dev Config." "creator" "76561198016035055" "progenitor" "" "export_type" "unknown" "controller_type" "controller_ps4" "major_revision" "1" "minor_revision" "0" "Timestamp" "0" "actions" { "GameControls" { "title" "#Set_InGameControls" "legacy_set" "0" "StickPadGyro" { "Move" { "title" "#Action_Movement" "input_mode" "joystick_move" } "Camera" { "title" "#Action_Camera" "input_mode" "absolute_mouse" } "JoystickCamera" { "title" "#Action_JoystickCamera" "input_mode" "joystick_move" } } "Button" { "attack" "#Action_Game_BluePortal" "attack2" "#Action_Game_OrangePortal" "jump" "#Action_Game_Jump" "duck" "#Action_Game_Duck" "toggle_duck" "#Action_Game_ToggleDuck" "use" "#Action_Game_Use" "pause_menu" "#Action_Game_PauseGame" "lookspin" "#Action_Game_TurnAround" "resetcamera" "#Action_Game_ResetCamera" "sc_save_quick" "#Action_Game_QuickSave" "sc_load_quick" "#Action_Game_QuickLoad" } } "MenuControls" { "title" "#Set_MenuControls" "legacy_set" "0" "StickPadGyro" { "Mouse" { "title" "#Mouse" "input_mode" "absolute_mouse" "os_mouse" "1" } } "Button" { "menu_up" "#Action_Menu_Up" "menu_down" "#Action_Menu_Down" "menu_left" "#Action_Menu_Left" "menu_right" "#Action_Menu_Right" "menu_select" "#Action_Menu_Select" "menu_cancel" "#Action_Menu_Cancel" "menu_x" "#Action_Menu_X" "menu_y" "#Action_Menu_Y" "menu_lb" "#Action_Menu_PreviousTab" "menu_rb" "#Action_Menu_NextTab" "pause_menu" "#Action_Menu_ReturnToGame" } } } "action_layers" { } "localization" { "english" { "Set_InGameControls" "In-Game Controls" "Set_MenuControls" "Menu Controls" "Action_Movement" "Movement" "Action_Camera" "Camera" "Action_JoystickCamera" "Joystick Camera" "Action_Game_BluePortal" "Blue Portal" "Action_Game_OrangePortal" "Orange Portal" "Action_Game_Jump" "Jump" "Action_Game_Duck" "Duck" "Action_Game_ToggleDuck" "Toggle Duck" "Action_Game_Use" "Use" "Action_Game_PauseGame" "Pause Game" "Action_Game_TurnAround" "Turn Around" "Action_Game_ResetCamera" "Reset Camera" "Action_Game_QuickSave" "Quick Save" "Action_Game_QuickLoad" "Quick Load" "Action_Menu_ReturnToGame" "Return to Game" "Action_Menu_Up" "Up" "Action_Menu_Down" "Down" "Action_Menu_Left" "Left" "Action_Menu_Right" "Right" "Action_Menu_Select" "Select" "Action_Menu_Cancel" "Cancel" "Action_Menu_X" "Alt Select" "Action_Menu_Y" "Options" "Action_Menu_PreviousTab" "Switch to Previous Tab" "Action_Menu_NextTab" "Switch to Next Tab" "Title_Portal_Gyro" "Portal Motion Controls for Steam Deck" "Description_Portal_Gyro" "Official Steam Deck configuration for Portal. A gyro-centric configuration using right pad/stick + gyro for camera." "Title_Portal_Motion" "Portal Motion Controls for Steam Controller" "Description_Portal_Motion" "Official Steam Controller configuration for Portal. A gryo-assisted configuration using right pad + gyro for camera." "Title_Portal_Standard" "Portal Standard Controls" "Description_Portal_Standard" "Official Playstation/Xbox/Switch Pro configuration for Portal. No motion controls." } } "group" { "id" "0" "mode" "four_buttons" "description" "" "inputs" { "button_a" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button A" } } } "disabled_activators" { } } "button_b" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button B" } } } "disabled_activators" { } } "button_x" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button X" } } } "disabled_activators" { } } "button_y" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button Y" } } } "disabled_activators" { } } } } "group" { "id" "1" "mode" "dpad" "description" "" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button dpad_up" } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button dpad_down" } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button dpad_right" } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button dpad_left" } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } } } "group" { "id" "2" "mode" "joystick_move" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } } } "group" { "id" "3" "mode" "joystick_move" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_LEFT" } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } } } "group" { "id" "4" "mode" "trigger" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button TRIGGER_LEFT" } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } } "settings" { "output_trigger" "1" } } "group" { "id" "5" "mode" "trigger" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button TRIGGER_RIGHT" } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } } "settings" { "output_trigger" "2" } } "group" { "id" "6" "mode" "joystick_move" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } } } "group" { "id" "8" "mode" "joystick_move" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } } } "disabled_activators" { } } } } "group" { "id" "9" "mode" "dpad" "description" "" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_UP" } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_DOWN" } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_RIGHT" } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_LEFT" } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } } "settings" { "requires_click" "0" "haptic_intensity_override" "0" } } "group" { "id" "10" "mode" "single_button" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button START" } } } "disabled_activators" { } } } } "group" { "id" "11" "mode" "single_button" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SELECT" } } } "disabled_activators" { } } } } "group" { "id" "13" "mode" "four_buttons" "description" "" "inputs" { "button_a" { "activators" { "Full_Press" { "bindings" { "binding" "game_action GameControls jump" } } } "disabled_activators" { } } "button_b" { "activators" { "Full_Press" { "bindings" { "binding" "game_action GameControls toggle_duck" } } } "disabled_activators" { } } "button_x" { "activators" { "Full_Press" { "bindings" { "binding" "game_action GameControls use" } } } "disabled_activators" { } } } } "group" { "id" "14" "mode" "trigger" "description" "" "inputs" { "edge" { "activators" { "Full_Press" { "bindings" { "binding" "game_action GameControls attack2" } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } } } "group" { "id" "15" "mode" "trigger" "description" "" "inputs" { "edge" { "activators" { "Full_Press" { "bindings" { "binding" "game_action GameControls attack" } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } } } "group" { "id" "17" "mode" "four_buttons" "description" "" "inputs" { "button_a" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls menu_select" } } } "disabled_activators" { } } "button_b" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls menu_cancel" } } } "disabled_activators" { } } "button_x" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls menu_y" } } } "disabled_activators" { } } "button_y" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls menu_x" } } } "disabled_activators" { } } } } "group" { "id" "18" "mode" "trigger" "description" "" "inputs" { "edge" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button RIGHT" } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } } } "group" { "id" "19" "mode" "trigger" "description" "" "inputs" { "edge" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button LEFT" } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } } } "group" { "id" "20" "mode" "disabled" "description" "" } "group" { "id" "21" "mode" "disabled" "description" "" } "group" { "id" "22" "mode" "joystick_mouse" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "game_action GameControls toggle_duck" } } } "disabled_activators" { } } } "settings" { "virtual_mode" "1" "output_joystick" "2" "sensitivity" "456" } "gameactions" { "GameControls" "Camera" } } "group" { "id" "23" "mode" "joystick_move" "description" "" "inputs" { } "settings" { "virtual_mode" "1" "deadzone_inner_radius" "7999" "deadzone_shape" "0" } "gameactions" { "GameControls" "Move" } } "group" { "id" "24" "mode" "dpad" "description" "" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls menu_up" } } } "disabled_activators" { } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls menu_down" } } } "disabled_activators" { } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls menu_right" } } } "disabled_activators" { } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls menu_left" } } } "disabled_activators" { } } } "settings" { "requires_click" "0" "haptic_intensity_override" "0" } } "group" { "id" "25" "mode" "dpad" "description" "" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls menu_up" } } } "disabled_activators" { } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls menu_down" } } } "disabled_activators" { } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls menu_right" } } } "disabled_activators" { } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls menu_left" } } } "disabled_activators" { } } } "settings" { "requires_click" "0" "deadzone" "16413" } } "group" { "id" "26" "mode" "joystick_mouse" "description" "" "inputs" { } "settings" { "output_joystick" "2" } "gameactions" { "MenuControls" "Mouse" } } "group" { "id" "27" "mode" "disabled" "description" "" } "group" { "id" "28" "mode" "disabled" "description" "" } "group" { "id" "29" "mode" "disabled" "description" "" } "group" { "id" "30" "mode" "disabled" "description" "" } "group" { "id" "31" "mode" "single_button" "description" "" "inputs" { } } "group" { "id" "32" "mode" "single_button" "description" "" "inputs" { } } "group" { "id" "39" "mode" "absolute_mouse" "description" "" "inputs" { } "settings" { "sensitivity" "204" "mouse_move_threshold" "4" "gyro_axis" "2" "gyro_roll_scale" "7500" } } "group" { "id" "41" "mode" "single_button" "description" "" "inputs" { } } "group" { "id" "7" "mode" "switches" "description" "" "inputs" { "button_escape" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button start" } } } "disabled_activators" { } } "button_menu" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button select" } } } "disabled_activators" { } } "left_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button shoulder_left" } } } "disabled_activators" { } } "right_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button shoulder_right" } } } "disabled_activators" { } } "button_back_left" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button a" } } } "disabled_activators" { } } "button_back_right" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button x" } } } "disabled_activators" { } } } } "group" { "id" "12" "mode" "switches" "description" "" "inputs" { "button_escape" { "activators" { "Full_Press" { "bindings" { "binding" "game_action GameControls pause_menu" } } } "disabled_activators" { } } "left_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "game_action GameControls jump" } } } "disabled_activators" { } } "right_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "game_action GameControls use" } } } "disabled_activators" { } } } } "group" { "id" "16" "mode" "switches" "description" "" "inputs" { "button_escape" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls pause_menu" } } } "disabled_activators" { } } "left_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls menu_lb" } } } "disabled_activators" { } } "right_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "game_action MenuControls menu_rb" } } } "disabled_activators" { } } } } "preset" { "id" "0" "name" "GameControls" "group_source_bindings" { "12" "switch active" "13" "button_diamond active" "23" "joystick active" "14" "left_trigger active" "15" "right_trigger active" "22" "right_joystick active" "27" "left_trackpad inactive" "41" "left_trackpad inactive" "28" "right_trackpad inactive" "32" "right_trackpad inactive" "29" "gyro inactive" "39" "gyro inactive" "30" "center_trackpad inactive" } } "preset" { "id" "1" "name" "MenuControls" "group_source_bindings" { "16" "switch active" "17" "button_diamond active" "25" "joystick active" "18" "left_trigger active" "19" "right_trigger active" "26" "right_joystick active" "31" "right_trackpad inactive" "24" "dpad active" } } "settings" { "left_trackpad_mode" "0" "right_trackpad_mode" "0" "action_set_trigger_cursor_show" "0" "action_set_trigger_cursor_hide" "0" } }