"controller_mappings" { "version" "3" "title" "Gamepad With Mouse Aiming" "description" "Two basic action sets: the first is standard gamepad mapping, so you get gamepad buttons on screen. The second employs mouse and gyro for precise aiming, and activates automatically when behind cover or looking down weapon sights." "creator" "76561198042119455" "controller_type" "controller_steamcontroller_gordon" "actions" { "Preset_1000002" { "title" "Moving" "legacy_set" "1" } "Preset_1000003" { "title" "Aiming" "legacy_set" "1" } } "group" { "id" "0" "mode" "four_buttons" "inputs" { "button_A" { "activators" { "Full_Press" { "bindings" { "binding" "key_press SPACE, Jump" } "settings" { "repeat_rate" "99" } } } } "button_B" { "activators" { "Full_Press" { "bindings" { "binding" "key_press Q, Takedown" } "settings" { "repeat_rate" "99" } } } } "button_X" { "activators" { "Full_Press" { "bindings" { "binding" "key_press R, Reload" } "settings" { "repeat_rate" "99" } } } } "button_Y" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_DOWN, Swap Weapon" } "settings" { "repeat_rate" "99" } } } } } "settings" { "button_size" "17984" "button_dist" "19980" } } "group" { "id" "13" "mode" "four_buttons" "inputs" { "button_A" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button A" } } } } "button_B" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button B" } } } } "button_X" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button X" } } } } "button_Y" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button Y" } } } } } } "group" { "id" "14" "mode" "trigger" "inputs" { "click" { "activators" { "Start_Press" { "bindings" { "binding" "controller_action CHANGE_PRESET 2 0 0" } "settings" { "haptic_intensity" "0" } } } } "edge" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button TRIGGER_LEFT" } } } } } "settings" { "edge_binding_radius" "2627" } } "group" { "id" "15" "mode" "trigger" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button TRIGGER_RIGHT" } "settings" { "haptic_intensity" "2" } } } } "edge" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button TRIGGER_RIGHT" } "settings" { "haptic_intensity" "2" } } } } } } "group" { "id" "17" "mode" "joystick_move" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_LEFT" } } } } } } "group" { "id" "18" "mode" "mouse_joystick" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "1" } } "Full_Press" { "bindings" { "binding" "controller_action CHANGE_PRESET 2 1 0" } "settings" { "haptic_intensity" "1" } } } } } "settings" { "friction" "1" "sensitivity_vert_scale" "114" "mousejoystick_deadzone_x" "11638" "mousejoystick_deadzone_y" "11638" } } "group" { "id" "19" "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" "20" "mode" "mouse_joystick" "inputs" { } "settings" { "sensitivity_vert_scale" "118" "gyro_sensitivity_scale" "200" "deadzone_outer_radius" "8599" } } "group" { "id" "21" "mode" "touch_menu" "inputs" { "touch_menu_button_0" { "activators" { "Full_Press" { "bindings" { "binding" "key_press F1" } "settings" { "haptic_intensity" "2" } } } } "touch_menu_button_1" { "activators" { "Full_Press" { "bindings" { "binding" "key_press F2" } "settings" { "haptic_intensity" "2" } } } } "touch_menu_button_2" { "activators" { "Full_Press" { "bindings" { "binding" "key_press F3" } "settings" { "haptic_intensity" "2" } } } } "touch_menu_button_3" { "activators" { "Full_Press" { "bindings" { "binding" "key_press F4" } "settings" { "haptic_intensity" "2" } } } } } "settings" { "touch_menu_button_count" "12" } } "group" { "id" "23" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "key_press F1, Cloak" } "settings" { "repeat_rate" "99" "haptic_intensity" "1" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "key_press F3, Smart Vision" } "settings" { "repeat_rate" "99" "haptic_intensity" "1" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "key_press F2, Typhoon" } "settings" { "repeat_rate" "99" "haptic_intensity" "1" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "key_press F4, Silent Movement" } "settings" { "repeat_rate" "99" "haptic_intensity" "1" } } } } } "settings" { "deadzone" "5000" "edge_binding_radius" "24996" "analog_emulation_period" "29" } } "group" { "id" "24" "mode" "four_buttons" "inputs" { "button_A" { "activators" { "Full_Press" { "bindings" { "binding" "key_press SPACE, Jump" } "settings" { "repeat_rate" "99" } } } } "button_B" { "activators" { "Full_Press" { "bindings" { "binding" "key_press Q, Takedown" } "settings" { "repeat_rate" "99" } } } } "button_X" { "activators" { "Full_Press" { "bindings" { "binding" "key_press R, Reload" } "settings" { "repeat_rate" "99" } } } } "button_Y" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_DOWN, Swap Weapon" } "settings" { "repeat_rate" "99" } } } } } "settings" { "button_size" "17984" "button_dist" "19980" } } "group" { "id" "25" "mode" "absolute_mouse" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button MIDDLE, Aim Down Sights" } "settings" { "haptic_intensity" "2" } } "Full_Press" { "bindings" { "binding" "controller_action CHANGE_PRESET 1 1 0" } "settings" { "haptic_intensity" "1" } } } } } "settings" { "sensitivity" "97" "friction" "1" "friction_vert_scale" "119" "sensitivity_vert_scale" "154" "mouse_smoothing" "36" "edge_spin_radius" "25481" "doubetap_max_duration" "320" } } "group" { "id" "26" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "key_press W, Move Forward" } "settings" { "repeat_rate" "99" "haptic_intensity" "1" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "key_press S, Move Back" } "settings" { "repeat_rate" "99" "haptic_intensity" "1" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "key_press D, Move Right" } "settings" { "repeat_rate" "99" "haptic_intensity" "1" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "key_press A, Move Left" } "settings" { "repeat_rate" "99" "haptic_intensity" "1" } } } } "edge" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_CONTROL, Walk" } "settings" { "repeat_rate" "99" "haptic_intensity" "1" } } } } "click" { "activators" { "Full_Press" { "bindings" { "binding" "key_press C, Crouch" } "settings" { "repeat_rate" "99" "haptic_intensity" "1" } } } } } "settings" { "requires_click" "0" "edge_binding_radius" "21395" "edge_binding_invert" "1" "analog_emulation_period" "29" } } "group" { "id" "27" "mode" "trigger" "inputs" { "click" { "activators" { "release" { "bindings" { "binding" "controller_action CHANGE_PRESET 1 0 0" } "settings" { "haptic_intensity" "0" } } "Full_Press" { "bindings" { "binding" "mouse_button RIGHT" } } } } "edge" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button RIGHT" } "settings" { "repeat_rate" "99" "haptic_intensity" "2" } } } } } } "group" { "id" "28" "mode" "trigger" "inputs" { "edge" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button LEFT" } "settings" { "repeat_rate" "99" "haptic_intensity" "2" } } } } } } "group" { "id" "29" "mode" "absolute_mouse" "inputs" { } "settings" { "sensitivity" "54" "deadzone_outer_radius" "8599" } } "group" { "id" "16" "mode" "switches" "inputs" { "button_escape" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button START" } } "Long_Press" { "bindings" { "binding" "key_press F8" } "settings" { "long_press_time" "749" } } } } "button_menu" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SELECT" } } "Long_Press" { "bindings" { "binding" "key_press F5" } "settings" { "long_press_time" "749" } } } } "left_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SHOULDER_LEFT" } } } } "right_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SHOULDER_RIGHT" } } } } "button_back_left" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button A" } } } } "button_back_right" { "activators" { "Double_Press" { "bindings" { "binding" "controller_action CHANGE_PRESET 32766 1 1" } } "Full_Press" { "bindings" { "binding" "xinput_button X" } } } } } } "group" { "id" "22" "mode" "switches" "inputs" { "button_escape" { "activators" { "Full_Press" { "bindings" { "binding" "key_press ESCAPE, Menu" } } } } "button_menu" { "activators" { "Full_Press" { "bindings" { "binding" "key_press TAB, Map" } } } } "left_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_SHIFT, Sprint" } } } } "right_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "key_press G, Throw" } } } } "button_back_left" { "activators" { "Full_Press" { "bindings" { "binding" "key_press SPACE, Jump" } } } } "button_back_right" { "activators" { "Full_Press" { "bindings" { "binding" "key_press E, Use" } } "Double_Press" { "bindings" { "binding" "controller_action CHANGE_PRESET 32766 1 1" } } } } } } "preset" { "id" "0" "name" "Default" "group_source_bindings" { "0" "button_diamond active" } } "preset" { "id" "1" "name" "default" "group_source_bindings" { } } "preset" { "id" "2" "name" "Preset_1000002" "group_source_bindings" { "16" "switch active" "13" "button_diamond active" "19" "left_trackpad active" "21" "left_trackpad inactive" "18" "right_trackpad active" "17" "joystick active" "14" "left_trigger active" "15" "right_trigger active" "20" "gyro active" } } "preset" { "id" "3" "name" "Preset_1000003" "group_source_bindings" { "22" "switch active" "24" "button_diamond active" "23" "left_trackpad active" "25" "right_trackpad active" "26" "joystick active" "27" "left_trigger active" "28" "right_trigger active" "29" "gyro active" } } "settings" { "action_set_trigger_cursor_show" "0" "action_set_trigger_cursor_hide" "0" } }