Hint

Refer to QMK’s documentation for details on how to use community modules

glitch_text

API to draw glitch text on QP screens.

type callback_fn_t
[source]

Callback function for each step of the animation.

int glitch_text_start(const glitch_text_config_t *config, const char *str)
[source]

Start glitch animation targeting the given text. For each frame, callback gets invoked with the text to be rendered

Attention

Text can be at most 64 chars long.

Return: Error code
  • 0: Color was found, and assigned into pointer.

  • -EINVAL: Invalid input.