From 9107a125e3b4b4a01e50cf3cbc53d9fccbc67b62 Mon Sep 17 00:00:00 2001 From: Kenneth Evans Date: Mon, 27 Mar 2023 13:28:45 -0400 Subject: [PATCH] Updated Sample Configurations. --- ArtPad/Help/Overview.html | 2 +- .../{Rebelle.1.config => Inkscape.config} | 132 +++++++++--------- ArtPad/Sample Configuration/Photoshop.config | 76 +++++++--- ArtPad/Sample Configuration/Rebelle.config | 64 ++++----- 4 files changed, 153 insertions(+), 121 deletions(-) rename ArtPad/Sample Configuration/{Rebelle.1.config => Inkscape.config} (81%) diff --git a/ArtPad/Help/Overview.html b/ArtPad/Help/Overview.html index 9e3dd33..57ef7ae 100644 --- a/ArtPad/Help/Overview.html +++ b/ArtPad/Help/Overview.html @@ -172,7 +172,7 @@

KeyString

Lorem Ipsum 2 -

For a complete list of the syntax see https://msdn.microsoft.com/en-us/library/system.windows.forms.sendkeys.send(v=vs.110).aspx or search for SendKeys.

+

For a complete list of the syntax see https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.sendkeys.send or search for SendKeys.

TYPE

NORMAL

This indicates that the key sends a normal key sequence with the KeyString as described above.

