summaryrefslogtreecommitdiff
path: root/common/keymap.c
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2015-03-20 13:36:13 -0400
committerJack Humbert <jack.humb@gmail.com>2015-03-20 13:36:13 -0400
commit708f95a472327e25355b28899fbd13d89f6925f5 (patch)
treec6da0ee979f357001d1c30ae4f8579e1e7427e30 /common/keymap.c
parentafa0f9d0aa08c7476bd63f3a478a6ea849b96e05 (diff)
working extended keymap
Diffstat (limited to 'common/keymap.c')
-rw-r--r--common/keymap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/keymap.c b/common/keymap.c
index 4c0b61b8c1..7b77972261 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)
{