"controller_mappings" { "version" "3" "title" "Better Mapping" "description" "Double press SELECT button to switch between two gyro sets, only trigger with iron sight or always on. And now you can slide trackpad to switch weapons. Also remapping reload/healing to LB button and throwing grenade to long pressing RB button." "creator" "76561198106978497" "controller_type" "controller_ps4" "actions" { "Default" { "title" "LT Trigger" "legacy_set" "1" } "Preset_1000001" { "title" "Always On" "legacy_set" "1" } } "group" { "id" "0" "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" "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" } } } } } "settings" { "deadzone" "5000" } } "group" { "id" "2" "mode" "joystick_camera" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "1" } } } } } "settings" { "sensitivity" "99" } } "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" "xinput_button TRIGGER_LEFT" } "settings" { "haptic_intensity" "2" } } } } } "settings" { "output_trigger" "1" } } "group" { "id" "5" "mode" "trigger" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button TRIGGER_RIGHT" } "settings" { "haptic_intensity" "2" } } } } } "settings" { "output_trigger" "2" "adaptive_threshold" "3" "curve_exponent" "1" } } "group" { "id" "6" "mode" "joystick_move" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "2" } } } } } } "group" { "id" "7" "mode" "absolute_mouse" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "2" } } } } "doubletap" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button X" } "settings" { "haptic_intensity" "2" } } } } } "settings" { "sensitivity" "167" "haptic_intensity" "2" "acceleration" "1" "edge_spin_radius" "29093" "doubetap_max_duration" "320" } } "group" { "id" "9" "mode" "joystick_move" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "1" } } } } } "settings" { "sensitivity" "99" } } "group" { "id" "10" "mode" "joystick_move" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "2" } } } } } } "group" { "id" "11" "mode" "joystick_mouse" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "2" } } } } } "settings" { "haptic_intensity" "2" "output_joystick" "2" "sensitivity" "167" } } "group" { "id" "12" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_UP" "binding" "xinput_button DPAD_UP" "binding" "xinput_button Y" } "settings" { "haptic_intensity" "1" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_DOWN" "binding" "xinput_button DPAD_DOWN" "binding" "xinput_button Y" } "settings" { "haptic_intensity" "1" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_RIGHT" "binding" "xinput_button DPAD_RIGHT" "binding" "xinput_button Y" } "settings" { "haptic_intensity" "1" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_LEFT" "binding" "xinput_button DPAD_LEFT" "binding" "xinput_button Y" } "settings" { "haptic_intensity" "1" } } } } } "settings" { "requires_click" "0" } } "group" { "id" "13" "mode" "absolute_mouse" "inputs" { } "settings" { "sensitivity" "127" "sensitivity_vert_scale" "84" "mouse_smoothing" "11" "gyro_button" "12" } } "group" { "id" "14" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "key_press UP_ARROW" } "settings" { "haptic_intensity" "1" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "key_press DOWN_ARROW" } "settings" { "haptic_intensity" "1" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "key_press RIGHT_ARROW" } "settings" { "haptic_intensity" "1" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_ARROW" } "settings" { "haptic_intensity" "1" } } } } } } "group" { "id" "16" "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" "17" "mode" "joystick_move" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_LEFT" } "settings" { "haptic_intensity" "2" } } } } } "settings" { "curve_exponent" "1" "deadzone_shape" "1" } } "group" { "id" "18" "mode" "trigger" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button TRIGGER_LEFT" } "settings" { "haptic_intensity" "2" } } } } } "settings" { "output_trigger" "1" } } "group" { "id" "19" "mode" "trigger" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button TRIGGER_RIGHT" } "settings" { "haptic_intensity" "2" } } } } } "settings" { "output_trigger" "2" "adaptive_threshold" "3" "curve_exponent" "1" } } "group" { "id" "20" "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" } } } } } "settings" { "deadzone" "5000" } } "group" { "id" "21" "mode" "joystick_mouse" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "2" } } } } } "settings" { "haptic_intensity" "2" "output_joystick" "2" "sensitivity" "274" } } "group" { "id" "22" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "key_press UP_ARROW" } "settings" { "haptic_intensity" "1" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "key_press DOWN_ARROW" } "settings" { "haptic_intensity" "1" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "key_press RIGHT_ARROW" } "settings" { "haptic_intensity" "1" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_ARROW" } "settings" { "haptic_intensity" "1" } } } } } } "group" { "id" "23" "mode" "absolute_mouse" "inputs" { } "settings" { "sensitivity" "53" "sensitivity_vert_scale" "89" "mouse_smoothing" "16" } } "group" { "id" "24" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_UP" "binding" "xinput_button DPAD_UP" "binding" "xinput_button Y" } "settings" { "haptic_intensity" "1" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_DOWN" "binding" "xinput_button DPAD_DOWN" "binding" "xinput_button Y" } "settings" { "haptic_intensity" "1" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_RIGHT" "binding" "xinput_button DPAD_RIGHT" "binding" "xinput_button Y" } "settings" { "haptic_intensity" "1" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_LEFT" "binding" "xinput_button DPAD_LEFT" "binding" "xinput_button Y" } "settings" { "haptic_intensity" "1" } } } } } "settings" { "requires_click" "0" } } "group" { "id" "25" "mode" "touch_menu" "inputs" { } "settings" { "touch_menu_button_count" "2" "touch_menu_position_x" "100" "touch_menu_position_y" "100" "touchmenu_button_fire_type" "2" } } "group" { "id" "26" "mode" "scrollwheel" "inputs" { } "settings" { "scroll_type" "1" } } "group" { "id" "27" "mode" "joystick_move" "inputs" { } } "group" { "id" "28" "mode" "four_buttons" "inputs" { } } "group" { "id" "29" "mode" "dpad" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action CHANGE_PRESET 32766 1 1" } "settings" { "haptic_intensity" "1" } } } } } } "group" { "id" "30" "mode" "dpad" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action CHANGE_PRESET 32766 1 1" } "settings" { "haptic_intensity" "1" } } } } } } "group" { "id" "31" "mode" "scrollwheel" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action CHANGE_PRESET 32766 1 1" } "settings" { "haptic_intensity" "2" } } } } } } "group" { "id" "32" "mode" "touch_menu" "inputs" { } "settings" { "touch_menu_button_count" "2" } } "group" { "id" "33" "mode" "scrollwheel" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action CHANGE_PRESET 32766 1 1" } "settings" { "haptic_intensity" "2" } } } } } } "group" { "id" "34" "mode" "joystick_mouse" "inputs" { } "settings" { "output_joystick" "2" } } "group" { "id" "8" "mode" "switches" "inputs" { "button_escape" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button start" } } } } "button_menu" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button select" } } "Double_Press" { "bindings" { "binding" "controller_action CHANGE_PRESET 32766 1 1" } } } } "left_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button X" } } } } "right_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SHOULDER_RIGHT" } } "Long_Press" { "bindings" { "binding" "xinput_button SHOULDER_LEFT" } "settings" { "long_press_time" "223" } } } } "button_back_left" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button a" } } } } "button_back_right" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button B" } } } } } } "group" { "id" "15" "mode" "switches" "inputs" { "button_escape" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button start" } } } } "button_menu" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button select" } } "Double_Press" { "bindings" { "binding" "controller_action CHANGE_PRESET 32766 1 1" } } } } "left_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button X" } } } } "right_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SHOULDER_RIGHT" } } "Long_Press" { "bindings" { "binding" "xinput_button SHOULDER_LEFT" } "settings" { "long_press_time" "299" } } } } "button_back_left" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button a" } } } } "button_back_right" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button B" } } } } } } "preset" { "id" "0" "name" "Default" "group_source_bindings" { "8" "switch active" "0" "button_diamond active" "6" "right_trackpad inactive" "7" "right_trackpad inactive" "3" "joystick active" "34" "joystick inactive" "4" "left_trigger active" "5" "right_trigger active" "1" "dpad active" "9" "right_joystick inactive" "10" "right_joystick inactive" "11" "right_joystick active" "14" "right_joystick active modeshift" "13" "gyro active" "12" "center_trackpad active" "25" "center_trackpad inactive" "26" "center_trackpad inactive" "27" "center_trackpad inactive" "28" "center_trackpad inactive" "29" "center_trackpad active modeshift" "30" "left_trackpad inactive" "31" "left_trackpad inactive" } } "preset" { "id" "1" "name" "Preset_1000001" "group_source_bindings" { "15" "switch active" "16" "button_diamond active" "17" "joystick active" "18" "left_trigger active" "19" "right_trigger active" "20" "dpad active" "21" "right_joystick active" "22" "right_joystick active modeshift" "23" "gyro active" "24" "center_trackpad active" "32" "left_trackpad inactive" "33" "left_trackpad inactive" } } "settings" { "action_set_trigger_cursor_show" "0" "action_set_trigger_cursor_hide" "0" } }