Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.17 KB

README.md

File metadata and controls

25 lines (17 loc) · 1.17 KB

Macropad RP2040 with multiple keymaps

Designed for use with Adafruit's Macropad RP2040: https://www.adafruit.com/product/5128

Requirements:

  • CircuitPython 7.0.0-alpha.3 or later
  • neopixel
  • adafruit_displayio_sh1106
  • adafruit_hid
  • adafruit_bus_device
  • adafruit_display_text

Mulitple keymaps

Multiple key maps are stored in keymaps.py as Python dictionaries containing tuples of (macro,description). Either string, Keycodes, or lists of Keycodes are supported. Even if there is no macro or name for a given key, a blank entry needs to exist for proper parsing.

The keymaps can be cycled through by holding down the rotary encoder while turning. The display will update with the name of the current keymap and the key descriptions

Images