summaryrefslogtreecommitdiffstats
path: root/common/keymap.c
diff options
context:
space:
mode:
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)
{