We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
zmk_keymap_layer_label
zmk_keymap_layer_name
1 parent 4e312e7 commit 55cfac2Copy full SHA for 55cfac2
config/boards/helloword/hw75_keyboard/app/uart_comm/report/report_fn_state.c
@@ -30,7 +30,7 @@ static int report_fn_state_event_listener(const zmk_event_t *eh)
30
{
31
if (as_zmk_layer_state_changed(eh)) {
32
uint8_t index = zmk_keymap_highest_layer_active();
33
- bool current = strncmp(zmk_keymap_layer_label(index), "FN", 2) == 0;
+ bool current = strncmp(zmk_keymap_layer_name(index), "FN", 2) == 0;
34
if (!fn_pressed && current) {
35
report_fn_state_changed(true);
36
} else if (fn_pressed && !current) {
0 commit comments