Thanks to visit codestin.com
Credit goes to github.com

Skip to content

byanthny/macropad-rp2040

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RP2040 Macropad w/ Rust (Adafruit Kit) [use at your own risk]

adafruit macropad rp2040 kit programmed with rust

Setup

...rust setup

  1. Build project with:
cargo build
  1. Put the RP2040 into bootloader mode.
  2. Flash macropad with:
cargo run --release

Features

Rotary Encoder

  • Encoder: Volume Control [not implemented]
  • Switch: Toggle between brightness modes [not implemented]

Keys

  1. A
  2. Pause/Play
  3. Skip
  4. Reject (lightroom)
  5. Unflagged (lightroom)
  6. Pick (lightroom)

TODO (no order)

  • Reintroduce previous features Figure out useful keys
  • Add rotary encoder functionality
  • Add LED support
  • Add OLED display support
  • Explore profiles and switching key mappings
  • Clean up project
  • Use Enums or Trait Objects

Notes & Bugs

  • usbd_hid crate was giving me issues with keyboard input not being recognized, used usbd-human-interface-device instead

Resources