소스 검색

Declare Unicode method hex_to_keycode() as “weak”

Declare Unicode method hex_to_keycode() as “weak” to be able to override it in keymaps.
coderkun 8 년 전
부모
커밋
a3f5a4cf58
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      quantum/process_keycode/process_unicode.c

+ 1 - 0
quantum/process_keycode/process_unicode.c

@@ -2,6 +2,7 @@
 
 static uint8_t input_mode;
 
+__attribute__((weak))
 uint16_t hex_to_keycode(uint8_t hex)
 {
   if (hex == 0x0) {