Skip to content

aniketkatkar/M5Cardputer-Macro-Keypad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

M5Cardputer USB Macro Keypad

Transform your M5Cardputer into a plug-and-play USB macro keypad with scrollable macro list and visual feedback.

Screenshots

Main screen

Features

  • 16 Custom Macros (a-h, 1-5) with rich text display

  • Scrollable List (; = Up, . = Down)

  • Live Feedback shows last sent macro

  • Special Actions (Ctrl+C, New Google Tab)

  • Backspace/Enter support

  • Full Canvas UI with scroll bar

Hardware Setup

  • Connect M5Cardputer to laptop via USB-C
  • No pairing needed - instant recognition as HID keyboard
  • Press any key to test

Software Requirements

Arduino IDE 2.x ESP32 Board Package: 3.x.x Libraries (Library Manager):

  • M5Cardputer (latest)
  • No BLE libraries needed Board: M5Stack → M5Cardputer

Key Bindings

  • Scroll: ; (UP) . (DOWN)
  • Macros: a b c d e f g h 1 2 3 4 5
  • Special: Enter

Macro List

Key Action
a Hello World!
b Git commit -m
c TODO:
d Date:
e COPY (Ctrl+C)
f NEW TAB (Google)
g Good morning team
h Help Docs
1 Priority HIGH
2 Priority LOW
3 Review Needed
4 Internal Only
5 Draft Version

Installation

text

  1. Open code in Arduino IDE
  2. Select M5Cardputer board
  3. Upload (device in download mode: Power OFF + hold G0 + USB)
  4. Plug into laptop - ready!

Customization

cpp

// Add your macros
const char* macros[] = {
  "a:Hello World!", 
  "b:Git commit -m ", 
  "c:TODO: ", 
  "d:Date: "
};

Troubleshooting

❌ No response: Check USB cable (data, not charge-only)

❌ Won't compile: Downgrade to ESP32 core 2.0.11 + restart IDE

❌ Scroll not working: Try ' or / keys instead of ;/.

❓ Customize: Edit macros[] array + reflash

Ready in 30 seconds - perfect for developers, support teams, and power users!

About

Transform your M5Cardputer into a plug-and-play USB macro keypad with scrollable macro list and visual feedback.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages