"controller_mappings" { "version" "3" "revision" "81" "title" "RetroDECK: DualShock 4 v.1b" "description" "RetroDECK: PS4 - DualShock 4 - v.1b" "creator" "" "progenitor" "" "url" "" "export_type" "" "controller_type" "controller_ps4" "controller_caps" "" "major_revision" "0" "minor_revision" "0" "Timestamp" "1079447734" "actions" { "Default" { "title" "RetroDECK - Set" "legacy_set" "1" } "Preset_1000001" { "title" "Global Hotkeys - Set" "legacy_set" "1" } } "action_layers" { } "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" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT, , " } "settings" { "haptic_intensity" "2" } } } "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" { } } } } "group" { "id" "4" "mode" "trigger" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button TRIGGER_LEFT, , " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } } "settings" { "output_trigger" "1" } } "group" { "id" "5" "mode" "trigger" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button TRIGGER_RIGHT, , " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } } "settings" { "output_trigger" "2" } } "group" { "id" "6" "mode" "joystick_move" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button JOYSTICK_RIGHT, , " } "settings" { "haptic_intensity" "2" } } } "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" { "Full_Press" { "bindings" { "binding" "xinput_button START, , " } } } "disabled_activators" { } } } } "group" { "id" "11" "mode" "single_button" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button RIGHT, , " } } } "disabled_activators" { } } } } "group" { "id" "14" "mode" "absolute_mouse" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button LEFT, , " } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } } } "group" { "id" "15" "mode" "absolute_mouse" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button RIGHT, , " } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } } } "group" { "id" "19" "mode" "four_buttons" "name" "" "description" "" "inputs" { "button_a" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_CONTROL, Pause / Resume, , " "binding" "key_press A, Pause / Resume, , " } } } "disabled_activators" { } } "button_b" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_CONTROL, Take Screenshot, , " "binding" "key_press B, Take Screenshot, , " } } } "disabled_activators" { } } "button_x" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_CONTROL, Fullscreen Toggle, , " "binding" "key_press RETURN, Fullscreen Toggle, , " } } } "disabled_activators" { } } "button_y" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_CONTROL, Open Menu, , " "binding" "key_press M, Open Menu, , " } } } "disabled_activators" { } } } } "group" { "id" "20" "mode" "absolute_mouse" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button RIGHT, , " } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } } } "group" { "id" "21" "mode" "absolute_mouse" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button LEFT, Left Click, , " } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } } } "group" { "id" "22" "mode" "joystick_move" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_CONTROL, Swap Screens, , " "binding" "key_press TAB, Swap Screens, , " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } } } "group" { "id" "23" "mode" "trigger" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_CONTROL, Rewind, , " "binding" "key_press KEYPAD_DASH, Rewind, , " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } } "settings" { "output_trigger" "1" } } "group" { "id" "24" "mode" "trigger" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_CONTROL, Fast forward, , " "binding" "key_press KEYPAD_PLUS, Fast forward, , " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } } "settings" { "output_trigger" "2" } } "group" { "id" "25" "mode" "joystick_move" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "key_press ESCAPE, Escape, , " } } } "disabled_activators" { } } } } "group" { "id" "26" "mode" "dpad" "name" "" "description" "" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_CONTROL, Increase Emulation Speed, , " "binding" "key_press 1, Increase Emulation Speed, , " } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_CONTROL, Decrease Emulation Speed, , " "binding" "key_press 2, Decrease Emulation Speed, , " } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_CONTROL, Next State Slot, , " "binding" "key_press K, Next State Slot, , " } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_CONTROL, Previous State Slot, , " "binding" "key_press J, Previous State Slot, , " } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } } "settings" { "requires_click" "0" "haptic_intensity_override" "0" } } "group" { "id" "29" "mode" "joystick_mouse" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button LEFT, Left Click, , " } } } "disabled_activators" { } } } "settings" { "output_joystick" "2" } } "group" { "id" "30" "mode" "dpad" "name" "" "description" "" "inputs" { "dpad_north" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_CONTROL, Swap Screens, , " "binding" "key_press TAB, Swap Screens, , " } } } "disabled_activators" { } } "dpad_south" { "activators" { "Full_Press" { "bindings" { "binding" "controller_action SHOW_KEYBOARD, Show Keyboard, , " } } } "disabled_activators" { } } "dpad_east" { "activators" { "Full_Press" { "bindings" { "binding" "key_press RETURN, Enter, , " } } } "disabled_activators" { } } "dpad_west" { "activators" { "Full_Press" { "bindings" { "binding" "key_press ESCAPE, Escape, , " } } } "disabled_activators" { } } "click" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button RIGHT, Right Click, , " } } } "disabled_activators" { } } } "settings" { "requires_click" "0" } } "group" { "id" "33" "mode" "absolute_mouse" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button MIDDLE, , " } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } } } "group" { "id" "35" "mode" "absolute_mouse" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button MIDDLE, , " } "settings" { "haptic_intensity" "1" } } } "disabled_activators" { } } } } "group" { "id" "37" "mode" "radial_menu" "name" "Global Radial" "description" "" "inputs" { "touch_menu_button_0" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button RIGHT, RetroDECK, RD-icon_circle_2_180x180.png, " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } "touch_menu_button_1" { "activators" { "Full_Press" { "bindings" { "binding" "key_press ESCAPE, Escape, RD-ESC.png, " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } "touch_menu_button_2" { "activators" { "Full_Press" { "bindings" { "binding" "key_press RETURN, Enter, RD-Enter.png, " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } "touch_menu_button_3" { "activators" { "Full_Press" { "bindings" { "binding" "key_press TAB, Tab, RD-Tab.png, " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } "touch_menu_button_4" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_CONTROL, Control, RD-ctrl.png, " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } "touch_menu_button_5" { "activators" { "Full_Press" { "bindings" { "binding" "key_press SPACE, Space, RD-space.png, " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } "touch_menu_button_6" { "activators" { "Full_Press" { "bindings" { "binding" "key_press FORWARD_SLASH, /, RD-frontslash.png, " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } "touch_menu_button_7" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_ALT, Alt, RD-alt.png, " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } "touch_menu_button_8" { "activators" { "Full_Press" { "bindings" { "binding" "key_press F1, F1, RD-F1.png, " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } "touch_menu_button_9" { "activators" { "Full_Press" { "bindings" { "binding" "key_press F4, F4, RD-F4.png, " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } "touch_menu_button_10" { "activators" { "Full_Press" { "bindings" { "binding" "key_press F5, F5, RD-F5.png, " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } "touch_menu_button_11" { "activators" { "Full_Press" { "bindings" { "binding" "key_press F7, F7, RD-F7.png, " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } "touch_menu_button_12" { "activators" { "Full_Press" { "bindings" { "binding" "key_press F8, F8, RD-F8.png, " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } "touch_menu_button_13" { "activators" { "Full_Press" { "bindings" { "binding" "key_press F10, F10, RD-F10.png, " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } "touch_menu_button_14" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_CONTROL, Restart / Reset, RD-system-reboot.png, " "binding" "key_press R, Restart / Reset, RD-system-reboot.png, " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } "touch_menu_button_15" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_ALT, Wii Sync Button, RD-notification-network-wireless.png, " "binding" "key_press W, Wii Sync Button, RD-notification-network-wireless.png, " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } "touch_menu_button_16" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_CONTROL, Swap Dual - Screens, RD-system-switch-user.png, " "binding" "key_press TAB, Swap Dual - Screens, RD-system-switch-user.png, " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } "touch_menu_button_17" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_CONTROL, Change Dual Screen - Layout, RD-preferences-system-windows-actions.png, " "binding" "key_press L, Change Dual Screen - Layout, RD-preferences-system-windows-actions.png, " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } "touch_menu_button_18" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_CONTROL, Widescreen / Aspect Ratio, RD-preferences-desktop-display.png, " "binding" "key_press W, Widescreen / Aspect Ratio, RD-preferences-desktop-display.png, " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } "touch_menu_button_19" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_CONTROL, Swap Disc, RD-application-x-iso.png, " "binding" "key_press D, Swap Disc, RD-application-x-iso.png, " } "settings" { "haptic_intensity" "2" } } } "disabled_activators" { } } } "settings" { "touchmenu_button_fire_type" "0" } } "group" { "id" "38" "mode" "single_button" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button RIGHT, Right Click, , " } "settings" { "haptic_intensity" "0" } } } "disabled_activators" { } } } } "group" { "id" "39" "mode" "single_button" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button MIDDLE, Middle Click, , " } "settings" { "haptic_intensity" "0" } } } "disabled_activators" { } } } "gameactions" { } } "group" { "id" "41" "mode" "dpad" "name" "" "description" "" "inputs" { } "settings" { "requires_click" "0" } } "group" { "id" "42" "mode" "dpad" "name" "" "description" "" "inputs" { } "settings" { "requires_click" "0" } } "group" { "id" "43" "mode" "single_button" "name" "" "description" "" "inputs" { "click" { "activators" { "Full_Press" { "bindings" { "binding" "mouse_button MIDDLE, , " } } } "disabled_activators" { } } } } "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, , " } } "Full_Press" { "bindings" { "binding" "controller_action CHANGE_PRESET 2 0 1, , " } } } "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" "xinput_button a, , " } } } "disabled_activators" { } } "button_back_right" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button x, , " } } } "disabled_activators" { } } } } "group" { "id" "18" "mode" "switches" "name" "" "description" "" "inputs" { "button_escape" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_CONTROL, Quit Emulator, , " "binding" "key_press Q, Quit Emulator, , " } } } "disabled_activators" { } } "button_menu" { "activators" { "release" { "bindings" { "binding" "controller_action CHANGE_PRESET 1 0 1, , " } } "Full_Press" { "bindings" { "binding" "xinput_button SELECT, , " } } } "disabled_activators" { } } "left_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_CONTROL, Load State, , " "binding" "key_press A, Load State, , " } } } "disabled_activators" { } } "right_bumper" { "activators" { "Full_Press" { "bindings" { "binding" "key_press LEFT_CONTROL, Save State, , " "binding" "key_press S, Save State, , " } } } "disabled_activators" { } } "button_back_left" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button a, , " } } } "disabled_activators" { } } "button_back_right" { "activators" { "Full_Press" { "bindings" { "binding" "xinput_button x, , " } } } "disabled_activators" { } } } } "preset" { "id" "0" "name" "Default" "group_source_bindings" { "7" "switch active" "0" "button_diamond active" "1" "left_trackpad inactive" "11" "left_trackpad active" "15" "left_trackpad inactive" "2" "right_trackpad inactive" "6" "right_trackpad inactive" "10" "right_trackpad inactive" "14" "right_trackpad active" "3" "joystick active" "4" "left_trigger active" "5" "right_trigger active" "8" "right_joystick active" "9" "dpad active" "35" "center_trackpad inactive" "43" "center_trackpad inactive" "41" "gyro active" } } "preset" { "id" "1" "name" "Preset_1000001" "group_source_bindings" { "18" "switch active" "19" "button_diamond active" "20" "left_trackpad inactive" "38" "left_trackpad active" "21" "right_trackpad active" "22" "joystick inactive" "30" "joystick inactive" "37" "joystick active" "23" "left_trigger active" "24" "right_trigger active" "25" "right_joystick inactive" "29" "right_joystick active" "26" "dpad active" "33" "center_trackpad inactive" "39" "center_trackpad inactive" "42" "gyro active" } } "settings" { "left_trackpad_mode" "0" "right_trackpad_mode" "0" } }