Browse Source

Mapped aseprite!

Krzysztof Krysiński 2 years ago
parent
commit
ffdee23cb2
1 changed files with 36 additions and 124 deletions
  1. 36 124
      src/PixiEditor/Data/ShortcutActionMaps/AsepriteShortcutMap.json

+ 36 - 124
src/PixiEditor/Data/ShortcutActionMaps/AsepriteShortcutMap.json

@@ -1,65 +1,17 @@
 {
 {
-    "": {
-      "Command": "PixiEditor.Shortcuts.Provider.ImportDefault",
-      "DefaultShortcut": {
-        "key": "None",
-        "modifiers": null
-      },
-      "Parameters": []
-    },
-    "": {
-      "Command": "PixiEditor.Shortcuts.Provider.ImportInstallation",
-      "DefaultShortcut": {
-        "key": "None",
-        "modifiers": null
-      },
-      "Parameters": []
-    },
-    "": {
-      "Command": "PixiEditor.Shortcuts.Reset",
-      "DefaultShortcut": {
-        "key": "None",
-        "modifiers": null
-      },
-      "Parameters": []
-    },
-    "": {
-      "Command": "PixiEditor.Shortcuts.Export",
-      "DefaultShortcut": {
-        "key": "None",
-        "modifiers": null
-      },
-      "Parameters": []
-    },
-    "": {
-      "Command": "PixiEditor.Shortcuts.Import",
-      "DefaultShortcut": {
-        "key": "None",
-        "modifiers": null
-      },
-      "Parameters": []
-    },
-    "": {
-      "Command": "PixiEditor.Shortcuts.OpenTemplatePopup",
-      "DefaultShortcut": {
-        "key": "None",
-        "modifiers": null
-      },
-      "Parameters": []
-    },
-    "": {
+    "Cut": {
       "Command": "PixiEditor.Clipboard.Cut",
       "Command": "PixiEditor.Clipboard.Cut",
       "DefaultShortcut": {
       "DefaultShortcut": {
-        "key": "None",
-        "modifiers": null
+        "key": "X",
+        "modifiers": ["Ctrl"]
       },
       },
       "Parameters": []
       "Parameters": []
     },
     },
-    "": {
+    "Paste": {
       "Command": "PixiEditor.Clipboard.Paste",
       "Command": "PixiEditor.Clipboard.Paste",
       "DefaultShortcut": {
       "DefaultShortcut": {
-        "key": "None",
-        "modifiers": null
+        "key": "V",
+        "modifiers": ["Ctrl"]
       },
       },
       "Parameters": []
       "Parameters": []
     },
     },
@@ -71,19 +23,11 @@
       },
       },
       "Parameters": []
       "Parameters": []
     },
     },
-    "": {
+    "Copy": {
       "Command": "PixiEditor.Clipboard.Copy",
       "Command": "PixiEditor.Clipboard.Copy",
       "DefaultShortcut": {
       "DefaultShortcut": {
-        "key": "None",
-        "modifiers": null
-      },
-      "Parameters": []
-    },
-    "": {
-      "Command": "PixiEditor.Colors.ReplaceColors",
-      "DefaultShortcut": {
-        "key": "None",
-        "modifiers": null
+        "key": "C",
+        "modifiers": ["Ctrl"]
       },
       },
       "Parameters": []
       "Parameters": []
     },
     },
@@ -95,7 +39,7 @@
       },
       },
       "Parameters": []
       "Parameters": []
     },
     },
-    "": {
+    "LoadPalette": {
       "Command": "PixiEditor.Colors.ImportPalette",
       "Command": "PixiEditor.Colors.ImportPalette",
       "DefaultShortcut": {
       "DefaultShortcut": {
         "key": "None",
         "key": "None",
@@ -183,10 +127,10 @@
       },
       },
       "Parameters": []
       "Parameters": []
     },
     },
-    "": {
+    "SwitchColors": {
       "Command": "PixiEditor.Colors.Swap",
       "Command": "PixiEditor.Colors.Swap",
       "DefaultShortcut": {
       "DefaultShortcut": {
-        "key": "None",
+        "key": "X",
         "modifiers": null
         "modifiers": null
       },
       },
       "Parameters": []
       "Parameters": []
@@ -199,27 +143,19 @@
       },
       },
       "Parameters": []
       "Parameters": []
     },
     },
-    "": {
-      "Command": "PixiEditor.Colors.SelectColor",
-      "DefaultShortcut": {
-        "key": "None",
-        "modifiers": null
-      },
-      "Parameters": []
-    },
-    "": {
+    "NewFile": {
       "Command": "PixiEditor.File.New",
       "Command": "PixiEditor.File.New",
       "DefaultShortcut": {
       "DefaultShortcut": {
-        "key": "None",
-        "modifiers": null
+        "key": "N",
+        "modifiers": ["Ctrl"]
       },
       },
       "Parameters": []
       "Parameters": []
     },
     },
