"controller_mappings" { "version" "3" "revision" "118" "title" "Gamepad for Moonlight" "description" "Your modified layout for this game." "creator" "76561197995288250" "progenitor" "" "url" "usercloud://moonlight/gamepad for moonlight_1" "export_type" "community" "controller_type" "controller_neptune" "controller_caps" "23117823" "major_revision" "0" "minor_revision" "0" "Timestamp" "0" "actions" { "Default" { "title" "Default" "legacy_set" "1" } "Preset_1000001" { "title" "No gyro" "legacy_set" "1" } "Preset_1000002" { "title" "Web" "legacy_set" "1" } "Preset_1000003" { "title" "Shortcuts" "legacy_set" "1" } } "action_layers" { } "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" { } } } } "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" { } "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" "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" { } } } } "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" "xinput_button JOYSTICK_LEFT, , " } } "Double_Press" { "bindings" { "binding" "controller_action camera_reset 180 66 90, , " } } } "disabled_activators" { } } } } "group" { "id" "19" "mode" "mouse_joystick" "name" "" "description" "" "inputs" { } } "group" { "id" "20" "mode" "scrollwheel" "name" "" "description" "" "inputs" { "scroll_clockwise" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_DOWN, , " } } } "disabled_activators" { } } "scroll_counterclockwise" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_UP, , " } } } "disabled_activators" { } } "click" { "activators" { "Soft_Press" { "bindings" { "binding" "mouse_button RIGHT, , " } } } "disabled_activators" { } } } } "group" { "id" "22" "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" "23" "mode" "scrollwheel" "name" "" "description" "" "inputs" { "scroll_clockwise" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_DOWN, , " } } } "disabled_activators" { } } "scroll_counterclockwise" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_UP, , " } } } "disabled_activators" { } } "click" { "activators" { "Soft_Press" { "bindings" { "binding" "mouse_button RIGHT, , " } } } "disabled_activators" { } } } } "group" { "id" "24" "mode" "absolute_mouse" "name" "" "description" "" "inputs" { "click" { "activators" { "Soft_Press" { "bindings" { "binding" "mouse_button LEFT, , " } } } "disabled_activators" { } } } } "group" { "id" "25" "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" "26" "mode" "trigger" "name" "" "description" "" "inputs" { } "settings" { "output_trigger" "1" } } "group" { "id" "27" "mode" "trigger" "name" "" "description" "" "inputs" { } "settings" { "output_trigger" "2" } } "group" { "id" "28" "mode" "joystick_move" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT, , " } } } "disabled_activators" { } } } } "group" { "id" "29" "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" { } } } "settings" { "requires_click" "0" "haptic_intensity_override" "0" } } "group" { "id" "30" "mode" "mouse_joystick" "name" "" "description" "" "inputs" { } } "group" { "id" "31" "mode" "four_buttons" "name" "" "description" "" "inputs" { "button_a" { "activators" { "Full_Press" { "bindings" { "binding" "key_press RETURN, , " } } } "disabled_activators" { } } "button_b" { "activators" { "Full_Press" { "bindings" { "binding" "key_press ESCAPE, , " } } } "disabled_activators" { } } "button_x" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_WINDOWS, , " "binding" "key_press D, , " } } } "disabled_activators" { } } "button_y" { "activators" { "Full_Press" { "bindings" { "binding" "key_press F11, , " } } } "disabled_activators" { } } } } "group" { "id" "32" "mode" "trigger" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button RIGHT, , " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } } } "group" { "id" "33" "mode" "trigger" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button LEFT, , " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } } } "group" { "id" "35" "mode" "scrollwheel" "name" "" "description" "" "inputs" { "scroll_clockwise" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_DOWN, , " } } } "disabled_activators" { } } "scroll_counterclockwise" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_wheel SCROLL_UP, , " } } } "disabled_activators" { } } "click" { "activators" { "Soft_Press" { "bindings" { "binding" "mouse_button RIGHT, , " } } } "disabled_activators" { } } } "settings" { "scroll_angle" "120" } } "group" { "id" "36" "mode" "absolute_mouse" "name" "" "description" "" "inputs" { "click" { "activators" { "Soft_Press" { "bindings" { "binding" "mouse_button LEFT, , " } } } "disabled_activators" { } } } } "group" { "id" "37" "mode" "gyro_to_joystick" "name" "" "description" "" "inputs" { } "settings" { "gyro_natural_sensitivity" "3000" } } "group" { "id" "38" "mode" "radial_menu" "name" "Shortcuts" "description" "" "inputs" { "touch_menu_button_1" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_SHIFT, , EmuDeck_SwapScreen.png, " "binding" "key_press LEFT_WINDOWS, , EmuDeck_SwapScreen.png, " "binding" "key_press RIGHT_ARROW, , EmuDeck_SwapScreen.png, " } } "Full_Press" { "bindings" { "binding" "controller_action empty_sub_command, , " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } "touch_menu_button_2" { "activators" { "Full_Press" { "bindings" { "binding" "key_press 8, , ghost_070_setting_0060.png, " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } "touch_menu_button_3" { "activators" { "Full_Press" { "bindings" { "binding" "key_press 9, , ghost_110_social_0110.png, " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } "touch_menu_button_4" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_SHIFT, , ghost_040_act_0304.png, " "binding" "key_press LEFT_CONTROL, , ghost_040_act_0304.png, " "binding" "key_press 1, , ghost_040_act_0304.png, " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } } } "group" { "id" "39" "mode" "four_buttons" "name" "" "description" "" "inputs" { } } "group" { "id" "40" "mode" "trigger" "name" "" "description" "" "inputs" { } } "group" { "id" "41" "mode" "trigger" "name" "" "description" "" "inputs" { } } "group" { "id" "43" "mode" "reference" "description" "" "settings" { "referenced_mode" "38" } } "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" "controller_action CHANGE_PRESET 3 1 1, , " } } } "disabled_activators" { } } "button_back_right" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT, , " "binding" "controller_action empty_sub_command, , " "binding" "controller_action empty_sub_command, , " } } } "disabled_activators" { } } "button_back_left_upper" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action CHANGE_PRESET 2 1 1, , " } } } "disabled_activators" { } } "button_back_right_upper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_LEFT, , " "binding" "controller_action empty_sub_command, , " "binding" "controller_action empty_sub_command, , " } } } "disabled_activators" { } } "button_capture" { "activators" { "release" { "bindings" { "binding" "controller_action system_key_1, , " } } } "disabled_activators" { } } } } "group" { "id" "21" "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" "controller_action CHANGE_PRESET 3 1 1, , " } } } "disabled_activators" { } } "button_back_right" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT, , " "binding" "controller_action empty_sub_command, , " "binding" "controller_action empty_sub_command, , " } } } "disabled_activators" { } } "button_back_left_upper" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action CHANGE_PRESET 1 1 1, , " } } } "disabled_activators" { } } "button_back_right_upper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_LEFT, , " "binding" "controller_action empty_sub_command, , " "binding" "controller_action empty_sub_command, , " } } } "disabled_activators" { } } "button_capture" { "activators" { "release" { "bindings" { "binding" "controller_action system_key_1, , " } } } "disabled_activators" { } } } } "group" { "id" "34" "mode" "switches" "name" "" "description" "" "inputs" { "button_escape" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action CHANGE_PRESET 4 0 0, , " } } } "disabled_activators" { } } "button_menu" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action SHOW_KEYBOARD, , " } } } "disabled_activators" { } } "right_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_ALT, , " "binding" "key_press TAB, , " } } } "disabled_activators" { } } "button_back_left" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action CHANGE_PRESET 2 1 1, , " } } } "disabled_activators" { } } "button_back_right" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action empty_sub_command, , " "binding" "controller_action empty_sub_command, , " } } } "disabled_activators" { } } "button_back_left_upper" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action CHANGE_PRESET 1 1 1, , " } } } "disabled_activators" { } } "button_back_right_upper" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action empty_sub_command, , " "binding" "controller_action empty_sub_command, , " } } } "disabled_activators" { } } "button_capture" { "activators" { "release" { "bindings" { "binding" "controller_action system_key_1, , " } } } "disabled_activators" { } } } } "group" { "id" "42" "mode" "switches" "name" "" "description" "" "inputs" { "button_escape" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action CHANGE_PRESET 3 1 1, , " } } } "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 inactive" "11" "left_trackpad inactive" "18" "left_trackpad inactive" "20" "left_trackpad active" "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" "4" "left_trigger active" "5" "right_trigger active" "8" "right_joystick active" "15" "right_joystick inactive" "9" "dpad active" "14" "gyro inactive" "19" "gyro inactive" "37" "gyro active" } } "preset" { "id" "1" "name" "Preset_1000001" "group_source_bindings" { "21" "switch active" "22" "button_diamond active" "23" "left_trackpad active" "24" "right_trackpad active" "25" "joystick active" "26" "left_trigger active" "27" "right_trigger active" "28" "right_joystick active" "29" "dpad active" "30" "gyro inactive" } } "preset" { "id" "2" "name" "Preset_1000002" "group_source_bindings" { "34" "switch active" "31" "button_diamond active" "35" "left_trackpad active" "36" "right_trackpad active" "38" "joystick inactive" "32" "left_trigger active" "33" "right_trigger active" } } "preset" { "id" "3" "name" "Preset_1000003" "group_source_bindings" { "42" "switch active" "39" "button_diamond active" "43" "left_trackpad active" "40" "left_trigger active" "41" "right_trigger active" } } "settings" { "left_trackpad_mode" "0" "right_trackpad_mode" "0" } }