"controller_mappings" { "version" "3" "revision" "37" "title" "Switch pro with gyro AIM (by Nickbond) NaziZombieArmy Trilogy " "description" "For playing with switch pro controller with gyro movement aim active, and the buttons like xbox360" "creator" "76561198013743557" "controller_type" "controller_switch_pro" "Timestamp" "0" "actions" { "Default" { "title" "Default" "legacy_set" "1" } } "action_layers" { "Preset_1000001" { "title" "Gyro" "legacy_set" "1" "set_layer" "1" "parent_set_name" "Default" } } "localization" { "english" { "title" "Gamepad" "description" "This template is for most games that already have built-in gamepad support." } } "group" { "id" "0" "mode" "four_buttons" "inputs" { "button_B" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button B" } } } } "button_A" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button A" } } } } "button_Y" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button Y" } } } } "button_X" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button X" } } } } } } "group" { "id" "1" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button dpad_up" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button dpad_down" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button dpad_right" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button dpad_left" } } } } } "settings" { "requires_click" "0" "deadzone" "5000" } } "group" { "id" "2" "mode" "joystick_camera" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "2" } } } } } "settings" { "curve_exponent" "1" "swipe_duration" "2" "haptic_intensity" "2" "sensitivity" "98" } } "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" "binding" "controller_action hold_layer 2 0 0" } "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" } } "group" { "id" "6" "mode" "joystick_move" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "2" } } } } } } "group" { "id" "8" "mode" "joystick_move" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "2" } } } } } "settings" { "curve_exponent" "1" "sensitivity" "98" } } "group" { "id" "9" "mode" "joystick_move" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "2" } } } } } } "group" { "id" "11" "mode" "four_buttons" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "12" "mode" "joystick_move" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "13" "mode" "trigger" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "14" "mode" "trigger" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "15" "mode" "dpad" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "16" "mode" "joystick_move" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } } } } } "settings" { "layer" "1" } } "group" { "id" "17" "mode" "absolute_mouse" "inputs" { } "settings" { "layer" "1" "haptic_intensity" "0" } } "group" { "id" "18" "mode" "trigger" "inputs" { } } "group" { "id" "19" "mode" "absolute_mouse" "inputs" { } "settings" { "layer" "1" "haptic_intensity" "0" "gyro_button" "10" } } "group" { "id" "7" "mode" "switches" "inputs" { "button_escape" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button start" } } } } "button_menu" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button select" } } } } "left_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button shoulder_left" } } } } "right_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SHOULDER_RIGHT" } } "Long_Press" { "bindings" { "binding" "xinput_button SHOULDER_RIGHT" "binding" "controller_action hold_layer 2 0 0" } "settings" { "haptic_intensity" "0" } } } } "button_back_left" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SHOULDER_LEFT" } } } } "button_back_right" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button TRIGGER_RIGHT" } } } } } } "group" { "id" "10" "mode" "switches" "inputs" { } "settings" { "layer" "1" } } "preset" { "id" "0" "name" "Default" "group_source_bindings" { "7" "switch active" "4" "left_trigger active" "18" "left_trigger active modeshift" "0" "button_diamond active" "6" "right_trackpad inactive" "3" "joystick active" "5" "right_trigger active" "1" "dpad active" "8" "right_joystick active" "9" "right_joystick inactive" } } "preset" { "id" "1" "name" "Preset_1000001" "group_source_bindings" { "10" "switch active" "13" "left_trigger active" "11" "button_diamond active" "12" "joystick active" "14" "right_trigger active" "15" "dpad active" "16" "right_joystick active" "17" "gyro active" "19" "gyro inactive modeshift" } } "settings" { } }