"controller_mappings" { "version" "3" "revision" "11" "title" "Tanki Online gamepad" "description" "Your modified configuration for this game." "creator" "76561198804034843" "controller_type" "controller_ps4" "major_revision" "0" "minor_revision" "0" "Timestamp" "7676" "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. This uses both the pad and the gyro to control the mouse for fine aiming." } } "group" { "id" "0" "mode" "four_buttons" "inputs" { "button_a" { "activators" { "Full_Press" { "bindings" { "binding" "key_press SPACE" } } } } "button_b" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button B" } } } } "button_x" { "activators" { "Full_Press" { "bindings" { "binding" "key_press Z" } } } } "button_y" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_SHIFT" } } } } } } "group" { "id" "1" "mode" "single_button" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SELECT" } } } } } } "group" { "id" "2" "mode" "single_button" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button START" } } } } } } "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" } } "group" { "id" "9" "mode" "joystick_move" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } } } } "edge" { "activators" { } } } "settings" { "output_joystick" "2" } } "group" { "id" "10" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "key_press 1" } "settings" { "haptic_intensity" "1" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "key_press 3" } "settings" { "haptic_intensity" "1" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "key_press 2" } "settings" { "haptic_intensity" "1" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "key_press 4" } "settings" { "haptic_intensity" "1" } } } } } "settings" { "requires_click" "0" "haptic_intensity_override" "0" } } "group" { "id" "11" "mode" "absolute_mouse" "inputs" { } } "group" { "id" "12" "mode" "absolute_mouse" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "1" } } } } } } "group" { "id" "13" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "key_press UP_ARROW" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "key_press DOWN_ARROW" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "key_press RIGHT_ARROW" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_ARROW" } } } } } "settings" { "requires_click" "0" } } "group" { "id" "14" "mode" "four_buttons" "inputs" { } } "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" } } } } "left_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button shoulder_left" } } } } "right_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button shoulder_right" } } } } "button_back_left" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button a" } } } } "button_back_right" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button x" } } } } } } "group" { "id" "15" "mode" "joystick_mouse" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button LEFT" } } } } } "settings" { "output_joystick" "2" } "gameactions" { } } "preset" { "id" "0" "name" "Default" "group_source_bindings" { "8" "switch active" "0" "button_diamond active" "1" "left_trackpad active" "2" "right_trackpad active" "3" "joystick inactive" "13" "joystick active" "14" "joystick inactive" "4" "left_trigger active" "5" "right_trigger active" "9" "right_joystick inactive" "15" "right_joystick active" "10" "dpad active" "11" "gyro active" "12" "center_trackpad inactive" } } "settings" { "left_trackpad_mode" "0" "right_trackpad_mode" "0" } }