Transform your M5Cardputer into a plug-and-play USB macro keypad with scrollable macro list and visual feedback.
-
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
- Connect M5Cardputer to laptop via USB-C
- No pairing needed - instant recognition as HID keyboard
- Press any key to test
Arduino IDE 2.x ESP32 Board Package: 3.x.x Libraries (Library Manager):
- M5Cardputer (latest)
- No BLE libraries needed Board: M5Stack → M5Cardputer
- Scroll: ; (UP) . (DOWN)
- Macros: a b c d e f g h 1 2 3 4 5
- Special: Enter
| 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 |
text
- Open code in Arduino IDE
- Select M5Cardputer board
- Upload (device in download mode: Power OFF + hold G0 + USB)
- Plug into laptop - ready!
cpp
// Add your macros
const char* macros[] = {
"a:Hello World!",
"b:Git commit -m ",
"c:TODO: ",
"d:Date: "
};
❌ 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!
