diff options
Diffstat (limited to 'quantum/keymap.h')
-rw-r--r-- | quantum/keymap.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/quantum/keymap.h b/quantum/keymap.h index 6520485f7..191e81397 100644 --- a/quantum/keymap.h +++ b/quantum/keymap.h | |||
@@ -33,7 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
33 | // #include "print.h" | 33 | // #include "print.h" |
34 | #include "debug.h" | 34 | #include "debug.h" |
35 | #include "keycode_config.h" | 35 | #include "keycode_config.h" |
36 | #include "keymap_common.h" | ||
37 | 36 | ||
38 | // ChibiOS uses RESET in its FlagStatus enumeration | 37 | // ChibiOS uses RESET in its FlagStatus enumeration |
39 | // Therefore define it as QK_RESET here, to avoid name collision | 38 | // Therefore define it as QK_RESET here, to avoid name collision |
@@ -47,6 +46,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
47 | 46 | ||
48 | #include "quantum_keycodes.h" | 47 | #include "quantum_keycodes.h" |
49 | 48 | ||
49 | // translates key to keycode | ||
50 | uint16_t keymap_key_to_keycode(uint8_t layer, keypos_t key); | ||
51 | |||
50 | // translates function id to action | 52 | // translates function id to action |
51 | uint16_t keymap_function_id_to_action(uint16_t function_id); | 53 | uint16_t keymap_function_id_to_action(uint16_t function_id); |
52 | 54 | ||