"controller_mappings" { "version" "3" "revision" "28" "title" "Joystick with Dampened Gyro" "description" "Left trigger dampening of gyro for accurate aiming" "creator" "76561197972391605" "progenitor" "" "url" "usercloud://2300/joystick with dampened gyro_0" "export_type" "community" "controller_type" "controller_neptune" "controller_caps" "23117823" "major_revision" "0" "minor_revision" "0" "Timestamp" "-964633440" "localization" { "english" { "title" "Gamepad with 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 right pad and the gyro to allow for the most precise aim in games which support gamepad and mouse." } } "group" { "id" "0" "mode" "four_buttons" "name" "" "description" "" "inputs" { "button_a" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button A, , " } } } "disabled_activators" { } } "button_b" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button B, , " } } } "disabled_activators" { } } "button_x" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button X, , " } } } "disabled_activators" { } } "button_y" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button Y, , " } } } "disabled_activators" { } } } } "group" { "id" "1" "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" { } } "click" { "activators" { "Soft_Press" { "bindings" { "binding" "key_press ESCAPE, , " } } } "disabled_activators" { } } } } "group" { "id" "2" "mode" "joystick_move" "name" "" "description" "" "inputs" { "click" { "activators" { "Soft_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT, , " } } } "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" { } } } "settings" { "deadzone_inner_radius" "7199" } } "group" { "id" "4" "mode" "trigger" "name" "" "description" "" "inputs" { "edge" { "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" { } "settings" { "output_trigger" "2" } } "group" { "id" "6" "mode" "joystick_move" "name" "" "description" "" "inputs" { "click" { "activators" { "Soft_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT, , " } } } "disabled_activators" { } } } } "group" { "id" "8" "mode" "joystick_move" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT, , " } } } "disabled_activators" { } } } } "group" { "id" "9" "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" "key_press D, , " } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "key_press A, , " } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } } "settings" { "requires_click" "0" "haptic_intensity_override" "0" } } "group" { "id" "10" "mode" "single_button" "name" "" "description" "" "inputs" { "click" { "activators" { "Soft_Press" { "bindings" { "binding" "xinput_button START, , " } } } "disabled_activators" { } } } } "group" { "id" "11" "mode" "single_button" "name" "" "description" "" "inputs" { "click" { "activators" { "Soft_Press" { "bindings" { "binding" "xinput_button SELECT, , " } } } "disabled_activators" { } } } } "group" { "id" "12" "mode" "absolute_mouse" "name" "" "description" "" "inputs" { "click" { "activators" { "Soft_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT, , " } } } "disabled_activators" { } } } "settings" { "sensitivity" "400" "mouse_smoothing" "30" } } "group" { "id" "13" "mode" "joystick_camera" "name" "" "description" "" "inputs" { } } "group" { "id" "14" "mode" "gyro_to_mouse" "name" "" "description" "" "inputs" { } "settings" { "gyro_natural_sensitivity" "325" "gyro_vertical_horizontal_ratio" "320" "gyro_to_2d_conversion_style" "0" "gyro_ratchet_button_mask" "2048" "gyro_button_invert" "2" "mouse_dampening_trigger" "3" } } "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" "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" "18" "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" "19" "mode" "joystick_mouse" "name" "" "description" "" "inputs" { } "settings" { "output_joystick" "2" "sensitivity_vert_scale" "49" } } "group" { "id" "20" "mode" "absolute_mouse" "name" "" "description" "" "inputs" { } "settings" { "gyro_natural_sensitivity" "250" "rotation_2" "10" "sensitivity_vert_scale" "80" "gyro_ratchet_button_mask" "4096" "mouse_dampening_trigger" "5" "mouse_trigger_clamp_amount" "66" "gyro_button_invert" "2" } } "group" { "id" "21" "mode" "joystick_mouse" "name" "" "description" "" "inputs" { } "settings" { "curve_exponent" "2" "output_joystick" "2" "sensitivity" "200" "sensitivity_vert_scale" "50" } } "group" { "id" "7" "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_back_left" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button X, , " } } } "disabled_activators" { } } "button_back_right" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button A, , " } } } "disabled_activators" { } } "button_back_left_upper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button Y, , " } } } "disabled_activators" { } } "button_back_right_upper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button B, , " } } } "disabled_activators" { } } "button_capture" { "activators" { "release" { "bindings" { "binding" "controller_action system_key_1, , " } } } "disabled_activators" { } } } } "preset" { "id" "0" "name" "Default" "group_source_bindings" { "7" "switch active" "0" "button_diamond active" "1" "left_trackpad active" "11" "left_trackpad inactive" "18" "left_trackpad inactive" "2" "right_trackpad inactive" "6" "right_trackpad inactive" "10" "right_trackpad inactive" "12" "right_trackpad active" "13" "right_trackpad inactive" "17" "right_trackpad inactive" "3" "joystick active" "16" "joystick inactive" "19" "joystick inactive" "4" "left_trigger active" "5" "right_trigger active" "8" "right_joystick inactive" "15" "right_joystick inactive" "21" "right_joystick active" "9" "dpad active" "14" "gyro inactive" "20" "gyro active" } } "settings" { "left_trackpad_mode" "0" "right_trackpad_mode" "0" } }