diff options
author | Joel Challis <[email protected]> | 2023-03-03 11:26:53 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2023-03-03 11:26:53 +0000 |
commit | c3c40dfda89d3d10bef90e08bf0600d1f4b1cd0e (patch) | |
tree | af56ac135031e01b1e657dbd35dc0dbf59d72bab /quantum/keymap_common.h | |
parent | 6676cc194228421a63b4d5922785b086bce8a46b (diff) | |
download | qmk_firmware-c3c40dfda89d3d10bef90e08bf0600d1f4b1cd0e.tar.gz qmk_firmware-c3c40dfda89d3d10bef90e08bf0600d1f4b1cd0e.zip |
Remove some use of keymap.h (#19980)
Diffstat (limited to 'quantum/keymap_common.h')
-rw-r--r-- | quantum/keymap_common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/quantum/keymap_common.h b/quantum/keymap_common.h new file mode 100644 index 0000000000..24fe9af6fe --- /dev/null +++ b/quantum/keymap_common.h @@ -0,0 +1,7 @@ +// Copyright 2023 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +// translates key to keycode +uint16_t keymap_key_to_keycode(uint8_t layer, keypos_t key); |