From 9bc82bf61c342ca96e6f942b169b7c88b6bf95cf Mon Sep 17 00:00:00 2001 From: tmk Date: Wed, 13 Feb 2013 11:47:19 +0900 Subject: Change action API --- keyboard/gh60/keymap.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'keyboard/gh60/keymap.c') diff --git a/keyboard/gh60/keymap.c b/keyboard/gh60/keymap.c index d2da50529..9cef2137b 100644 --- a/keyboard/gh60/keymap.c +++ b/keyboard/gh60/keymap.c @@ -181,11 +181,8 @@ action_t keymap_fn_to_action(uint8_t keycode) } /* convert key to action */ -action_t keymap_get_action(uint8_t layer, uint8_t row, uint8_t col) +action_t action_for_key(uint8_t layer, key_t key) { - key_t key; - key.pos.row = row; - key.pos.col = col; uint8_t keycode = keymap_key_to_keycode(layer, key); switch (keycode) { case KC_FN0 ... KC_FN31: -- cgit v1.2.3-24-g4f1b