"controller_mappings" { "version" "3" "revision" "141" "title" "Attract Mode" "description" "Config for my version of attract mode. I have chord + start set to close the emulators and start and either left or right triggers to bumpers." "creator" "76561198086148134" "controller_type" "controller_steamcontroller_gordon" "Timestamp" "1" "actions" { "Default" { "title" "Default" "legacy_set" "1" } "Preset_1000005" { "title" "nes snes" "legacy_set" "1" } "Preset_1000006" { "title" "super metroid" "legacy_set" "1" } } "action_layers" { "Preset_1000003" { "title" "change ps mode" "legacy_set" "1" "set_layer" "1" "parent_set_name" "Default" } "Preset_1000004" { "title" "change ps mode 2" "legacy_set" "1" "set_layer" "1" "parent_set_name" "Default" } } "group" { "id" "0" "mode" "four_buttons" "inputs" { "button_a" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button A" } } } } "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" "xinput_button Y" } } } } } } "group" { "id" "1" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button dpad_up" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button dpad_down" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button dpad_right" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button dpad_left" } } } } "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_LEFT" } } } } } "settings" { "requires_click" "0" "deadzone" "5000" } } "group" { "id" "2" "mode" "joystick_camera" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "1" } } } } } "settings" { "haptic_intensity" "0" } } "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" "22" "mode" "four_buttons" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "23" "mode" "dpad" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "24" "mode" "joystick_camera" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "25" "mode" "joystick_move" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "26" "mode" "trigger" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "27" "mode" "trigger" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "29" "mode" "four_buttons" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "30" "mode" "dpad" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "31" "mode" "joystick_camera" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "32" "mode" "joystick_move" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "33" "mode" "trigger" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "34" "mode" "trigger" "inputs" { } "settings" { "layer" "1" } } "group" { "id" "36" "mode" "four_buttons" "inputs" { "button_a" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button A" } } } } "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" "xinput_button Y" } } } } } } "group" { "id" "37" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button dpad_up" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button dpad_down" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button dpad_right" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button dpad_left" } } } } "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_LEFT" } } } } } "settings" { "requires_click" "0" "deadzone" "5000" } } "group" { "id" "38" "mode" "joystick_camera" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "1" } } } } } "settings" { "haptic_intensity" "0" } } "group" { "id" "39" "mode" "joystick_move" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_LEFT" } "settings" { "haptic_intensity" "2" } } } } } } "group" { "id" "40" "mode" "trigger" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SHOULDER_LEFT" } "settings" { "haptic_intensity" "2" } } } } "edge" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SHOULDER_LEFT" } "settings" { "haptic_intensity" "2" } } } } } } "group" { "id" "41" "mode" "trigger" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SHOULDER_RIGHT" } "settings" { "haptic_intensity" "2" } } } } "edge" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SHOULDER_RIGHT" } "settings" { "haptic_intensity" "2" } } } } } } "group" { "id" "43" "mode" "four_buttons" "inputs" { "button_a" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button A" } } } } "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" "xinput_button Y" } } } } } } "group" { "id" "44" "mode" "dpad" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button dpad_up" } } } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button dpad_down" } } } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button dpad_right" } } } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button dpad_left" } } } } "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_LEFT" } } } } } "settings" { "requires_click" "0" "deadzone" "5000" } } "group" { "id" "45" "mode" "joystick_camera" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT" } "settings" { "haptic_intensity" "1" } } } } } "settings" { "haptic_intensity" "0" } } "group" { "id" "46" "mode" "joystick_move" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_LEFT" } "settings" { "haptic_intensity" "2" } } } } } } "group" { "id" "47" "mode" "trigger" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SHOULDER_RIGHT" } "settings" { "haptic_intensity" "2" } } } } "edge" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SHOULDER_RIGHT" } "settings" { "haptic_intensity" "2" } } } } } } "group" { "id" "48" "mode" "trigger" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SHOULDER_LEFT" } "settings" { "haptic_intensity" "2" } } } } "edge" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SHOULDER_LEFT" } "settings" { "haptic_intensity" "2" } } } } } } "group" { "id" "6" "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" } } "chord" { "bindings" { "binding" "controller_action CHANGE_PRESET 2 0 1" } "settings" { "chord_button" "14" } } } } "right_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SHOULDER_RIGHT" } } "chord" { "bindings" { "binding" "controller_action CHANGE_PRESET 3 0 1" } "settings" { "chord_button" "14" } } } } "button_back_left" { "activators" { "Full_Press" { "bindings" { "binding" "key_press R" "binding" "controller_action add_layer 4 0 0" } } } } "button_back_right" { "activators" { "Full_Press" { "bindings" { "binding" "key_press F" "binding" "controller_action add_layer 5 0 0" } } } } } } "group" { "id" "21" "mode" "switches" "inputs" { "button_back_left" { "activators" { "release" { "bindings" { "binding" "controller_action remove_layer 4 0 0" "binding" "key_press R" } } "Full_Press" { "bindings" { "binding" "key_press R" } } } } "button_back_right" { "activators" { "Full_Press" { "bindings" { "binding" "key_press D" } } } } } "settings" { "layer" "1" } } "group" { "id" "28" "mode" "switches" "inputs" { "button_back_left" { "activators" { "Full_Press" { "bindings" { "binding" "key_press D" } } } } "button_back_right" { "activators" { "release" { "bindings" { "binding" "controller_action remove_layer 5 0 0" "binding" "key_press F" } } "Full_Press" { "bindings" { "binding" "key_press F" } } } } } "settings" { "layer" "1" } } "group" { "id" "35" "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" } } "chord" { "bindings" { "binding" "controller_action CHANGE_PRESET 1 0 1" } "settings" { "chord_button" "14" } } } } "right_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button shoulder_right" } } "chord" { "bindings" { "binding" "controller_action CHANGE_PRESET 3 0 1" } "settings" { "chord_button" "14" } } } } "button_back_left" { "activators" { "Full_Press" { "bindings" { "binding" "key_press R" "binding" "controller_action add_layer 4 0 0" } } } } "button_back_right" { "activators" { "Full_Press" { "bindings" { "binding" "key_press F" "binding" "controller_action add_layer 5 0 0" } } } } } } "group" { "id" "42" "mode" "switches" "inputs" { "button_escape" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button START" } } } } "button_menu" { "activators" { "chord" { "bindings" { "binding" "controller_action CHANGE_PRESET 1 0 1" } } "Full_Press" { "bindings" { "binding" "xinput_button SELECT" } } } } "left_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button shoulder_left" } } "chord" { "bindings" { "binding" "controller_action CHANGE_PRESET 2 0 1" } "settings" { "chord_button" "14" } } } } "right_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button SHOULDER_RIGHT" } } "chord" { "bindings" { "binding" "controller_action CHANGE_PRESET 1 0 1" } "settings" { "chord_button" "14" } } } } "button_back_left" { "activators" { "Full_Press" { "bindings" { "binding" "key_press R" "binding" "controller_action add_layer 4 0 0" } } } } "button_back_right" { "activators" { "Full_Press" { "bindings" { "binding" "key_press F" "binding" "controller_action add_layer 5 0 0" } } } } } } "preset" { "id" "0" "name" "Default" "group_source_bindings" { "6" "switch active" "0" "button_diamond active" "1" "left_trackpad active" "2" "right_trackpad active" "3" "joystick active" "4" "left_trigger active" "5" "right_trigger active" } } "preset" { "id" "1" "name" "Preset_1000005" "group_source_bindings" { "35" "switch active" "36" "button_diamond active" "37" "left_trackpad active" "38" "right_trackpad active" "39" "joystick active" "40" "left_trigger active" "41" "right_trigger active" } } "preset" { "id" "2" "name" "Preset_1000006" "group_source_bindings" { "42" "switch active" "43" "button_diamond active" "44" "left_trackpad active" "45" "right_trackpad active" "46" "joystick active" "47" "left_trigger active" "48" "right_trigger active" } } "preset" { "id" "3" "name" "Preset_1000003" "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" } } "preset" { "id" "4" "name" "Preset_1000004" "group_source_bindings" { "28" "switch active" "29" "button_diamond active" "30" "left_trackpad active" "31" "right_trackpad active" "32" "joystick active" "33" "left_trigger active" "34" "right_trigger active" } } "settings" { "left_trackpad_mode" "0" "right_trackpad_mode" "0" "action_set_trigger_cursor_show" "0" "action_set_trigger_cursor_hide" "0" } }