"controller_mappings" { "version" "3" "revision" "188" "title" "DualSense for RON" "description" "Turns on gyro when aiming, use touchpad to change weapons." "creator" "76561198275477349" "progenitor" "" "url" "workshop://3213651872" "export_type" "community" "controller_type" "controller_ps5" "controller_caps" "580344831" "major_revision" "0" "minor_revision" "0" "Timestamp" "0" "actions" { "Default" { "title" "Default" "legacy_set" "1" } } "action_layers" { "Preset_1000002" { "title" "Nums" "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 pad and the gyro to control the mouse for fine aiming." } } "group" { "id" "0" "mode" "four_buttons" "name" "" "description" "" "inputs" { "button_a" { "activators" { "Full_Press" { "bindings" { "binding" "key_press N, Night Vision / Ready Up, , " } } "Long_Press" { "bindings" { "binding" "key_press Y, , " } } } "disabled_activators" { } } "button_b" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_CONTROL, Crouch, , " } } } "disabled_activators" { } } "button_x" { "activators" { "Full_Press" { "bindings" { "binding" "key_press R, Reload, , " } } } "disabled_activators" { } } "button_y" { "activators" { "Full_Press" { "bindings" { "binding" "key_press O, Canted Sight / Team Camera, , " } } "Double_Press" { "bindings" { "binding" "key_press T, , " } } "Long_Press" { "bindings" { "binding" "key_press T, , " } } } "disabled_activators" { } } } } "group" { "id" "1" "mode" "single_button" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "key_press 1, Primary Weapon, , " } } } "disabled_activators" { } } } } "group" { "id" "2" "mode" "single_button" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "key_press 2, Secondary Weapon, , " } } } "disabled_activators" { } } } } "group" { "id" "3" "mode" "joystick_move" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_SHIFT, Sprint, , " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } } } "group" { "id" "4" "mode" "trigger" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button RIGHT, ADS, , " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } } "settings" { "output_trigger" "1" } } "group" { "id" "5" "mode" "trigger" "name" "" "description" "" "inputs" { "edge" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button LEFT, Shoot, , " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } } "settings" { "output_trigger" "2" } } "group" { "id" "9" "mode" "joystick_move" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT, Melee, , " } } } "disabled_activators" { } } "edge" { "activators" { "Full_Press" { "bindings" { "binding" "key_press W, , " "binding" "xinput_button LSTICK_UP, , " } } } "disabled_activators" { } } } } "group" { "id" "10" "mode" "dpad" "name" "" "description" "" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "key_press Z, Execute / Orders / Queue, , " } "settings" { "haptic_intensity" "1" } } "Double_Press" { "bindings" { "binding" "mouse_button MIDDLE, , " } } "Long_Press" { "bindings" { "binding" "key_press LEFT_SHIFT, , " } } } "disabled_activators" { } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "key_press X, Fire Mode / Chemlight, , " } "settings" { "haptic_intensity" "1" } } "Long_Press" { "bindings" { "binding" "key_press C, , " } } } "disabled_activators" { } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "key_press F, Interact, , " } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button FORWARD, Barrel Attachment / Change Scope, , " } "settings" { "haptic_intensity" "1" } } "Long_Press" { "bindings" { "binding" "key_press P, , " } } } "disabled_activators" { } } } "settings" { "requires_click" "0" "haptic_intensity_override" "0" } } "group" { "id" "11" "mode" "absolute_mouse" "name" "" "description" "" "inputs" { } "settings" { "gyro_natural_sensitivity" "135" "sensitivity_vert_scale" "80" "acceleration" "1" "gyro_button" "12" "gyro_ratchet_button_mask" "33554432" } } "group" { "id" "12" "mode" "absolute_mouse" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT, , " } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } } } "group" { "id" "13" "mode" "2dscroll" "name" "" "description" "" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_UP, Next Team, , " } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_DOWN, Previous Team, , " } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } } } "group" { "id" "14" "mode" "dpad" "name" "" "description" "" "inputs" { } "settings" { "requires_click" "0" } } "group" { "id" "15" "mode" "joystick_mouse" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "key_press B, Bash, , " } } } "disabled_activators" { } } } "settings" { "output_joystick" "2" "sensitivity" "255" } } "group" { "id" "16" "mode" "dpad" "name" "" "description" "" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "key_press W, , " } } } "disabled_activators" { } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "key_press S, , " } } } "disabled_activators" { } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "key_press D, , " } } } "disabled_activators" { } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "key_press A, , " } } } "disabled_activators" { } } "click" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_SHIFT, Low-Ready, , " } } } "disabled_activators" { } } } "settings" { "requires_click" "0" } } "group" { "id" "34" "mode" "single_button" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "key_press 5, , " } "settings" { "haptic_intensity" "0" } } } "disabled_activators" { } } } "settings" { "layer" "1" } } "group" { "id" "33" "mode" "single_button" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "key_press 4, , " } "settings" { "haptic_intensity" "0" } } } "disabled_activators" { } } } "settings" { "layer" "1" } } "group" { "id" "32" "mode" "four_buttons" "name" "" "description" "" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "28" "mode" "four_buttons" "name" "" "description" "" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "29" "mode" "trigger" "name" "" "description" "" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "30" "mode" "trigger" "name" "" "description" "" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "35" "mode" "2dscroll" "name" "" "description" "" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "36" "mode" "trigger" "name" "" "description" "" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "37" "mode" "trigger" "name" "" "description" "" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "8" "mode" "switches" "name" "" "description" "" "inputs" { "button_escape" { "activators" { "Full_Press" { "bindings" { "binding" "key_press ESCAPE, Pause, , " } } } "disabled_activators" { } } "button_menu" { "activators" { "Full_Press" { "bindings" { "binding" "key_press TAB, Player Status, , " } } } "disabled_activators" { } } "left_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "key_press Q, Lean Left / Enable (Num), , " } } "Long_Press" { "bindings" { "binding" "controller_action hold_layer 2 1 1, , " } } } "disabled_activators" { } } "right_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "key_press E, Lean Right / Equip (3), , " } } "Long_Press" { "bindings" { "binding" "key_press 3, , " } } } "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" { } } "button_capture" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action SCREENSHOT, , " } } } "disabled_activators" { } } } } "group" { "id" "31" "mode" "switches" "name" "" "description" "" "inputs" { "right_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "key_press 6, , " } } } "disabled_activators" { } } "button_capture" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action SCREENSHOT, , " } } } "disabled_activators" { } } } "settings" { "layer" "1" } } "preset" { "id" "0" "name" "Default" "group_source_bindings" { "8" "switch active" "0" "button_diamond active" "1" "left_trackpad active" "2" "right_trackpad active" "3" "joystick inactive" "16" "joystick active" "4" "left_trigger active" "5" "right_trigger active" "9" "right_joystick inactive" "14" "right_joystick inactive" "15" "right_joystick active" "10" "dpad active" "11" "gyro active" "12" "center_trackpad inactive" "13" "center_trackpad active" } } "preset" { "id" "1" "name" "Preset_1000002" "group_source_bindings" { "31" "switch active" "28" "button_diamond inactive" "32" "left_trackpad inactive" "33" "left_trackpad active" "34" "right_trackpad active" "29" "left_trigger inactive" "36" "left_trigger active" "30" "right_trigger inactive" "37" "right_trigger active" "35" "center_trackpad active" } } "settings" { "left_trackpad_mode" "0" "right_trackpad_mode" "0" } }