"controller_mappings" { "version" "3" "revision" "155" "title" "DCS World Deck" "description" "Your modified layout for this game." "creator" "76561198399111201" "progenitor" "" "url" "usercloud://223750/dcs world deck_0" "export_type" "community" "controller_type" "controller_neptune" "controller_caps" "23117823" "major_revision" "0" "minor_revision" "0" "Timestamp" "-536867976" "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" "key_press ESCAPE, , " } } } "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" { "Soft_Press" { "bindings" { "binding" "mouse_wheel SCROLL_UP, , " } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } "dpad_south" { "activators" { "Soft_Press" { "bindings" { "binding" "mouse_wheel SCROLL_DOWN, , " } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } "click" { "activators" { "Long_Press" { "bindings" { "binding" "mouse_button FORWARD, , " } } } "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" "key_press LEFT_CONTROL, , " "binding" "key_press W, , " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } } "settings" { "deadzone_outer_radius" "878" "deadzone_inner_radius" "0" "edge_binding_radius" "0" "adaptive_threshold" "5" "curve_exponent" "2" "custom_curve_exponent" "4000" } } "group" { "id" "5" "mode" "trigger" "name" "" "description" "" "inputs" { "edge" { "activators" { "Full_Press" { "bindings" { "binding" "key_press PAGE_UP, , " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } } "settings" { "output_trigger" "2" "adaptive_threshold" "0" } } "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" { } "settings" { "output_joystick" "0" } } "group" { "id" "9" "mode" "dpad" "name" "" "description" "" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "key_press F4, , " } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "key_press F1, , " } "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" "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" "mouse_button LEFT, , " } } } "disabled_activators" { } } } "settings" { "sensitivity" "250" } } "group" { "id" "13" "mode" "joystick_camera" "name" "" "description" "" "inputs" { } } "group" { "id" "14" "mode" "gyro_to_mouse" "name" "" "description" "" "inputs" { } } "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" "mouse_button FORWARD, , " } } "Double_Press" { "bindings" { "binding" "controller_action camera_reset 180 66 90, , " } } } "disabled_activators" { } } "touch" { "activators" { "analog" { "bindings" { "binding" "mouse_wheel SCROLL_UP, , " } } } "disabled_activators" { } } } } "group" { "id" "19" "mode" "absolute_mouse" "name" "" "description" "" "inputs" { "click" { "activators" { "Soft_Press" { "bindings" { "binding" "mouse_button FORWARD, , " } } } "disabled_activators" { } } "touch" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_UP, , " } "settings" { "haptic_intensity" "1" } } "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_DOWN, , " } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } } } "group" { "id" "20" "mode" "gyro_to_joystick" "name" "" "description" "" "inputs" { } "settings" { "gyro_ratchet_button_mask" "0" "gyro_to_joystick_out_min" "0" } } "group" { "id" "21" "mode" "2dscroll" "name" "" "description" "" "inputs" { "click" { "activators" { "Soft_Press" { "bindings" { "binding" "mouse_button FORWARD, , " } } } "disabled_activators" { } } "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_UP, , " } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_DOWN, , " } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } } } "group" { "id" "22" "mode" "scrollwheel" "name" "" "description" "" "inputs" { "scroll_clockwise" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_UP, , " } } } "disabled_activators" { } } "scroll_counterclockwise" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_DOWN, , " } } } "disabled_activators" { } } "click" { "activators" { "Soft_Press" { "bindings" { "binding" "mouse_button FORWARD, , " } } } "disabled_activators" { } } } } "group" { "id" "23" "mode" "mouse_region" "name" "" "description" "" "inputs" { } "settings" { "output_joystick" "3" } } "group" { "id" "24" "mode" "mouse_joystick" "name" "" "description" "" "inputs" { } } "group" { "id" "25" "mode" "joystick_move" "name" "" "description" "" "inputs" { "click" { "activators" { "Soft_Press" { "bindings" { "binding" "mouse_button FORWARD, , " } } } "disabled_activators" { } } "touch" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button MIDDLE, , " } } } "disabled_activators" { } } } } "group" { "id" "26" "mode" "trigger" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_UP, , " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } } "settings" { "adaptive_threshold" "0" } } "group" { "id" "27" "mode" "dpad" "name" "" "description" "" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "key_press UP_ARROW, , " } } } "disabled_activators" { } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "key_press DOWN_ARROW, , " } } } "disabled_activators" { } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "key_press RIGHT_ARROW, , " } } } "disabled_activators" { } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_ARROW, , " } } } "disabled_activators" { } } } "settings" { "requires_click" "0" } } "group" { "id" "28" "mode" "dpad" "name" "" "description" "" "inputs" { } "settings" { "requires_click" "0" "layout" "2" "deadzone" "0" "edge_binding_radius" "32000" "analog_emulation_period" "25" "analog_emulation_duty_cycle_pct" "5" } } "group" { "id" "29" "mode" "gyro_to_joystick_deflection" "name" "" "description" "" "inputs" { } "settings" { "gyro_to_2d_conversion_style" "1" "gyro_ratchet_button_mask" "4096" "gyro_button_invert" "2" } } "group" { "id" "30" "mode" "trigger" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_DOWN, , " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } } "settings" { "adaptive_threshold" "0" } } "group" { "id" "31" "mode" "trigger" "name" "" "description" "" "inputs" { } } "group" { "id" "32" "mode" "trigger" "name" "" "description" "" "inputs" { "edge" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_ALT, , " "binding" "key_press W, , " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } } "settings" { "deadzone_outer_radius" "878" "deadzone_inner_radius" "0" "edge_binding_radius" "0" "adaptive_threshold" "5" "curve_exponent" "2" "custom_curve_exponent" "4000" } } "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" "key_press Y, , " } } } "disabled_activators" { } } "right_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "key_press X, , " } } } "disabled_activators" { } } "button_back_left" { "activators" { "Full_Press" { "bindings" { "binding" "key_press KEYPAD_DASH, , " } "settings" { "delay_end" "4" } } } "disabled_activators" { } } "button_back_right" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button BACK, , " } } } "disabled_activators" { } } "button_back_left_upper" { "activators" { "Full_Press" { "bindings" { "binding" "mode_shift right_trigger 26" } } "Full_Press" { "bindings" { "binding" "key_press KEYPAD_PLUS, , " } "settings" { "delay_end" "1" } } "Full_Press" { "bindings" { "binding" "mode_shift left_trigger 30" } } } "disabled_activators" { } } "button_back_right_upper" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button MIDDLE, , " } } } "disabled_activators" { } } } } "preset" { "id" "0" "name" "Default" "group_source_bindings" { "7" "switch active" "5" "right_trigger inactive" "26" "right_trigger inactive modeshift" "32" "right_trigger active" "4" "left_trigger active" "30" "left_trigger inactive modeshift" "31" "left_trigger inactive" "0" "button_diamond active" "1" "left_trackpad active" "11" "left_trackpad inactive" "18" "left_trackpad inactive" "19" "left_trackpad inactive" "21" "left_trackpad inactive" "22" "left_trackpad inactive" "23" "left_trackpad inactive" "24" "left_trackpad inactive" "25" "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 inactive" "16" "joystick inactive" "28" "joystick inactive" "8" "right_joystick active" "15" "right_joystick inactive" "27" "right_joystick inactive" "9" "dpad active" "14" "gyro inactive" "20" "gyro inactive" "29" "gyro active" } } "settings" { "left_trackpad_mode" "0" "right_trackpad_mode" "0" } }