From ec3a23259cf0f9528aef661b9df51846997485f4 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Fri, 2 Dec 2022 05:35:58 +1000 Subject: [PATCH] Remove default bindings for keyboards (resolves #3257) and the Libretro mouse (leaving the other mice because you need to choose them as peripherals for the axes to be bindable) --- Assets/defctrl.json | 439 +------------------------------------------- 1 file changed, 3 insertions(+), 436 deletions(-) diff --git a/Assets/defctrl.json b/Assets/defctrl.json index aeaaa3c060..f5e8f4c6be 100644 --- a/Assets/defctrl.json +++ b/Assets/defctrl.json @@ -12,107 +12,7 @@ "P1 RetroPad X": "S, J1 B4, X1 Y", "P1 RetroPad A": "X, J1 B3, X1 B", "P1 RetroPad L": "W, J1 B5, X1 LeftShoulder", - "P1 RetroPad R": "E, J1 B6, X1 RightShoulder", - "Pointer Pressed": "WMouse L", - "Key Backspace": "Backspace", - "Key Tab": "Tab", - "Key Return": "Enter", - "Key Escape": "Escape", - "Key Space": "Space", - "Key Comma": "Comma", - "Key Minus": "Minus", - "Key Period": "Period", - "Key Slash": "Slash", - "Key 0": "Number0", - "Key 1": "Number1", - "Key 2": "Number2", - "Key 3": "Number3", - "Key 4": "Number4", - "Key 5": "Number5", - "Key 6": "Number6", - "Key 7": "Number7", - "Key 8": "Number8", - "Key 9": "Number9", - "Key Semicolon": "Semicolon", - "Key Equals": "Equals", - "Key LeftBracket": "LeftBracket", - "Key Backslash": "Backslash", - "Key RightBracket": "RightBracket", - "Key Backquote": "Backtick", - "Key A": "A", - "Key B": "B", - "Key C": "C", - "Key D": "D", - "Key E": "E", - "Key F": "F", - "Key G": "G", - "Key H": "H", - "Key I": "I", - "Key J": "J", - "Key K": "K", - "Key L": "L", - "Key M": "M", - "Key N": "N", - "Key O": "O", - "Key P": "P", - "Key Q": "Q", - "Key R": "R", - "Key S": "S", - "Key T": "T", - "Key U": "U", - "Key V": "V", - "Key W": "W", - "Key X": "X", - "Key Y": "Y", - "Key Z": "Z", - "Key Delete": "Delete", - "Key KP0": "Keypad0", - "Key KP1": "Keypad1", - "Key KP2": "Keypad2", - "Key KP3": "Keypad3", - "Key KP4": "Keypad4", - "Key KP5": "Keypad5", - "Key KP6": "Keypad6", - "Key KP7": "Keypad7", - "Key KP8": "Keypad8", - "Key KP9": "Keypad9", - "Key KP_Period": "KeypadDecimal", - "Key KP_Divide": "KeypadDivide", - "Key KP_Multiply": "KeypadMultiply", - "Key KP_Minus": "KeypadSubtract", - "Key KP_Plus": "KeypadAdd", - "Key KP_Enter": "KeypadEnter", - "Key Up": "Up", - "Key Down": "Down", - "Key Left": "Left", - "Key Insert": "LeftCtrl", - "Key Home": "Home", - "Key End": "End", - "Key PageUp": "PageUp", - "Key PageDown": "PageDown", - "Key F1": "F1", - "Key F2": "F2", - "Key F3": "F3", - "Key F4": "F4", - "Key F5": "F5", - "Key F6": "F6", - "Key F7": "F7", - "Key F8": "F8", - "Key F9": "F9", - "Key F10": "F10", - "Key F11": "F11", - "Key F12": "F12", - "Key NumLock": "NumLock", - "Key CapsLock": "CapsLock", - "Key ScrollLock": "ScrollLock", - "Key RShift": "RightShift", - "Key LShift": "LeftShift", - "Key RCtrl": "RightCtrl", - "Key LCtrl": "LeftCtrl", - "Key RAlt": "RightAlt", - "Key LAlt": "LeftAlt", - "Key Menu": "Apps", - "Key Right": "Right" + "P1 RetroPad R": "E, J1 B6, X1 RightShoulder" }, "NES Controller": { "P1 Up": "Up, J1 POV1U, X1 DpadUp, X1 LStickUp", @@ -303,71 +203,7 @@ "P1 Down": "Keypad2, J1 POV1D, X1 DpadDown, X1 LStickDown", "P1 Left": "Keypad4, J1 POV1L, X1 DpadLeft, X1 LStickLeft", "P1 Right": "Keypad6, J1 POV1R, X1 DpadRight, X1 LStickRight", - "P1 Button": "Keypad1, J1 B1, X1 X", - "Key F1": "F1", - "Key F3": "F3", - "Key F5": "F5", - "Key F7": "F7", - "Key Left Arrow": "Backtick", - "Key 1": "Number1", - "Key 2": "Number2", - "Key 3": "Number3", - "Key 4": "Number4", - "Key 5": "Number5", - "Key 6": "Number6", - "Key 7": "Number7", - "Key 8": "Number8", - "Key 9": "Number9", - "Key 0": "Number0", - "Key Plus": "Equals", - "Key Minus": "Minus", - "Key Pound": "Insert", - "Key Clear/Home": "Delete", - "Key Insert/Delete": "Backspace", - "Key Control": "Tab", - "Key Q": "Q", - "Key W": "W", - "Key E": "E", - "Key R": "R", - "Key T": "T", - "Key Y": "Y", - "Key U": "U", - "Key I": "I", - "Key O": "O", - "Key P": "P", - "Key At": "LeftBracket", - "Key Asterisk": "RightBracket", - "Key Up Arrow": "Backslash", - "Key Run/Stop": "CapsLock", - "Key A": "A", - "Key S": "S", - "Key D": "D", - "Key F": "F", - "Key G": "G", - "Key H": "H", - "Key J": "J", - "Key K": "K", - "Key L": "L", - "Key Colon": "Semicolon", - "Key Semicolon": "Apostrophe", - "Key Equal": "RightCtrl", - "Key Return": "Enter", - "Key Commodore": "LeftCtrl", - "Key Left Shift": "LeftShift", - "Key Z": "Z", - "Key X": "X", - "Key C": "C", - "Key V": "V", - "Key B": "B", - "Key N": "N", - "Key M": "M", - "Key Comma": "Comma", - "Key Period": "Period", - "Key Slash": "Slash", - "Key Right Shift": "RightShift", - "Key Cursor Up/Down": "Down", - "Key Cursor Left/Right": "Right", - "Key Space": "Space" + "P1 Button": "Keypad1, J1 B1, X1 X" }, "ZXSpectrum Controller": { "P1 Up": "Keypad8, J1 POV1U, X1 DpadUp, X1 LStickUp", @@ -375,59 +211,9 @@ "P1 Left": "Keypad4, J1 POV1L, X1 DpadLeft, X1 LStickLeft", "P1 Right": "Keypad6, J1 POV1R, X1 DpadRight, X1 LStickRight", "P1 Button": "Keypad1, J1 B1, X1 X", - "Key 1": "Number1", - "Key 2": "Number2", - "Key 3": "Number3", - "Key 4": "Number4", - "Key 5": "Number5", - "Key 6": "Number6", - "Key 7": "Number7", - "Key 8": "Number8", - "Key 9": "Number9", - "Key 0": "Number0", - "Key Break": "Delete", - "Key Delete": "Backspace", - "Key Q": "Q", - "Key W": "W", - "Key E": "E", - "Key R": "R", - "Key T": "T", - "Key Y": "Y", - "Key U": "U", - "Key I": "I", - "Key O": "O", - "Key P": "P", - "Key A": "A", - "Key S": "S", - "Key D": "D", - "Key F": "F", - "Key G": "G", - "Key H": "H", - "Key J": "J", - "Key K": "K", - "Key L": "L", - "Key Return": "Enter", - "Key Caps Shift": "LeftShift, RightShift", - "Key Z": "Z", - "Key X": "X", - "Key C": "C", - "Key V": "V", - "Key B": "B", - "Key N": "N", - "Key M": "M", - "Key Period": "Period", - "Key Symbol Shift": "LeftCtrl, RightCtrl", - "Key Semi-Colon": "Semicolon", - "Key Left Cursor": "Left", - "Key Right Cursor": "Right", - "Key Space": "Space", - "Key Up Cursor": "Up", - "Key Down Cursor": "Down", - "Key Comma": "Comma", "Play Tape": "F1", "Stop Tape": "F2", "RTZ Tape": "F3", - "Key Quote": "Shift+Number2", "Insert Next Tape": "F6", "Insert Previous Tape": "F5", "Next Tape Block": "F8", @@ -489,104 +275,7 @@ "P1 R": "W, J1 B6, X1 RightShoulder", "P1 Mouse Left": "WMouse L", "P1 Mouse Center": "WMouse M", - "P1 Mouse Right": "WMouse R", - "P1 Escape": "Escape", - "P1 F1": "F1", - "P1 F2": "F2", - "P1 F3": "F3", - "P1 F4": "F4", - "P1 F5": "F5", - "P1 F6": "F6", - "P1 F7": "F7", - "P1 F8": "F8", - "P1 F9": "F9", - "P1 F10": "F10", - "P1 F11": "F11", - "P1 F12": "F12", - "P1 Grave`": "Backtick", - "P1 1(One)": "Number1", - "P1 2": "Number2", - "P1 3": "Number3", - "P1 4": "Number4", - "P1 5": "Number5", - "P1 6": "Number6", - "P1 7": "Number7", - "P1 8": "Number8", - "P1 9": "Number9", - "P1 0(Zero)": "Number0", - "P1 Minus-": "Minus", - "P1 Equals=": "Equals", - "P1 Backslash\\": "Backslash", - "P1 Backspace": "Backspace", - "P1 Tab": "Tab", - "P1 Q": "Q", - "P1 W": "W", - "P1 E": "E", - "P1 R(Key)": "R", - "P1 T": "T", - "P1 Y(Key)": "Y", - "P1 U": "U", - "P1 I": "I", - "P1 O": "O", - "P1 P": "P", - "P1 LeftBracket[": "LeftBracket", - "P1 RightBracket]": "RightBracket", - "P1 Enter": "Enter", - "P1 CapsLock": "CapsLock", - "P1 A(Key)": "A", - "P1 S": "S", - "P1 D": "D", - "P1 F": "F", - "P1 G": "G", - "P1 H": "H", - "P1 J": "J", - "P1 K": "K", - "P1 L(Key)": "L", - "P1 Semicolon;": "Semicolon", - "P1 Quote'": "Apostrophe", - "P1 LeftShift": "LeftShift", - "P1 Z(Key)": "Z", - "P1 X(Key)": "X", - "P1 C(Key)": "C", - "P1 V": "V", - "P1 B(Key)": "B", - "P1 N": "N", - "P1 M": "M", - "P1 Comma,": "Comma", - "P1 Period.": "Period", - "P1 Slash/": "Slash", - "P1 RightShift": "RightShift", - "P1 LeftCtrl": "LeftCtrl", - "P1 LeftAlt": "LeftAlt", - "P1 Space": "Space", - "P1 RightAlt": "RightAlt", - "P1 RightCtrl": "RightCtrl", - "P1 ScrollLock": "ScrollLock", - "P1 Pause": "Pause", - "P1 Insert": "Insert", - "P1 Delete": "Delete", - "P1 Home": "Home", - "P1 End": "End", - "P1 PageUp": "PageUp", - "P1 PageDown": "PageDown", - "P1 CursorLeft": "Left", - "P1 NumLock": "NumLock", - "P1 KeypadSlash(Divide)": "KeypadDivide", - "P1 KeypadAsterisk(Multiply)": "KeypadMultiply", - "P1 KeypadMinus": "KeypadSubtract", - "P1 KeypadHome/7": "Keypad7", - "P1 KeypadUp/8": "Keypad8", - "P1 KeypadPageup/9": "Keypad9", - "P1 KeypadPlus": "KeypadAdd", - "P1 KeypadLeft/4": "Keypad4", - "P1 KeypadCenter/5": "Keypad5", - "P1 KeypadRight/6": "Keypad6", - "P1 KeypadEnd/1": "Keypad1", - "P1 KeypadDown/2": "Keypad2", - "P1 KeypadPagedown/3": "Keypad3", - "P1 KeypadEnter": "KeypadEnter", - "P1 KeypadInsert/0": "Keypad0", - "P1 KeypadDelete": "KeypadDecimal" + "P1 Mouse Right": "WMouse R" }, "PC Engine Controller": { "P1 Up": "Up, J1 POV1U, X1 DpadUp, X1 LStickUp", @@ -659,68 +348,6 @@ "Pause": "J1 B10, X1 Start" }, "SMS Keyboard Controller": { - "Key 1": "Number1", - "Key 2": "Number2", - "Key 3": "Number3", - "Key 4": "Number4", - "Key 5": "Number5", - "Key 6": "Number6", - "Key 7": "Number7", - "Key 8": "Number8", - "Key 9": "Number9", - "Key 0": "Number0", - "Key Minus": "Minus", - "Key Caret": "Equals", - "Key Yen": "Backspace", - "Key Break": "Delete", - "Key Function": "Tab", - "Key Q": "Q", - "Key W": "W", - "Key E": "E", - "Key R": "R", - "Key T": "T", - "Key Y": "Y", - "Key U": "U", - "Key I": "I", - "Key O": "O", - "Key P": "P", - "Key At": "LeftBracket", - "Key Left Bracket": "RightBracket", - "Key Return": "Enter", - "Key Up Arrow": "Up", - "Key Control": "CapsLock", - "Key A": "A", - "Key S": "S", - "Key D": "D", - "Key F": "F", - "Key G": "G", - "Key H": "H", - "Key J": "J", - "Key K": "K", - "Key L": "L", - "Key Semicolon": "Semicolon", - "Key Colon": "Apostrophe", - "Key Right Bracket": "Backslash", - "Key Left Arrow": "Left", - "Key Right Arrow": "Right", - "Key Shift": "LeftShift", - "Key Z": "Z", - "Key X": "X", - "Key C": "C", - "Key V": "V", - "Key B": "B", - "Key N": "N", - "Key M": "M", - "Key Comma": "Comma", - "Key Period": "Period", - "Key Slash": "Slash", - "Key PI": "RightShift", - "Key Down Arrow": "Down", - "Key Graph": "PageUp", - "Key Kana": "PageDown", - "Key Space": "Space", - "Key Home/Clear": "Home", - "Key Insert/Delete": "Insert", "P1 Up": "J1 POV1U, X1 DpadUp, X1 LStickUp", "P1 Down": "J1 POV1D, X1 DpadDown, X1 LStickDown", "P1 Left": "J1 POV1L, X1 DpadLeft, X1 LStickLeft", @@ -909,66 +536,6 @@ "Option 2": "S", "Pause": "Enter" }, - "Apple IIe Keyboard": { - "Delete": "Delete", - "Left": "Left", - "Tab": "Tab", - "Down": "Down", - "Up": "Up", - "Return": "Enter", - "Right": "Right", - "Space": "Space", - "'": "Apostrophe", - ",": "Comma", - "-": "Minus", - ".": "Period", - "/": "Slash", - "0": "Keypad0", - "1": "Keypad1", - "2": "Keypad2", - "3": "Keypad3", - "4": "Keypad4", - "5": "Keypad5", - "6": "Keypad6", - "7": "Keypad7", - "8": "Keypad8", - "9": "Keypad9", - ";": "Semicolon", - "=": "Equals", - "[": "LeftBracket", - "\\": "Backslash", - "]": "RightBracket", - "`": "Backtick", - "A": "A", - "B": "B", - "C": "C", - "D": "D", - "E": "E", - "F": "F", - "G": "G", - "H": "H", - "I": "I", - "J": "J", - "K": "K", - "L": "L", - "M": "M", - "N": "N", - "O": "O", - "P": "P", - "Q": "Q", - "R": "R", - "S": "S", - "T": "T", - "U": "U", - "V": "V", - "W": "W", - "X": "X", - "Y": "Y", - "Z": "Z", - "Control": "RightCtrl", - "Shift": "RightShift", - "Caps Lock": "CapsLock" - }, "VirtualBoy Controller": { "P1 L_Up": "Up, X1 DpadUp, X1 LStickUp", "P1 L_Down": "Down, X1 DpadDown, X1 LStickDown",