"controller_mappings" { "version" "3" "title" "Beat Cop - Joystick Mapping" "description" "Hold \"D-pad Up/Down\" for faster/slower cursor speed. Press \"Right/Left Trigger\" to left click/run. \"Right Analog\" is the mouse. Use \"Left Analog\" to quickly select your belt equipment (notepad, gun, cuffs and radio). Made using the PS4 controller, but should work fine with other types of joysticks." "creator" "76561198023257986" "controller_type" "controller_ps4" "actions" { "Default" { "title" "Default" "legacy_set" "1" } "Preset_1000001" { "title" "Fast" "legacy_set" "1" } "Preset_1000002" { "title" "Slow" "legacy_set" "1" } } "group" { "id" "0" "mode" "four_buttons" "inputs" { "button_a" { "activators" { "Full_Press" { "bindings" { "binding" "key_press SPACE" } } } } "button_b" { "activators" { "Full_Press" { "bindings" { "binding" "key_press E" } } } } "button_x" { "activators" { "Full_Press" { "bindings" { "binding" "key_press R" } } } } "button_y" { "activators" { "Full_Press" { "bindings" { "binding" "key_press F" } } } } } } "group" { "id" "1" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "key_press W" } "settings" { "haptic_intensity" "1" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "key_press S" } "settings" { "haptic_intensity" "1" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "key_press D" } "settings" { "haptic_intensity" "1" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "key_press A" } "settings" { "haptic_intensity" "1" } } } } } "settings" { "requires_click" "0" } } "group" { "id" "2" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Start_Press" { "bindings" { "binding" "controller_action CHANGE_PRESET 2 0 0" } "settings" { "haptic_intensity" "1" } } } } "dpad_south" { "activators" { "Start_Press" { "bindings" { "binding" "controller_action CHANGE_PRESET 3 0 0" } "settings" { "haptic_intensity" "1" } } } } } } "group" { "id" "3" "mode" "absolute_mouse" "inputs" { } } "group" { "id" "4" "mode" "trigger" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button LEFT, Run" } "settings" { "hold_repeats" "1" "repeat_rate" "10" "haptic_intensity" "2" } } } } "edge" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button LEFT, Run" } "settings" { "hold_repeats" "1" "repeat_rate" "10" "haptic_intensity" "2" } } } } } "settings" { "deadzone_outer_radius" "31947" "deadzone_inner_radius" "819" "edge_binding_radius" "9830" } } "group" { "id" "5" "mode" "trigger" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button LEFT, Left Mouse" } "settings" { "haptic_intensity" "2" } } } } "edge" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button LEFT" } "settings" { "haptic_intensity" "2" } } } } } "settings" { "output_trigger" "2" "deadzone_outer_radius" "30361" } } "group" { "id" "7" "mode" "joystick_mouse" "inputs" { } "settings" { "output_joystick" "2" "deadzone_shape" "1" "sensitivity" "150" } } "group" { "id" "9" "mode" "absolute_mouse" "inputs" { } } "group" { "id" "10" "mode" "trigger" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button LEFT, Run" } "settings" { "hold_repeats" "1" "repeat_rate" "10" "haptic_intensity" "2" } } } } "edge" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button LEFT, Run" } "settings" { "hold_repeats" "1" "repeat_rate" "10" "haptic_intensity" "2" } } } } } "settings" { "output_trigger" "1" } } "group" { "id" "11" "mode" "trigger" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button LEFT, Left Mouse" } "settings" { "haptic_intensity" "2" } } } } "edge" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button LEFT" } "settings" { "haptic_intensity" "2" } } } } } "settings" { "output_trigger" "2" "deadzone_outer_radius" "30361" } } "group" { "id" "12" "mode" "joystick_mouse" "inputs" { } "settings" { "output_joystick" "2" "deadzone_shape" "1" "sensitivity" "348" } } "group" { "id" "13" "mode" "joystick_mouse" "inputs" { } "settings" { "output_joystick" "2" } } "group" { "id" "15" "mode" "absolute_mouse" "inputs" { } } "group" { "id" "16" "mode" "trigger" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button LEFT, Run" } "settings" { "hold_repeats" "1" "repeat_rate" "10" "haptic_intensity" "2" } } } } "edge" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button LEFT, Run" } "settings" { "hold_repeats" "1" "repeat_rate" "10" "haptic_intensity" "2" } } } } } "settings" { "output_trigger" "1" "deadzone_outer_radius" "32767" "deadzone_inner_radius" "0" "edge_binding_radius" "0" } } "group" { "id" "17" "mode" "trigger" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button LEFT, Left Mouse" } "settings" { "haptic_intensity" "2" } } } } "edge" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button LEFT" } "settings" { "haptic_intensity" "2" } } } } } "settings" { "output_trigger" "2" "deadzone_outer_radius" "30361" } } "group" { "id" "18" "mode" "joystick_mouse" "inputs" { } "settings" { "output_joystick" "2" "deadzone_shape" "1" "sensitivity" "75" } } "group" { "id" "19" "mode" "joystick_mouse" "inputs" { } "settings" { "output_joystick" "2" "sensitivity" "84" } } "group" { "id" "20" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "release" { "bindings" { "binding" "controller_action CHANGE_PRESET 1 0 0" } "settings" { "haptic_intensity" "1" } } } } } } "group" { "id" "21" "mode" "dpad" "inputs" { "dpad_south" { "activators" { "release" { "bindings" { "binding" "controller_action CHANGE_PRESET 1 0 0" } "settings" { "haptic_intensity" "1" } } } } } } "group" { "id" "22" "mode" "mouse_region" "inputs" { } "settings" { "output_joystick" "3" } } "group" { "id" "23" "mode" "radial_menu" "inputs" { "touch_menu_button_1" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action MOUSE_POSITION 23926 30825 1, Notes, ghost_050_menu_0305.png #000000 #E4E4E4" "binding" "controller_action MOUSE_POSITION 23926 30825 1, Notes, ghost_050_menu_0305.png #000000 #E4E4E4" "binding" "mouse_button LEFT, Notes, ghost_050_menu_0305.png #000000 #E4E4E4" } "settings" { "haptic_intensity" "2" } } } } "touch_menu_button_2" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action MOUSE_POSITION 20018 30188 1, Gun, ghost_010_wpn_0514.png #000000 #E4E4E4" "binding" "controller_action MOUSE_POSITION 20018 30188 1, Gun, ghost_010_wpn_0514.png #000000 #E4E4E4" "binding" "mouse_button LEFT, Gun, ghost_010_wpn_0514.png #000000 #E4E4E4" } "settings" { "haptic_intensity" "2" } } } } "touch_menu_button_3" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action MOUSE_POSITION 15376 30461 1, Handcuffs, ghost_040_act_0314.png #000000 #E4E4E4" "binding" "controller_action MOUSE_POSITION 15376 30461 1, Handcuffs, ghost_040_act_0314.png #000000 #E4E4E4" "binding" "mouse_button LEFT, Handcuffs, ghost_040_act_0314.png #000000 #E4E4E4" } "settings" { "haptic_intensity" "2" } } } } "touch_menu_button_4" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action MOUSE_POSITION 6433 29065 0, Walkie-Talkie, ghost_060_vehicle_0170.png #000000 #E4E4E4" } "settings" { "haptic_intensity" "2" } } } } } "settings" { "touch_menu_opacity" "92" "touch_menu_position_x" "100" "touch_menu_position_y" "100" "touch_menu_show_labels" "0" } } "group" { "id" "6" "mode" "switches" "inputs" { "button_escape" { "activators" { "Full_Press" { "bindings" { "binding" "key_press ESCAPE, Menu" } } } } "button_menu" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action SCREENSHOT, Tab" } } } } "button_back_left" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button MIDDLE, Middle Mouse" } } } } "button_back_right" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_CONTROL, Left Control" } } } } } } "group" { "id" "8" "mode" "switches" "inputs" { "button_escape" { "activators" { "Full_Press" { "bindings" { "binding" "key_press ESCAPE, Menu" } } } } "button_menu" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action SCREENSHOT, Tab" } } } } "button_back_left" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button MIDDLE, Middle Mouse" } } } } "button_back_right" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_CONTROL, Left Control" } } } } } } "group" { "id" "14" "mode" "switches" "inputs" { "button_escape" { "activators" { "Full_Press" { "bindings" { "binding" "key_press ESCAPE, Menu" } } } } "button_menu" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action SCREENSHOT, Tab" } } } } "button_back_left" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button MIDDLE, Middle Mouse" } } } } "button_back_right" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_CONTROL, Left Control" } } } } } } "preset" { "id" "0" "name" "Default" "group_source_bindings" { "6" "switch active" "0" "button_diamond inactive" "1" "joystick inactive" "19" "joystick inactive" "22" "joystick inactive" "23" "joystick active" "3" "right_trackpad active" "4" "left_trigger active" "5" "right_trigger active" "2" "dpad active" "7" "right_joystick active" "13" "right_joystick inactive modeshift" } } "preset" { "id" "1" "name" "Preset_1000001" "group_source_bindings" { "8" "switch active" "9" "right_trackpad active" "10" "left_trigger active" "11" "right_trigger active" "20" "dpad active" "12" "right_joystick active" } } "preset" { "id" "2" "name" "Preset_1000002" "group_source_bindings" { "14" "switch active" "15" "right_trackpad active" "16" "left_trigger active" "17" "right_trigger active" "21" "dpad active" "18" "right_joystick active" } } "settings" { "left_trackpad_mode" "0" "right_trackpad_mode" "0" "action_set_trigger_cursor_show" "0" "action_set_trigger_cursor_hide" "0" } }