summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoderkun <olli@coderkun.de>2016-10-02 10:35:09 +0200
committercoderkun <olli@coderkun.de>2016-10-02 10:37:51 +0200
commita3f5a4cf5839fe29dd37400d72c5e353812002f8 (patch)
tree46396ec860232457d70dbcc0c202c0f09650e4ec
parent35e6870e5c8943c044187256e01c96ef400ca067 (diff)
Declare Unicode method hex_to_keycode() as “weak”
Declare Unicode method hex_to_keycode() as “weak” to be able to override it in keymaps.
-rw-r--r--quantum/process_keycode/process_unicode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/quantum/process_keycode/process_unicode.c b/quantum/process_keycode/process_unicode.c
index a5d7dca21e..6a30afe293 100644
--- a/quantum/process_keycode/process_unicode.c
+++ b/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) {