"controller_mappings" { "version" "3" "revision" "45" "title" "Gyro Aim + Gyro Toggle On Capture" "description" "Gyro Aim + Gyro Toggle On Capture" "creator" "76561198196028575" "progenitor" "" "url" "usercloud://far cry 6/gyro aim + gyro toggle on capture_0" "export_type" "community" "controller_type" "controller_switch_pro" "controller_caps" "613772287" "major_revision" "0" "minor_revision" "0" "Timestamp" "0" "actions" { "Default" { "title" "Default" "legacy_set" "1" } } "action_layers" { "Preset_1000001" { "title" "Gyro Trigger" "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 (Mixed Input). 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_b" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button B, , " } } } "disabled_activators" { } } "button_a" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button A, , " } } } "disabled_activators" { } } "button_y" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button Y, , " } } } "disabled_activators" { } } "button_x" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button X, , " } } } "disabled_activators" { } } } } "group" { "id" "1" "mode" "single_button" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SELECT, , " } } } "disabled_activators" { } } } } "group" { "id" "2" "mode" "single_button" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button START, , " } } } "disabled_activators" { } } } } "group" { "id" "3" "mode" "joystick_move" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_LEFT, , " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } } } "group" { "id" "4" "mode" "trigger" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button TRIGGER_LEFT, , " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } } "settings" { "output_trigger" "1" } } "group" { "id" "5" "mode" "trigger" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button TRIGGER_RIGHT, , " } "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, , " } } } "disabled_activators" { } } } } "group" { "id" "10" "mode" "dpad" "name" "" "description" "" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_UP, , " } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_DOWN, , " } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_RIGHT, , " } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_LEFT, , " } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } } "settings" { "requires_click" "0" "haptic_intensity_override" "0" } } "group" { "id" "11" "mode" "gyro_to_mouse" "name" "" "description" "" "inputs" { } "settings" { "gyro_button" "12" "gyro_ratchet_button_mask" "0" "gyro_button_invert" "2" "mouse_dampening_trigger" "5" "mouse_trigger_clamp_amount" "40" } } "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" "flickstick" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT, , " } } "Double_Press" { "bindings" { "binding" "controller_action camera_reset 180 66 90, , " } } } "disabled_activators" { } } } } "group" { "id" "14" "mode" "flickstick" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_LEFT, , " } } "Double_Press" { "bindings" { "binding" "controller_action camera_reset 180 66 90, , " } } } "disabled_activators" { } } } } "group" { "id" "15" "mode" "flickstick" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT, , " } } "Double_Press" { "bindings" { "binding" "controller_action camera_reset 180 66 90, , " } } } "disabled_activators" { } } } } "group" { "id" "16" "mode" "flickstick" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_LEFT, , " } } "Double_Press" { "bindings" { "binding" "controller_action camera_reset 180 66 90, , " } } } "disabled_activators" { } } } } "group" { "id" "17" "mode" "mouse_joystick" "name" "" "description" "" "inputs" { } "settings" { "gyro_ratchet_button_mask" "536870912" "mouse_trigger_clamp_amount" "30" "gyro_button_invert" "2" } } "group" { "id" "20" "mode" "trigger" "name" "" "description" "" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "19" "mode" "trigger" "name" "" "description" "" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "18" "mode" "four_buttons" "name" "" "description" "" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "22" "mode" "joystick_move" "name" "" "description" "" "inputs" { } "settings" { "layer" "1" "gyro_ratchet_button_mask" "2" } } "group" { "id" "23" "mode" "absolute_mouse" "name" "" "description" "" "inputs" { } "settings" { "layer" "1" "gyro_ratchet_button_mask" "2" } } "group" { "id" "24" "mode" "absolute_mouse" "name" "" "description" "" "inputs" { } } "group" { "id" "25" "mode" "joystick_move" "name" "" "description" "" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "26" "mode" "joystick_move" "name" "" "description" "" "inputs" { } "settings" { "output_joystick" "1" } } "group" { "id" "27" "mode" "absolute_mouse" "name" "" "description" "" "inputs" { } } "group" { "id" "28" "mode" "absolute_mouse" "name" "" "description" "" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "29" "mode" "mouse_joystick" "name" "" "description" "" "inputs" { } } "group" { "id" "30" "mode" "mouse_joystick" "name" "" "description" "" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "31" "mode" "gyro_to_mouse" "name" "" "description" "" "inputs" { } "settings" { "layer" "1" "gyro_ratchet_button_mask" "0" } } "group" { "id" "32" "mode" "gyro_to_joystick" "name" "" "description" "" "inputs" { } "settings" { "layer" "1" "gyro_ratchet_button_mask" "0" } } "group" { "id" "33" "mode" "gyro_to_mouse" "name" "" "description" "" "inputs" { } "settings" { "layer" "1" "gyro_ratchet_button_mask" "0" } } "group" { "id" "34" "mode" "gyro_to_mouse" "name" "" "description" "" "inputs" { } "settings" { "gyro_ratchet_button_mask" "0" } } "group" { "id" "35" "mode" "mouse_joystick" "name" "" "description" "" "inputs" { } "settings" { "sensitivity_vert_scale" "115" } } "group" { "id" "36" "mode" "gyro_to_mouse" "name" "" "description" "" "inputs" { } "settings" { "gyro_ratchet_button_mask" "0" } } "group" { "id" "37" "mode" "absolute_mouse" "name" "" "description" "" "inputs" { } } "group" { "id" "38" "mode" "absolute_mouse" "name" "" "description" "" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "39" "mode" "gyro_to_mouse" "name" "" "description" "" "inputs" { } "settings" { "gyro_ratchet_button_mask" "0" } } "group" { "id" "40" "mode" "gyro_to_mouse" "name" "" "description" "" "inputs" { } "settings" { "layer" "1" "gyro_ratchet_button_mask" "0" } } "group" { "id" "41" "mode" "absolute_mouse" "name" "" "description" "" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "42" "mode" "absolute_mouse" "name" "" "description" "" "inputs" { } } "group" { "id" "43" "mode" "gyro_to_mouse" "name" "" "description" "" "inputs" { } "settings" { "gyro_ratchet_button_mask" "0" } } "group" { "id" "44" "mode" "gyro_to_joystick" "name" "" "description" "" "inputs" { } "settings" { "gyro_ratchet_button_mask" "0" } } "group" { "id" "45" "mode" "gyro_to_joystick" "name" "" "description" "" "inputs" { } "settings" { "layer" "1" "gyro_natural_sensitivity" "309" "gyro_ratchet_button_mask" "2" "gyro_to_joystick_power_curve" "117" } } "group" { "id" "46" "mode" "gyro_to_mouse" "name" "" "description" "" "inputs" { } "settings" { "gyro_ratchet_button_mask" "0" } } "group" { "id" "47" "mode" "gyro_to_mouse" "name" "" "description" "" "inputs" { } "settings" { "layer" "1" "gyro_ratchet_button_mask" "2" } } "group" { "id" "8" "mode" "switches" "name" "" "description" "" "inputs" { "button_escape" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button start, , " } } } "disabled_activators" { } } "button_menu" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button select, , " } } } "disabled_activators" { } } "left_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button shoulder_left, , " } } } "disabled_activators" { } } "right_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button shoulder_right, , " } } } "disabled_activators" { } } "button_capture" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action hold_layer 2 0 0, , " } } } "disabled_activators" { } } } } "group" { "id" "21" "mode" "switches" "name" "" "description" "" "inputs" { "button_capture" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action remove_layer 2 0 0, , " } } } "disabled_activators" { } } } "settings" { "layer" "1" } } "preset" { "id" "0" "name" "Default" "group_source_bindings" { "8" "switch active" "0" "button_diamond active" "3" "joystick active" "14" "joystick inactive" "4" "left_trigger active" "5" "right_trigger active" "9" "right_joystick active" "13" "right_joystick inactive" "10" "dpad active" "11" "gyro inactive" "17" "gyro inactive" "24" "gyro inactive" "26" "gyro inactive" "27" "gyro inactive" "29" "gyro inactive" "34" "gyro inactive" "35" "gyro inactive" "36" "gyro inactive" "37" "gyro inactive" "39" "gyro inactive" "42" "gyro inactive" "43" "gyro inactive" "44" "gyro inactive" "46" "gyro active" } } "preset" { "id" "1" "name" "Preset_1000001" "group_source_bindings" { "21" "switch active" "18" "button_diamond active" "19" "left_trigger active" "20" "right_trigger active" "22" "gyro inactive" "23" "gyro inactive" "25" "gyro inactive" "28" "gyro inactive" "30" "gyro inactive" "31" "gyro inactive" "32" "gyro inactive" "33" "gyro inactive" "38" "gyro inactive" "40" "gyro inactive" "41" "gyro inactive" "45" "gyro inactive" "47" "gyro active" } } "settings" { "left_trackpad_mode" "0" "right_trackpad_mode" "0" } }