diff options
author | Wilba6582 <[email protected]> | 2018-09-28 14:09:14 +1000 |
---|---|---|
committer | Jack Humbert <[email protected]> | 2018-09-28 00:09:14 -0400 |
commit | a173eda6d28bd09b2d59448a6532edb7a6c8e358 (patch) | |
tree | d8f1f40684eaf4dad48502fc75cd383d53b34011 /quantum/dynamic_keymap.h | |
parent | b382076ad1a6d857b6f185077b5f3635801b4ad6 (diff) | |
download | qmk_firmware-a173eda6d28bd09b2d59448a6532edb7a6c8e358.tar.gz qmk_firmware-a173eda6d28bd09b2d59448a6532edb7a6c8e358.zip |
Improved dynamic keymaps (#3972)
* Improved dynamic keymaps
* K&R sucks
Diffstat (limited to 'quantum/dynamic_keymap.h')
-rw-r--r-- | quantum/dynamic_keymap.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/quantum/dynamic_keymap.h b/quantum/dynamic_keymap.h index b0133aeb85..bd76adae20 100644 --- a/quantum/dynamic_keymap.h +++ b/quantum/dynamic_keymap.h @@ -13,9 +13,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ - -#ifndef DYNAMIC_KEYMAP_H -#define DYNAMIC_KEYMAP_H +#pragma once #include <stdint.h> #include <stdbool.h> @@ -23,9 +21,8 @@ void *dynamic_keymap_key_to_eeprom_address(uint8_t layer, uint8_t row, uint8_t column); uint16_t dynamic_keymap_get_keycode(uint8_t layer, uint8_t row, uint8_t column); void dynamic_keymap_set_keycode(uint8_t layer, uint8_t row, uint8_t column, uint16_t keycode); -void dynamic_keymap_clear_all(void); +void dynamic_keymap_reset(void); // This overrides the one in quantum/keymap_common.c // uint16_t keymap_key_to_keycode(uint8_t layer, keypos_t key); -#endif //DYNAMIC_KEYMAP_H |