Adafruit MacroPad Stand

I recently bought an Adafruit Macropad to make my inkscaping more efficient. I wanted to give it a bit of a lift to make it ergonomic and to allow me to read the display without having to lean over it. Here is what I came up with…

Macropad Stand





29 Likes

Hey, that’s pretty handy!

2 Likes

No idea what a Adafruit Macropad is :joy: but that is AWESOME! (Running to Google now…) :blush:

3 Likes

There’s a bit of set up with it but they have a guide to walk you through the basics. I’m using it for the macro functionality but it’s capable of way much more.

1 Like

Adafruit totally deserves a link for the MacroPad. :grinning:

6 Likes

You are quite correct. Forgive my oversight and thank you for doing the deed.

2 Likes

That’s nice, maybe post your set up for Inkscape? I don’t think that is too far afield as there is a bunch of us who use it.
I don’t have this one, yet, but I do ancillary keyboards galore.

1 Like

Very nice! I was looking to make one from scratch, but the kit makes it lot easier to source the parts.

Here ya go…

# MACROPAD Hotkeys example
from adafruit_hid.keycode import Keycode # REQUIRED if using Keycode.* values

app = {                         # REQUIRED dict, must be named 'app'
    'name' : 'Inkscape', # Application name
    'macros' : [                # List of button macros...
        # COLOR    LABEL    KEY SEQUENCE
        # 1st row ----------
        (0x400000, 'Undo', [Keycode.CONTROL, 'z']), # Undo Last Action
        (0x000040, 'Select', 's'),  # Select Tool
        (0x202000, 'ToPath', [Keycode.SHIFT, Keycode.CONTROL, 'c']),     # Object to path
        # 2nd row ----------
        (0x004000, 'Redo', [Keycode.SHIFT, Keycode.CONTROL, 'Z']), # Redo Last action
        (0x000040, 'Node', 'n'), # Node Tool
        (0x000040, 'Rect', 'r'),    # Rectangle Tool
        # 3rd row ----------
        (0x400000, 'Ungrp', [Keycode.SHIFT, Keycode.CONTROL, 'g']),  # UnGroup Selection
        (0x400000, 'Break', [Keycode.SHIFT, Keycode.CONTROL, 'k']),  # Break Apart Selection
        (0x000040, 'Circle', 'e'),    # Draw Circle
        # 4th row ----------
        (0x004000, 'group', [Keycode.CONTROL, 'g']),  # Group Selection
        (0x004000, 'Combin', [Keycode.CONTROL, 'k']),   # Combine Selection
        (0x000040, 'Text', 't'),    # Text tool
        # Encoder button ---
        (0x000000, '', [Keycode.CONTROL, 's']) # Save
    ]
}

4 Likes

thanks,
I’ll definitely deconstruct this.

1 Like

That’s just the macro file there is accompanying code that runs on the root of the device that is required to process the macro code.

1 Like

Most cool, thanks for sharing!

1 Like

Cool! Thank you!