]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Declare Unicode method hex_to_keycode() as “weak”
authorcoderkun <olli@coderkun.de>
Sun, 2 Oct 2016 08:35:09 +0000 (10:35 +0200)
committercoderkun <olli@coderkun.de>
Sun, 2 Oct 2016 08:37:51 +0000 (10:37 +0200)
Declare Unicode method hex_to_keycode() as “weak” to be able to override it in keymaps.

quantum/process_keycode/process_unicode.c

index a5d7dca21eeb2fe145ba34c717dc0b98a341642e..6a30afe2933125f034f0eb3779a16ddf374f1704 100644 (file)
@@ -2,6 +2,7 @@
 
 static uint8_t input_mode;
 
+__attribute__((weak))
 uint16_t hex_to_keycode(uint8_t hex)
 {
   if (hex == 0x0) {