diff options
Diffstat (limited to 'common/keymap.c')
| -rw-r--r-- | common/keymap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/keymap.c b/common/keymap.c index bfb8ffac1..0df2e2edf 100644 --- a/common/keymap.c +++ b/common/keymap.c | |||
| @@ -28,7 +28,7 @@ static action_t keycode_to_action(uint8_t keycode); | |||
| 28 | 28 | ||
| 29 | 29 | ||
| 30 | /* converts key to action */ | 30 | /* converts key to action */ |
| 31 | action_t action_for_key(uint8_t layer, key_t key) | 31 | action_t action_for_key(uint8_t layer, keypos_t key) |
| 32 | { | 32 | { |
| 33 | uint8_t keycode = keymap_key_to_keycode(layer, key); | 33 | uint8_t keycode = keymap_key_to_keycode(layer, key); |
| 34 | switch (keycode) { | 34 | switch (keycode) { |
| @@ -156,7 +156,7 @@ static action_t keycode_to_action(uint8_t keycode) | |||
| 156 | * Consider using new keymap API instead. | 156 | * Consider using new keymap API instead. |
| 157 | */ | 157 | */ |
| 158 | __attribute__ ((weak)) | 158 | __attribute__ ((weak)) |
| 159 | uint8_t keymap_key_to_keycode(uint8_t layer, key_t key) | 159 | uint8_t keymap_key_to_keycode(uint8_t layer, keypos_t key) |
| 160 | { | 160 | { |
| 161 | return keymap_get_keycode(layer, key.row, key.col); | 161 | return keymap_get_keycode(layer, key.row, key.col); |
| 162 | } | 162 | } |
