Update kemonine tidbit keymap to tweak numlock status to fix bug
This commit is contained in:
parent
b945108001
commit
a7b69154c6
|
@ -158,10 +158,10 @@ layer_state_t layer_state_set_user(layer_state_t state) {
|
|||
rgblight_set_layer_state(0, layer_state_cmp(state, 0));
|
||||
switch (get_highest_layer(state)) {
|
||||
case 1:
|
||||
register_code(KC_NLCK);
|
||||
tap_code(KC_NLCK);
|
||||
break;
|
||||
case 0:
|
||||
unregister_code(KC_NLCK);
|
||||
tap_code(KC_NLCK);
|
||||
break;
|
||||
}
|
||||
return state;
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1 +1 @@
|
|||
MOUSEKEY_ENABLE = yes
|
||||
MOUSEKEY_ENABLE = yes
|
||||
|
|
|
@ -158,10 +158,10 @@ layer_state_t layer_state_set_user(layer_state_t state) {
|
|||
rgblight_set_layer_state(0, layer_state_cmp(state, 0));
|
||||
switch (get_highest_layer(state)) {
|
||||
case 1:
|
||||
register_code(KC_NLCK);
|
||||
tap_code(KC_NLCK);
|
||||
break;
|
||||
case 0:
|
||||
unregister_code(KC_NLCK);
|
||||
tap_code(KC_NLCK);
|
||||
break;
|
||||
}
|
||||
return state;
|
||||
|
|
|
@ -27,6 +27,8 @@
|
|||
&none &kp KP_NUMBER_0 &kp KP_DOT &kp KP_ENTER
|
||||
>;
|
||||
|
||||
layer-bindings = <&layer_rgb RGB_BLUE &layer_lock NUMLOCK>;
|
||||
|
||||
sensor-bindings = <&inc_dec_kp K_VOLUME_UP K_VOLUME_DOWN>;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue