diff options
author | Jack Humbert <jack.humb@gmail.com> | 2015-03-20 18:36:13 +0100 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2015-03-20 18:36:13 +0100 |
commit | 708f95a472327e25355b28899fbd13d89f6925f5 (patch) | |
tree | c6da0ee979f357001d1c30ae4f8579e1e7427e30 /common/keymap.c | |
parent | afa0f9d0aa08c7476bd63f3a478a6ea849b96e05 (diff) | |
download | qmk_firmware-708f95a472327e25355b28899fbd13d89f6925f5.tar.gz qmk_firmware-708f95a472327e25355b28899fbd13d89f6925f5.tar.xz |
working extended keymap
Diffstat (limited to 'common/keymap.c')
-rw-r--r-- | common/keymap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/keymap.c b/common/keymap.c index 4c0b61b8c..7b7797226 100644 --- a/common/keymap.c +++ b/common/keymap.c @@ -27,6 +27,7 @@ static action_t keycode_to_action(uint8_t keycode); /* converts key to action */ +__attribute__ ((weak)) action_t action_for_key(uint8_t layer, keypos_t key) { uint8_t keycode = keymap_key_to_keycode(layer, key); @@ -117,8 +118,6 @@ void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) { } - - /* translates keycode to action */ static action_t keycode_to_action(uint8_t keycode) { |