Declare Unicode method hex_to_keycode() as “weak”

Declare Unicode method hex_to_keycode() as “weak” to be able to override it in keymaps.
example_keyboards
coderkun 8 years ago
parent 35e6870e5c
commit a3f5a4cf58

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

Loading…
Cancel
Save