M5Unit - KEYBOARD

Overview

Library for KEYBOARD using M5UnitUnified.
M5UnitUnified is a library for unified handling of various M5 units products.

SKU:U035-B

CardKB v1.1 is a card-size '50 key' QWERTY keyboard. Adopts ATMega8A as the MCU, communication port I2C, and one 'RGB-LED' indicator.

SKU:A003

QWERTY is a full-featured keyboard panel adapted to FACE_BOTTOM. There are 35 keys in total, and each key can be multiplexed by combination keys to output different characters.

SKU:U215

Unit CardKB2 is a card-sized 42-key portable keyboard input unit. Its compact and lightweight form factor makes it ideal for on-the-go use and embedded integration.

See also examples using conventional methods here.

Required Libraries:

License

Examples

See also examples/UnitUnified

For ArduinoIDE settings

You must choose a define symbol for the unit you will use.
(Rewrite source or specify with compile options)

// PlotToSerial.ino, SimpleDisplay.ino
// *************************************************************
// Choose one define symbol to match the unit you are using
// *************************************************************
#if !defined(USING_UNIT_CARDKB) && !defined(USING_UNIT_CARDKB2) && !defined(USING_UNIT_FACES_QWERTY)
// For CardKB
// #define USING_UNIT_CARDKB
// For CardKB2
// #define USING_UNIT_CARDKB2
#if defined(USING_UNIT_CARDKB2)
// Choose one communication mode for CardKB2
// For I2C
// #define USING_I2C_FOR_CARDKB2
// For UART
// #define USING_UART_FOR_CARDKB2
#endif
// For FacesQWERTY
// #define USING_UNIT_FACES_QWERTY
#endif
// *************************************************************

New firmware (CardKB / FacesQWERTY)

See also examples/firmware

When this firmware is applied to CardKB or FacesQWERTY, the operating feel is very different.

  • Bitwise key state tracking — detects all keys simultaneously
  • Per-key press, hold, release, and repeat detection
  • Individual modifier key state (Shift, Sym, Fn)
  • Configurable hold and repeat thresholds

Doxygen document

GitHub Pages

If you want to generate documents on your local machine, execute the following command

bash docs/doxy.sh

It will output it under docs/html
If you want to output Git commit hashes to html, do it for the git cloned folder.

Required

S
Description
No description provided
Readme MIT 531 KiB
Languages
C++ 99.7%
C 0.3%