浏览代码

Fix intermittent flashing of LED when typing quickly

master
Dejvino 6 个月前
父节点
当前提交
5b697beacb
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. +5
    -0
      keymap/keymap.c

+ 5
- 0
keymap/keymap.c 查看文件

@@ -153,6 +153,11 @@ int capslock = 0;
int numlock = 0;

bool led_update_user(led_t led_state) {
// Following disables the default LED indicators:
return false;
}

bool led_update_kb(led_t led_state) {
numlock = led_state.num_lock;
capslock = led_state.caps_lock;
// Following disables the default LED indicators:


正在加载...
取消
保存