diff --git a/Macropad_Hotkeys/macros/win-adobe-illustrator.py b/Macropad_Hotkeys/macros/win-adobe-illustrator.py new file mode 100755 index 000000000..39c3b40db --- /dev/null +++ b/Macropad_Hotkeys/macros/win-adobe-illustrator.py @@ -0,0 +1,29 @@ +# MACROPAD Hotkeys example: Adobe Illustrator for Windows + +from adafruit_hid.keycode import Keycode # REQUIRED if using Keycode.* values + +app = { # REQUIRED dict, must be named 'app' + 'name' : 'Illustrator', # Application name + 'macros' : [ # List of button macros... + # COLOR LABEL KEY SEQUENCE + # 1st row ---------- + (0x004000, 'Undo', [Keycode.CONTROL, 'z']), + (0x004000, 'Redo', [Keycode.CONTROL, 'Z']), + (0x303000, 'Pen', 'p'), # Path-drawing tool + # 2nd row ---------- + + (0x101010, 'Select', 'v'), # Select (path) + (0x400000, 'Reflect', 'o'), # Reflect selection + (0x303000, 'Rect', 'm'), # Draw rectangle + # 3rd row ---------- + (0x101010, 'Direct', 'a'), # Direct (point) selection + (0x400000, 'Rotate', 'r'), # Rotate selection + (0x303000, 'Oval', 'l'), # Draw ellipse + # 4th row ---------- + (0x101010, 'Eyedrop', 'i'), # Cycle eyedropper/measure modes + (0x400000, 'Scale', 's'), # Scale selection + (0x303000, 'Text', 't'), # Type tool + # Encoder button --- + (0x000000, '', [Keycode.CONTROL, Keycode.ALT, 'S']) # Save for web + ] +} diff --git a/Macropad_Hotkeys/macros/win-adobe-photoshop.py b/Macropad_Hotkeys/macros/win-adobe-photoshop.py new file mode 100755 index 000000000..20dd9f055 --- /dev/null +++ b/Macropad_Hotkeys/macros/win-adobe-photoshop.py @@ -0,0 +1,28 @@ +# MACROPAD Hotkeys example: Adobe Photoshop for Windows + +from adafruit_hid.keycode import Keycode # REQUIRED if using Keycode.* values + +app = { # REQUIRED dict, must be named 'app' + 'name' : 'Photoshop', # Application name + 'macros' : [ # List of button macros... + # COLOR LABEL KEY SEQUENCE + # 1st row ---------- + (0x004000, 'Undo', [Keycode.CONTROL, 'z']), + (0x004000, 'Redo', [Keycode.CONTROL, 'Z']), + (0x000040, 'Brush', 'B'), # Cycle brush modes + # 2nd row ---------- + (0x101010, 'B&W', 'd'), # Default colors + (0x101010, 'Marquee', 'M'), # Cycle rect/ellipse marquee (select) + (0x000040, 'Eraser', 'E'), # Cycle eraser modes + # 3rd row ---------- + (0x101010, 'Swap', 'x'), # Swap foreground/background colors + (0x101010, 'Move', 'v'), # Move layer + (0x000040, 'Fill', 'G'), # Cycle fill/gradient modes + # 4th row ---------- + (0x101010, 'Eyedrop', 'I'), # Cycle eyedropper/measure modes + (0x101010, 'Wand', 'W'), # Cycle "magic wand" (selection) modes + (0x000040, 'Heal', 'J'), # Cycle "healing" modes + # Encoder button --- + (0x000000, '', [Keycode.CONTROL, Keycode.ALT, 'S']) # Save for web + ] +}