"controller_mappings" { "version" "3" "title" "PS4 Controller Support Kathy Rain" "description" "Configuración para control de PS4" "creator" "76561198059445012" "controller_type" "controller_ps4" "Timestamp" "-2071873104" "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" "mouse_button LEFT" } } } } "button_b" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button B" } } } } "button_x" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button X" } } } } "button_y" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button RIGHT" } } } } } } "group" { "id" "1" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button dpad_up" } "settings" { "haptic_intensity" "1" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button dpad_down" } "settings" { "haptic_intensity" "1" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button dpad_right" } "settings" { "haptic_intensity" "1" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button dpad_left" } "settings" { "haptic_intensity" "1" } } } } } } "group" { "id" "2" "mode" "joystick_camera" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "1" } } } } } } "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 SHOULDER_LEFT" } "settings" { "haptic_intensity" "2" } } } } } "settings" { "output_trigger" "1" } } "group" { "id" "5" "mode" "trigger" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "key_press ESCAPE" } "settings" { "haptic_intensity" "2" } } } } } "settings" { "output_trigger" "2" } } "group" { "id" "6" "mode" "absolute_mouse" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "1" } } } } } "settings" { "sensitivity" "99" "doubetap_max_duration" "324" } } "group" { "id" "7" "mode" "joystick_move" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "2" } } } } } } "group" { "id" "9" "mode" "joystick_move" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } } } } } } "group" { "id" "10" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_UP" } "settings" { "haptic_intensity" "1" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_DOWN" } "settings" { "haptic_intensity" "1" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_RIGHT" } "settings" { "haptic_intensity" "1" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button DPAD_LEFT" } "settings" { "haptic_intensity" "1" } } } } } } "group" { "id" "11" "mode" "absolute_mouse" "inputs" { } "settings" { "gyro_button" "12" } } "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" "joystick_mouse" "inputs" { } "settings" { "output_joystick" "2" "sensitivity" "58" } } "group" { "id" "14" "mode" "joystick_mouse" "inputs" { } "settings" { "output_joystick" "2" "sensitivity" "150" } } "group" { "id" "8" "mode" "switches" "inputs" { "button_escape" { "activators" { "Full_Press" { "bindings" { "binding" "key_press ESCAPE" } } } } "button_menu" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action SHOW_KEYBOARD" } } } } "left_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button TRIGGER_LEFT" } } } } "right_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button TRIGGER_RIGHT" } } } } "button_back_left" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button a" } } } } "button_back_right" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button x" } } } } } } "preset" { "id" "0" "name" "Default" "group_source_bindings" { "8" "switch active" "0" "button_diamond active" "1" "left_trackpad inactive" "2" "right_trackpad inactive" "6" "right_trackpad inactive" "7" "right_trackpad inactive" "3" "joystick inactive" "14" "joystick active" "4" "left_trigger active" "5" "right_trigger active" "9" "right_joystick inactive" "13" "right_joystick active" "10" "dpad active" "11" "gyro inactive" "12" "center_trackpad inactive" } } "settings" { "left_trackpad_mode" "0" "right_trackpad_mode" "0" } }