A derivative of the Macropad Hotkeys example from the Adafruit Learning System Guide.
- Uses derived code from deckerego/Macropad_Hotkeys
- Raspberry Pico W
- 0.96in OLED Display i2c
- x12 switches
- x2 rotary encoder
- Switches
- GP1-12
- Rotary Switches
- GP16-17
- Rotary Encoder
- GP18-21
- Display
- GP26-27
https://wokwi.com/projects/401759947924623361
- Derivative of Adafruit Macropad Hardware and Software
- Used [deckerego/Macropad_Hotkeys] repo as basis for cleaned up files
- Used SSD1306 displayio driver
- No speaker, no RGB
- +1 Rotary encoder
The macros/
folder has a list of macro templates to chose from, all of which
can be altered at your whim. Example implementation is provided at sd/_template.py_
.
Note that each has a list of settings, including:
- The name that will show at the top of the OLED display
- The sequential order that it will be shown when rotating the encoder dial
- A list of macros, sorted by row
Each macro consists of a label to appear on the OLED display, and a sequence of keys. A "key" can be text, a keyboard key, a consumer control key (like play/pause), a mouse action, or a MIDI note. More than one key can be specified in a sequence and potentially a custom command/program that you can execute.
First make sure that your Macropad has the latest version of CircuitPython installed. See https://learn.adafruit.com/adafruit-macropad-rp2040/circuitpython for instructions on how to update the Macropad to have the latest version of CircuitPython.
When installing Nekopad Hotkeys for the first time, extract the files from this repository to your Pico.