浏览代码

Required overridden function for keymaps in EEPROM

Wilba6582 7 年之前
父节点
当前提交
baae936b47
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      quantum/keymap_common.c

+ 1 - 0
quantum/keymap_common.c

@@ -169,6 +169,7 @@ void action_function(keyrecord_t *record, uint8_t id, uint8_t opt)
 }
 
 // translates key to keycode
+__attribute__ ((weak))
 uint16_t keymap_key_to_keycode(uint8_t layer, keypos_t key)
 {
     // Read entire word (16bits)