-    "": {
+    "OpenFile": {
       "Command": "PixiEditor.File.Open",
       "Command": "PixiEditor.File.Open",
       "DefaultShortcut": {
       "DefaultShortcut": {
-        "key": "None",
-        "modifiers": null
+        "key": "O",
+        "modifiers": ["Ctrl"]
       },
       },
       "Parameters": []
       "Parameters": []
     },
     },
@@ -231,31 +167,31 @@
       },
       },
       "Parameters": []
       "Parameters": []
     },
     },
-    "": {
+    "SaveFile": {
       "Command": "PixiEditor.File.Save",
       "Command": "PixiEditor.File.Save",
       "DefaultShortcut": {
       "DefaultShortcut": {
-        "key": "None",
-        "modifiers": null
+        "key": "S",
+        "modifiers": ["Ctrl"]
       },
       },
       "Parameters": []
       "Parameters": []
     },
     },
-    "AsNew": {
+    "SaveFileAs": {
       "Command": "PixiEditor.File.SaveAsNew",
       "Command": "PixiEditor.File.SaveAsNew",
       "DefaultShortcut": {
       "DefaultShortcut": {
-        "key": "None",
-        "modifiers": null
+        "key": "S",
+        "modifiers": ["Ctrl", "Shift"]
       },
       },
       "Parameters": []
       "Parameters": []
     },
     },
-    "": {
+    "SaveFileCopyAs": {
       "Command": "PixiEditor.File.Export",
       "Command": "PixiEditor.File.Export",
       "DefaultShortcut": {
       "DefaultShortcut": {
-        "key": "None",
-        "modifiers": null
+        "key": "S",
+        "modifiers": ["Ctrl", "Alt", "Shift"]
       },
       },
       "Parameters": []
       "Parameters": []
     },
     },
-    "": {
+    "RemoveLayer": {
       "Command": "PixiEditor.Layer.DeleteSelected",
       "Command": "PixiEditor.Layer.DeleteSelected",
       "DefaultShortcut": {
       "DefaultShortcut": {
         "key": "None",
         "key": "None",
@@ -271,23 +207,23 @@
       },
       },
       "Parameters": []
       "Parameters": []
     },
     },
-    "": {
+    "NewLayer.group=true": {
       "Command": "PixiEditor.Layer.NewFolder",
       "Command": "PixiEditor.Layer.NewFolder",
       "DefaultShortcut": {
       "DefaultShortcut": {
-        "key": "None",
-        "modifiers": null
+        "key": "N",
+        "modifiers": ["Alt", "Shift"]
       },
       },
       "Parameters": []
       "Parameters": []
     },
     },
-    "": {
+    "NewLayer": {
       "Command": "PixiEditor.Layer.NewLayer",
       "Command": "PixiEditor.Layer.NewLayer",
       "DefaultShortcut": {
       "DefaultShortcut": {
-        "key": "None",
-        "modifiers": null
+        "key": "N",
+        "modifiers": ["Shift"]
       },
       },
       "Parameters": []
       "Parameters": []
     },
     },
-    "": {
+    "SetInkType.type=lock-alpha": {
       "Command": "PixiEditor.Layer.ToggleLockTransparency",
       "Command": "PixiEditor.Layer.ToggleLockTransparency",
       "DefaultShortcut": {
       "DefaultShortcut": {
         "key": "None",
         "key": "None",
@@ -295,31 +231,7 @@
       },
       },
       "Parameters": []
       "Parameters": []
     },
     },
-    "": {
-      "Command": "PixiEditor.Layer.OpacitySliderDragStarted",
-      "DefaultShortcut": {
-        "key": "None",
-        "modifiers": null
-      },
-      "Parameters": []
-    },
-    "": {
-      "Command": "PixiEditor.Layer.OpacitySliderDragged",
-      "DefaultShortcut": {
-        "key": "None",
-        "modifiers": null
-      },
-      "Parameters": []
-    },
-    "": {
-      "Command": "PixiEditor.Layer.OpacitySliderDragEnded",
-      "DefaultShortcut": {
-        "key": "None",
-        "modifiers": null
-      },
-      "Parameters": []
-    },
-    "": {
+    "DuplicateLayer": {
       "Command": "PixiEditor.Layer.DuplicateSelectedLayer",
       "Command": "PixiEditor.Layer.DuplicateSelectedLayer",
       "DefaultShortcut": {
       "DefaultShortcut": {
         "key": "None",
         "key": "None",