elpekenin.c

This file uses a bit of magic to invoke initializer and finalizer functions on QMK.

They are stored in special linker sections. See elpekenin/utils/sections.h for details.

void keyboard_pre_init_user(void)
[source]

Iterate the pre_init linker section, executing all functions put into it (initializers).

Then, call keyboard_pre_init_keymap() for keymap.c-level extensions.

void keyboard_post_init_user(void)
[source]

First, check if previous execution crashed, printing traceback.

Then, call keyboard_post_init_keymap() for keymap.c-level extensions.

Finally, iterate the post_init linker section, executing all functions put into it (initializers).

bool shutdown_user(bool jump_to_bootloader)
[source]
Call shutdown_keymap() for keymap.c-level customization

If it returns false, this function will exit.

Next, iterate the deinit linker section, executing all functions put into it (finalizers).