diff --git a/ArtPad/Sample Configuration/Rebelle.1.config b/ArtPad/Sample Configuration/Inkscape.config similarity index 81% rename from ArtPad/Sample Configuration/Rebelle.1.config rename to ArtPad/Sample Configuration/Inkscape.config index e48fea6..57e8e7e 100644 --- a/ArtPad/Sample Configuration/Rebelle.1.config +++ b/ArtPad/Sample Configuration/Inkscape.config @@ -17,8 +17,8 @@ "Pressed": false }, { - "Name": "Last Br", - "KeyString": "b", + "Name": "Enter", + "KeyString": "~", "Type": 0, "Row": 0, "Col": 3, @@ -26,7 +26,7 @@ }, { "Name": "Zoom-", - "KeyString": "^-", + "KeyString": "-", "Type": 0, "Row": 1, "Col": 1, @@ -34,55 +34,55 @@ }, { "Name": "Zoom+", - "KeyString": "{+}", + "KeyString": "=", "Type": 0, "Row": 1, "Col": 2, "Pressed": false }, { - "Name": "Brush+", - "KeyString": "]", + "Name": "Esc", + "KeyString": "{ESC}", "Type": 0, "Row": 1, "Col": 3, "Pressed": false }, { - "Name": "Save+", - "KeyString": "^%s", + "Name": "Save", + "KeyString": "^s", "Type": 0, "Row": 2, "Col": 1, "Pressed": false }, { - "Name": "Save", - "KeyString": "^s", - "Type": 0, + "Name": "Save As", + "KeyString": "^%s", + "Type": 3, "Row": 2, "Col": 2, "Pressed": false }, { - "Name": "Brush-", - "KeyString": "[", + "Name": "Delete", + "KeyString": "{DEL}", "Type": 0, "Row": 2, "Col": 3, "Pressed": false }, { - "Name": "+ 10", - "KeyString": "{PGUP}", + "Name": "Save As", + "KeyString": "+^s", "Type": 0, "Row": 3, "Col": 1, "Pressed": false }, { - "Name": "+", - "KeyString": "{UP}", + "Name": "Select All", + "KeyString": "^a", "Type": 0, "Row": 3, "Col": 2, @@ -97,16 +97,16 @@ "Pressed": false }, { - "Name": "- 10", - "KeyString": "{PGDN}", + "Name": "Merge", + "KeyString": "^e", "Type": 0, "Row": 4, "Col": 1, "Pressed": false }, { - "Name": "-", - "KeyString": "{DOWN}", + "Name": "Deselect", + "KeyString": "{ESC}", "Type": 0, "Row": 4, "Col": 2, @@ -120,30 +120,6 @@ "Col": 3, "Pressed": false }, - { - "Name": "Clear", - "KeyString": "{DEL}", - "Type": 0, - "Row": 5, - "Col": 1, - "Pressed": false - }, - { - "Name": "OSK", - "KeyString": "\\windows\\system32\\osk.exe", - "Type": 2, - "Row": 5, - "Col": 2, - "Pressed": false - }, - { - "Name": "TabTip", - "KeyString": "\\Program Files\\Common Files\\Microsoft Shared\\ink\\TabTip.exe", - "Type": 2, - "Row": 5, - "Col": 3, - "Pressed": false - }, { "Name": "Shift", "KeyString": "+", @@ -169,63 +145,87 @@ "Pressed": false }, { - "Name": "Esc", - "KeyString": "ESC", + "Name": "1:1", + "KeyString": "1", "Type": 0, "Row": 0, "Col": 0, "Pressed": false }, { - "Name": "Enter", - "KeyString": "~", + "Name": "1:2", + "KeyString": "2", "Type": 0, "Row": 1, "Col": 0, "Pressed": false }, { - "Name": "Deselect", - "KeyString": "^d", + "Name": "Selection", + "KeyString": "3", "Type": 0, "Row": 2, "Col": 0, "Pressed": false }, { - "Name": "", - "KeyString": "", - "Type": 3, + "Name": "Drawing", + "KeyString": "4", + "Type": 0, "Row": 3, "Col": 0, "Pressed": false }, { - "Name": "", - "KeyString": "", - "Type": 3, + "Name": "Page", + "KeyString": "5", + "Type": 0, "Row": 4, "Col": 0, "Pressed": false }, { - "Name": "Fit", - "KeyString": ".", + "Name": "Actual", + "KeyString": "^%0", + "Type": 3, + "Row": 6, + "Col": 0, + "Pressed": false + }, + { + "Name": "Center", + "KeyString": "^4", "Type": 0, "Row": 5, "Col": 0, "Pressed": false }, { - "Name": "", - "KeyString": "", - "Type": 3, - "Row": 6, - "Col": 0, + "Name": "Reset", + "KeyString": "^.", + "Type": 0, + "Row": 5, + "Col": 1, + "Pressed": false + }, + { + "Name": "OSK", + "KeyString": "\\windows\\system32\\osk.exe", + "Type": 2, + "Row": 5, + "Col": 2, + "Pressed": false + }, + { + "Name": "TabTip", + "KeyString": "\\Program Files\\Common Files\\Microsoft Shared\\ink\\TabTip.exe", + "Type": 2, + "Row": 5, + "Col": 3, "Pressed": false } ], - "Size": "540, 350", + "Size": "492, 301", "Rows": 7, "Cols": 4, "FontName": "Microsoft Sans Serif", @@ -237,5 +237,5 @@ "Underline": false }, "FgColorString": "#FFFFFF", - "BgColorString": "#000000" + "BgColorString": "#35373E" } \ No newline at end of file diff --git a/ArtPad/Sample Configuration/Photoshop.config b/ArtPad/Sample Configuration/Photoshop.config index f38e7b5..682ec4e 100644 --- a/ArtPad/Sample Configuration/Photoshop.config +++ b/ArtPad/Sample Configuration/Photoshop.config @@ -73,25 +73,25 @@ "Pressed": false }, { - "Name": "ArtPad", - "KeyString": "ArtPad.exe", - "Type": 2, + "Name": "Deselect", + "KeyString": "^d", + "Type": 0, "Row": 3, "Col": 1, "Pressed": false }, { - "Name": "OSK", - "KeyString": "\\windows\\system32\\osk.exe", - "Type": 2, + "Name": "Select All", + "KeyString": "^a", + "Type": 0, "Row": 3, "Col": 2, "Pressed": false }, { - "Name": "TabTip", - "KeyString": "\\Program Files\\Common Files\\Microsoft Shared\\ink\\TabTip.exe", - "Type": 2, + "Name": "Clear Layer", + "KeyString": "^a^x", + "Type": 0, "Row": 3, "Col": 3, "Pressed": false @@ -124,7 +124,7 @@ "Name": "Ctrl", "KeyString": "^", "Type": 1, - "Row": 5, + "Row": 6, "Col": 1, "Pressed": false }, @@ -132,7 +132,7 @@ "Name": "Shift", "KeyString": "+", "Type": 1, - "Row": 5, + "Row": 6, "Col": 2, "Pressed": false }, @@ -140,7 +140,7 @@ "Name": "Alt", "KeyString": "%", "Type": 1, - "Row": 5, + "Row": 6, "Col": 3, "Pressed": false }, @@ -161,16 +161,16 @@ "Pressed": false }, { - "Name": "", - "KeyString": "", - "Type": 3, + "Name": "Pen", + "KeyString": "P", + "Type": 0, "Row": 2, "Col": 0, "Pressed": false }, { - "Name": "Deselect", - "KeyString": "^d", + "Name": "Path", + "KeyString": "A", "Type": 0, "Row": 3, "Col": 0, @@ -179,22 +179,54 @@ { "Name": "Select All", "KeyString": "^a", - "Type": 0, + "Type": 3, "Row": 4, "Col": 0, "Pressed": false }, { - "Name": "Clear Layer", - "KeyString": "^a^x", + "Name": "ArtPad", + "KeyString": "ArtPad.exe", + "Type": 2, + "Row": 6, + "Col": 0, + "Pressed": false + }, + { + "Name": "Enter", + "KeyString": "~", "Type": 0, "Row": 5, "Col": 0, "Pressed": false + }, + { + "Name": "Esc", + "KeyString": "{ESC}", + "Type": 0, + "Row": 5, + "Col": 1, + "Pressed": false + }, + { + "Name": "OSK", + "KeyString": "\\windows\\system32\\osk.exe", + "Type": 2, + "Row": 5, + "Col": 2, + "Pressed": false + }, + { + "Name": "TabTip", + "KeyString": "\\Program Files\\Common Files\\Microsoft Shared\\ink\\TabTip.exe", + "Type": 2, + "Row": 5, + "Col": 3, + "Pressed": false } ], - "Size": "680, 300", - "Rows": 6, + "Size": "536, 315", + "Rows": 7, "Cols": 4, "FontName": "Microsoft Sans Serif", "FontSize": 8.1, diff --git a/ArtPad/Sample Configuration/Rebelle.config b/ArtPad/Sample Configuration/Rebelle.config index 3a45757..bdc2ad1 100644 --- a/ArtPad/Sample Configuration/Rebelle.config +++ b/ArtPad/Sample Configuration/Rebelle.config @@ -75,46 +75,46 @@ { "Name": "+ 10", "KeyString": "{PGUP}", - "Type": 0, + "Type": 3, "Row": 5, "Col": 1, "Pressed": false }, { - "Name": "+", - "KeyString": "{UP}", + "Name": "Page Up", + "KeyString": "{PGUP}", "Type": 0, "Row": 5, "Col": 2, "Pressed": false }, { - "Name": "Undo", - "KeyString": "^z", + "Name": "Page Dn", + "KeyString": "{PGDN}", "Type": 0, "Row": 5, "Col": 3, "Pressed": false }, { - "Name": "- 10", - "KeyString": "{PGDN}", + "Name": "Pause", + "KeyString": "D", "Type": 0, "Row": 6, "Col": 1, "Pressed": false }, { - "Name": "-", - "KeyString": "{DOWN}", + "Name": "Up", + "KeyString": "{UP}", "Type": 0, "Row": 6, "Col": 2, "Pressed": false }, { - "Name": "Redo", - "KeyString": "+^z", + "Name": "Down", + "KeyString": "{DOWN}", "Type": 0, "Row": 6, "Col": 3, @@ -129,17 +129,17 @@ "Pressed": false }, { - "Name": "OSK", - "KeyString": "\\windows\\system32\\osk.exe", - "Type": 2, + "Name": "Left", + "KeyString": "{LEFT}", + "Type": 0, "Row": 7, "Col": 2, "Pressed": false }, { - "Name": "TabTip", - "KeyString": "\\Program Files\\Common Files\\Microsoft Shared\\ink\\TabTip.exe", - "Type": 2, + "Name": "RIght", + "KeyString": "{RIGHT}", + "Type": 0, "Row": 7, "Col": 3, "Pressed": false @@ -193,23 +193,23 @@ "Pressed": false }, { - "Name": "Fit", - "KeyString": ".", + "Name": "Merge", + "KeyString": "^e", "Type": 0, "Row": 5, "Col": 0, "Pressed": false }, { - "Name": "Pause", - "KeyString": "D", + "Name": "Dup Layer", + "KeyString": "+^D", "Type": 0, "Row": 6, "Col": 0, "Pressed": false }, { - "Name": "Wet Paper", + "Name": "Wet Layer", "KeyString": "+L", "Type": 0, "Row": 7, @@ -217,7 +217,7 @@ "Pressed": false }, { - "Name": "Dry Paper", + "Name": "Dry Layer", "KeyString": "+D", "Type": 0, "Row": 8, @@ -257,39 +257,39 @@ "Pressed": false }, { - "Name": "Up", - "KeyString": "{UP}", + "Name": "Fit", + "KeyString": ".", "Type": 0, "Row": 4, "Col": 0, "Pressed": false }, { - "Name": "Down", - "KeyString": "{DOWN}", + "Name": "Group", + "KeyString": "^g", "Type": 0, "Row": 4, "Col": 1, "Pressed": false }, { - "Name": "Page Up", - "KeyString": "{PGUP}", + "Name": "Redo", + "KeyString": "+^z", "Type": 0, "Row": 4, "Col": 2, "Pressed": false }, { - "Name": "Page Down", - "KeyString": "{PGDN}", + "Name": "Undo", + "KeyString": "^z", "Type": 0, "Row": 4, "Col": 3, "Pressed": false } ], - "Size": "540, 450", + "Size": "488, 450", "Rows": 9, "Cols": 4, "FontName": "Microsoft Sans Serif",