"controller_mappings" { "version" "3" "revision" "107" "title" "Dual touchpad mouse+gyro+gamepad" "description" "Set mouse sensitivity in-game to about 70%. Weapon select available on right pad press." "creator" "76561197971169995" "controller_type" "controller_steamcontroller_gordon" "major_revision" "0" "minor_revision" "0" "Timestamp" "855007232" "actions" { "Default" { "title" "Default" "legacy_set" "1" } } "action_layers" { "Preset_1000001" { "title" "Mouse aim" "legacy_set" "1" "set_layer" "1" "parent_set_name" "Default" } "Preset_1000002" { "title" "Rush" "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, Jump" } } } } "button_b" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button B, Shield" } } } } "button_x" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button X, Reload/Interact" } } } } "button_y" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button Y, Vision" } } } } } } "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" { "edge" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action hold_layer 2 0 0, Aim" } } } } } "settings" { "adaptive_threshold" "0" } } "group" { "id" "5" "mode" "trigger" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SHOULDER_RIGHT, Stop/Blast" } "settings" { "haptic_intensity" "2" } } } } "edge" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button TRIGGER_RIGHT, Shoot" } } } } } "settings" { "adaptive_threshold" "3" } } "group" { "id" "6" "mode" "absolute_mouse" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "1" } } } } } "settings" { "sensitivity" "746" "friction" "3" "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" "366" "haptic_intensity" "0" } } "group" { "id" "10" "mode" "joystick_move" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action add_layer 3 0 0, Rush" } "settings" { "haptic_intensity" "2" } } "Long_Press" { "bindings" { "binding" "xinput_button JOYSTICK_LEFT" } "settings" { "long_press_time" "224" "haptic_intensity" "3" } } } } } "settings" { "curve_exponent" "2" "anti_deadzone" "6553" "deadzone_inner_radius" "3199" } } "group" { "id" "11" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_UP, Current objective" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_DOWN, Weapon selection" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_RIGHT, Weapon selection" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_LEFT, Weapon selection" } } } } } "settings" { "requires_click" "0" "layout" "0" "deadzone" "5084" "haptic_intensity_override" "3" } } "group" { "id" "12" "mode" "mouse_joystick" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action empty_binding, Weapon selection etc." } "settings" { "haptic_intensity" "1" } } } } "doubletap" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button X, Interact" } "settings" { "haptic_intensity" "3" } } } } } "settings" { "friction" "3" "edge_spin_velocity" "673" "edge_spin_radius" "28276" "mousejoystick_deadzone_x" "12457" "mousejoystick_deadzone_y" "12457" "mousejoystick_precision" "50" } } "group" { "id" "13" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button A" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_DOWN" } } } } "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" "xinput_button JOYSTICK_RIGHT" } } } } } "settings" { "layout" "0" "edge_binding_radius" "16199" "edge_binding_invert" "1" } } "group" { "id" "14" "mode" "mouse_joystick" "inputs" { } "settings" { "gyro_sensitivity_scale" "128" } } "group" { "id" "16" "mode" "four_buttons" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "17" "mode" "joystick_move" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "18" "mode" "mouse_joystick" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "19" "mode" "dpad" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "20" "mode" "dpad" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "21" "mode" "trigger" "inputs" { "edge" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button TRIGGER_LEFT" } "settings" { "interruptable" "0" } } "release" { "bindings" { "binding" "controller_action remove_layer 2 0 0" } "settings" { "haptic_intensity" "0" } } } } } "settings" { "layer" "1" "adaptive_threshold" "5" } } "group" { "id" "22" "mode" "trigger" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SHOULDER_RIGHT, Stop/Blast" } } } } "edge" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button TRIGGER_RIGHT, Shoot" } "settings" { "haptic_intensity" "3" } } } } } "settings" { "layer" "1" } } "group" { "id" "23" "mode" "mouse_joystick" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "24" "mode" "absolute_mouse" "inputs" { } "settings" { "layer" "1" "sensitivity" "347" "friction" "3" } } "group" { "id" "25" "mode" "absolute_mouse" "inputs" { } "settings" { "layer" "1" "sensitivity" "186" } } "group" { "id" "27" "mode" "mouse_joystick" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "28" "mode" "dpad" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "29" "mode" "four_buttons" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "30" "mode" "joystick_move" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action empty_binding" } } } } "edge" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SHOULDER_LEFT, Rush" } } "release" { "bindings" { "binding" "controller_action remove_layer 3 0 0" } "settings" { "haptic_intensity" "0" } } } } } "settings" { "layer" "1" "edge_binding_radius" "21720" "anti_deadzone" "0" "deadzone_inner_radius" "799" } } "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" "mouse_joystick" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "9" "mode" "switches" "inputs" { "button_escape" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button start" } } } } "button_menu" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SELECT, Timeline" } } } } "left_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SHOULDER_LEFT, Dodge" } } } } "right_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SHOULDER_RIGHT, Stop/Blast" } } } } "button_back_left" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button B, Shield" } } } } "button_back_right" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button X, Reload" } } } } "right_click" { "activators" { "Full_Press" { "bindings" { "binding" "mode_shift right_trackpad 13" } "settings" { "interruptable" "0" } } } } } } "group" { "id" "15" "mode" "switches" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "26" "mode" "switches" "inputs" { } "settings" { "layer" "1" } } "preset" { "id" "0" "name" "Default" "group_source_bindings" { "9" "switch active" "2" "right_trackpad inactive" "6" "right_trackpad inactive" "7" "right_trackpad inactive" "12" "right_trackpad active" "13" "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" "8" "gyro inactive" "14" "gyro active" } } "preset" { "id" "1" "name" "Preset_1000001" "group_source_bindings" { "15" "switch active" "18" "right_trackpad inactive" "19" "right_trackpad active modeshift" "24" "right_trackpad active" "16" "button_diamond active" "17" "left_trackpad active" "20" "joystick active" "21" "left_trigger active" "22" "right_trigger active" "23" "gyro inactive" "25" "gyro active" } } "preset" { "id" "2" "name" "Preset_1000002" "group_source_bindings" { "26" "switch active" "27" "right_trackpad active" "28" "right_trackpad active modeshift" "29" "button_diamond active" "30" "left_trackpad active" "31" "joystick active" "32" "left_trigger active" "33" "right_trigger active" "34" "gyro active" } } "settings" { "action_set_trigger_cursor_show" "0" "action_set_trigger_cursor_hide" "0" } }