Add layout change callbacks to VIA (#16087)

* Add layout change callbacks to VIA

* Update worklouder example
This commit is contained in:
Drashna Jaelre
2022-02-06 14:01:04 -08:00
committed by GitHub
parent 3b60e71f07
commit 9124f5dc2d
3 changed files with 12 additions and 7 deletions

View File

@@ -159,6 +159,7 @@ void via_init(void);
// Used by VIA to store and retrieve the layout options.
uint32_t via_get_layout_options(void);
void via_set_layout_options(uint32_t value);
void via_set_layout_options_kb(uint32_t value);
// Called by QMK core to process VIA-specific keycodes.
bool process_record_via(uint16_t keycode, keyrecord_t *record);