Open adrase opened 7 months ago
This is more of a question for the QMK community than me... but anyway. What happens when you only define one layer?
Basically, simplify your keymap until you no longer find the issue, then start adding features back in one by one.
I've never run into an issue like this on a healthy dumbpad.
Probably you are right I must have messed something. Anyway, I found solution. Maybe not pretty but it works. I added to my keymap this:
layer_state_t layer_state_set_user(layer_state_t state) {
switch (get_highest_layer(state)) {
case _BASE:
if (!host_keyboard_led_state().num_lock) {
tap_code16(KC_NUM);
}
break;
default: // for any other layers, or the default layer
if (!host_keyboard_led_state().num_lock) {
tap_code16(KC_NUM);
}
break;
}
return state;
}
Ok, this drive me crazy. What should be done to not have enabled numpad? I've got two layers and first one is always replaced with numpad. After I plug keyboard I have arrows, pgup, pgdn, ins etc on first layer but not digits and not what I specified in keymap. Also first led is on.
Second layer works ok. I work on Ubuntu 22.04 What and where should I change in order to have base layer specified by me and not numpad? Thanks.
Here is my keymap: