Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ondras/macropad

My Adafruit Macropad setup
https://github.com/ondras/macropad

Last synced: about 2 months ago
JSON representation

My Adafruit Macropad setup

Awesome Lists containing this project

README

        

# macropad
My [Adafruit Macropad](https://www.adafruit.com/product/5128) setup. Written in CircuitPython. Clone and copy files to your CircuitPython drive.

## Dependencies

Put these into `lib/`:

```
adafruit_display_shapes/
adafruit_display_text/
adafruit_hid/
adafruit_midi/
asyncio/
adafruit_debouncer.mpy
adafruit_macropad.mpy
adafruit_simple_text_display.mpy
adafruit_ticks.mpy
colorsys.mpy
neopixel.mpy
```

## Features / apps

Switch individual apps by holding button #2 (top-right) and rotating the rotary encoder.

### Desktop

Contains keyboard shortcuts, mostly for `git` workflows. Rotary encoder adjusts volume.

### DaVinci Color

Used for color grading in DaVinci Resolve. Hold modifier keys (Lift / Gamma / Gain / Offset / Saturation) and rotate the rotary encoder. Hold down both a modifier *and* a color key to perform the adjustment on one color channel.

**Note:** There is no API to control DaVinci Resolve. To circumvent this, the macropad acts as an *absolute mouse hid device* and fakes mouse movement; to move individual sliders, this virtual cursor moves to their pre-computed position. This means that the functionality is dependent on:

- screen size (`SCREEN` in `davinci.py`)
- taskbar height (`TASKBAR` in `davinci.py`)
- the willingness of your OS to accept an absolute mouse hid device (tested on W11 only)

### MIDI Tones

Play individual MIDI notes. Rotary encoder adjusts octave. Scales are always C-based; use software (such as [midi-juggler](https://ondras.github.io/midi-juggler/)) to transpose. Top-center button can be used to switch scales:

- harmonic major
- natural minor
- major/minor pentatonic
- major/minor blues hexatonic

### MIDI Chords

Play MIDI chord triads. Rotary encoder adjusts octave.

### Elite: Dangerous

Some useful keyboard shortcuts: FSD, FSS, Galaxy/system map, Ship lights/nightvision, Cold running, Cargo scoop, Landing gear