"controller_mappings" { "version" "3" "revision" "307" "title" "Comfy Double Pads for the Plague" "description" "Trackpad focused config with mouse camera + gyro activated on aim (keep default in-game sensitivity), press trigger soft/full pull to aim throw or sling, all actions are labelled." "creator" "76561198017202196" "controller_type" "controller_steamcontroller_gordon" "major_revision" "0" "minor_revision" "0" "Timestamp" "32769" "actions" { "Default" { "title" "Default" "legacy_set" "1" } } "action_layers" { "Preset_1000001" { "title" "RPad Joystick Mode" "legacy_set" "1" "set_layer" "1" "parent_set_name" "Default" } "Preset_1000002" { "title" "RPad Click" "legacy_set" "1" "set_layer" "1" "parent_set_name" "Default" } "Preset_1000003" { "title" "Aim Sling" "legacy_set" "1" "set_layer" "1" "parent_set_name" "Default" } } "localization" { "english" { "title" "Gamepad with Mouse and Gyro" "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 uses both the right pad and the gyro to allow for the most precise aim in games which support gamepad and mouse." } } "group" { "id" "0" "mode" "four_buttons" "inputs" { "button_a" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button A, Vault/Climb" } } } } "button_b" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button B, Dodge/Drop" } } } } "button_x" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button X, Crouch" } } } } "button_y" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button Y, Interact/Pick Up" } } } } } } "group" { "id" "1" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button dpad_up" } "settings" { "haptic_intensity" "1" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button dpad_down" } "settings" { "haptic_intensity" "1" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button dpad_right" } "settings" { "haptic_intensity" "1" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button dpad_left" } "settings" { "haptic_intensity" "1" } } } } } } "group" { "id" "2" "mode" "joystick_camera" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "1" } } } } } } "group" { "id" "3" "mode" "joystick_move" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_LEFT" } "settings" { "haptic_intensity" "2" } } } } } } "group" { "id" "4" "mode" "trigger" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action add_layer 4 0 0, Aim Sling" } } } } "edge" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SHOULDER_LEFT, Aim Throw" } } } } } "settings" { "deadzone_inner_radius" "3276" "edge_binding_radius" "3276" "adaptive_threshold" "2" } } "group" { "id" "5" "mode" "trigger" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button TRIGGER_RIGHT, Sprint/Shoot/Throw" } } } } } "settings" { "output_trigger" "2" "deadzone_inner_radius" "3276" "edge_binding_radius" "3276" "adaptive_threshold" "0" } } "group" { "id" "6" "mode" "absolute_mouse" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action add_layer 3 0 0, Interact/Look(Hold)/Orders(Edges)" } } } } } "settings" { "sensitivity" "300" "trackball" "0" "rotation" "22" "friction" "0" "sensitivity_vert_scale" "99" "mouse_move_threshold" "1" "doubetap_max_duration" "324" } } "group" { "id" "7" "mode" "joystick_move" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "2" } } } } } } "group" { "id" "8" "mode" "absolute_mouse" "inputs" { } "settings" { "sensitivity" "120" "haptic_intensity" "0" "sensitivity_vert_scale" "99" "acceleration" "2" "mouse_smoothing" "10" "gyro_button" "12" "mouse_dampening_trigger" "6" "mouse_trigger_clamp_amount" "50" "gyro_axis" "1" } } "group" { "id" "10" "mode" "joystick_move" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button X, Crouch" } } } } } "settings" { "edge_binding_radius" "23754" "haptic_intensity" "3" "deadzone_inner_radius" "4799" "deadzone_outer_radius" "20797" "deadzone_shape" "1" } } "group" { "id" "11" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_UP, Order: Interact" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_DOWN, Order: Follow/Stay" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_RIGHT" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_LEFT" } } } } } "settings" { "requires_click" "0" "deadzone" "9830" } } "group" { "id" "12" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_UP, Order: Interact" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_DOWN, Order: Follow/Stay" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_RIGHT" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_LEFT" } } } } "edge" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action add_layer 3 0 0" } } } } } "settings" { "layout" "0" "deadzone" "13106" "edge_binding_radius" "18799" "edge_binding_invert" "1" } } "group" { "id" "14" "mode" "absolute_mouse" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "15" "mode" "dpad" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "16" "mode" "four_buttons" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "17" "mode" "joystick_move" "inputs" { } "settings" { "layer" "1" "haptic_intensity" "0" } } "group" { "id" "18" "mode" "dpad" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "19" "mode" "trigger" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "20" "mode" "trigger" "inputs" { "edge" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button A, Craft Ammo" } } } } } "settings" { "layer" "1" "output_trigger" "0" } } "group" { "id" "21" "mode" "absolute_mouse" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "22" "mode" "joystick_move" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button A, Craft Ammo" } } } } } "settings" { "layer" "1" "haptic_intensity" "0" "deadzone_outer_radius" "6400" } } "group" { "id" "23" "mode" "absolute_mouse" "inputs" { } "settings" { "sensitivity" "235" "haptic_intensity" "0" "acceleration" "2" "mouse_smoothing" "0" "mouse_dampening_trigger" "6" "mouse_trigger_clamp_amount" "50" } } "group" { "id" "25" "mode" "absolute_mouse" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button Y, Interact/Pick Up" } } "Long_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT, Look At (Hold)" } "settings" { "long_press_time" "225" "haptic_intensity" "1" } } "release" { "bindings" { "binding" "controller_action remove_layer 3 0 0" } "settings" { "haptic_intensity" "0" } } } } } "settings" { "layer" "1" } } "group" { "id" "26" "mode" "dpad" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "27" "mode" "absolute_mouse" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "28" "mode" "absolute_mouse" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "29" "mode" "four_buttons" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "30" "mode" "joystick_move" "inputs" { } "settings" { "layer" "1" "haptic_intensity" "0" } } "group" { "id" "31" "mode" "dpad" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "32" "mode" "trigger" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "33" "mode" "trigger" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "34" "mode" "single_button" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action empty_binding, Fix" } } } } } "settings" { "layer" "1" } } "group" { "id" "36" "mode" "absolute_mouse" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "37" "mode" "dpad" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "38" "mode" "absolute_mouse" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "39" "mode" "absolute_mouse" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "40" "mode" "four_buttons" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "41" "mode" "joystick_move" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "42" "mode" "dpad" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "43" "mode" "trigger" "inputs" { "edge" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button TRIGGER_LEFT" } } "release" { "bindings" { "binding" "controller_action remove_layer 4 0 0" } "settings" { "haptic_intensity" "0" } } } } } "settings" { "layer" "1" "adaptive_threshold" "0" } } "group" { "id" "44" "mode" "trigger" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "45" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_UP, Order: Interact" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_DOWN, Order: Follow/Stay" } } } } "edge" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button Y, Interact/Pick Up" } "settings" { "interruptable" "0" } } "Long_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT, Look At (Hold)" } "settings" { "long_press_time" "225" "haptic_intensity" "1" } } } } "click" { "activators" { "release" { "bindings" { "binding" "controller_action remove_layer 3 0 0, [Center]Interact/Look(Hold)" } "settings" { "haptic_intensity" "0" } } } } } "settings" { "layer" "1" "requires_click" "0" "deadzone" "13925" "edge_binding_radius" "18799" "edge_binding_invert" "1" "overlap_region" "2000" } } "group" { "id" "46" "mode" "absolute_mouse" "inputs" { } "settings" { "sensitivity" "749" "trackball" "0" "rotation" "22" "acceleration" "2" "mouse_smoothing" "0" "mouse_dampening_trigger" "6" "mouse_trigger_clamp_amount" "50" } } "group" { "id" "9" "mode" "switches" "inputs" { "button_escape" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button START, Pause" } } } } "button_menu" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SELECT, Crafting Menu" } } } } "left_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SHOULDER_LEFT, Aim Throw" } } } } "right_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SHOULDER_RIGHT, Ammo Selection" } } "Full_Press" { "bindings" { "binding" "controller_action hold_layer 2 0 0" } } } } "button_back_left" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button B, Dodge/Drop" } } } } "button_back_right" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button A, Vault/Climb" } } } } "left_trigger_threshold" { "activators" { "Full_Press" { "bindings" { "binding" "mode_shift gyro 23" } "settings" { "interruptable" "0" } } "Full_Press" { "bindings" { "binding" "mode_shift right_trackpad 46" } "settings" { "interruptable" "0" } } } } } } "group" { "id" "13" "mode" "switches" "inputs" { "left_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button A, Craft Ammo" } } } } "button_back_left" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button A, Craft Ammo" } } } } "button_back_right" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button A, Craft Ammo (In ammo selection)" } } } } } "settings" { "layer" "1" } } "group" { "id" "24" "mode" "switches" "inputs" { "right_click" { "activators" { "Full_Press" { "bindings" { "binding" "mode_shift right_trackpad 34" } "settings" { "interruptable" "0" } } } } } "settings" { "layer" "1" } } "group" { "id" "35" "mode" "switches" "inputs" { } "settings" { "layer" "1" } } "preset" { "id" "0" "name" "Default" "group_source_bindings" { "9" "switch active" "8" "gyro active" "23" "gyro active modeshift" "2" "right_trackpad inactive" "6" "right_trackpad active" "7" "right_trackpad inactive" "12" "right_trackpad inactive modeshift" "46" "right_trackpad active modeshift" "0" "button_diamond active" "1" "left_trackpad inactive" "10" "left_trackpad active" "3" "joystick inactive" "11" "joystick active" "4" "left_trigger active" "5" "right_trigger active" } } "preset" { "id" "1" "name" "Preset_1000001" "group_source_bindings" { "13" "switch active" "21" "gyro inactive" "14" "right_trackpad inactive" "15" "right_trackpad active modeshift" "22" "right_trackpad active" "16" "button_diamond active" "17" "left_trackpad active" "18" "joystick active" "19" "left_trigger active" "20" "right_trigger active" } } "preset" { "id" "2" "name" "Preset_1000002" "group_source_bindings" { "24" "switch active" "27" "gyro inactive" "28" "gyro active modeshift" "25" "right_trackpad inactive" "26" "right_trackpad inactive modeshift" "34" "right_trackpad inactive modeshift" "45" "right_trackpad active" "29" "button_diamond active" "30" "left_trackpad active" "31" "joystick active" "32" "left_trigger active" "33" "right_trigger active" } } "preset" { "id" "3" "name" "Preset_1000003" "group_source_bindings" { "35" "switch active" "38" "gyro inactive" "39" "gyro active modeshift" "36" "right_trackpad active" "37" "right_trackpad active modeshift" "40" "button_diamond active" "41" "left_trackpad active" "42" "joystick active" "43" "left_trigger active" "44" "right_trigger active" } } "settings" { "action_set_trigger_cursor_show" "0" "action_set_trigger_cursor_hide" "0" } }