Skip to main content

Module morse

Module morse 

Source
Expand description

Morse key types shared between firmware and protocol layers.

This module contains all morse-related types:

  • MorseMode / MorseProfile — timing and behavior configuration
  • MorsePattern — tap/hold pattern encoding (up to 15 steps in a u16)
  • Morse — full morse key definition (profile + pattern→action map)

Structs§

Morse
Definition of a morse key.
MorsePattern
MorsePattern is a sequence of maximum 15 taps or holds that can be encoded into an u16: 0x1 when empty, then 0 for tap or 1 for hold shifted from the right
MorseProfile
Configuration for morse, tap dance and tap-hold. Manually packed into 64 bits to save RAM.

Enums§

MorseMode
Mode for morse key behavior

Constants§

DOUBLE_TAP
HOLD
HOLD_AFTER_TAP
TAP