You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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:
The text was updated successfully, but these errors were encountered: