summaryrefslogtreecommitdiffstats
path: root/quantum/dynamic_keymap.h
diff options
context:
space:
mode:
authorWilba6582 <Wilba6582@users.noreply.github.com>2018-09-28 06:09:14 +0200
committerJack Humbert <jack.humb@gmail.com>2018-09-28 06:09:14 +0200
commita173eda6d28bd09b2d59448a6532edb7a6c8e358 (patch)
treed8f1f40684eaf4dad48502fc75cd383d53b34011 /quantum/dynamic_keymap.h
parentb382076ad1a6d857b6f185077b5f3635801b4ad6 (diff)
downloadqmk_firmware-a173eda6d28bd09b2d59448a6532edb7a6c8e358.tar.gz
qmk_firmware-a173eda6d28bd09b2d59448a6532edb7a6c8e358.tar.xz
Improved dynamic keymaps (#3972)
* Improved dynamic keymaps * K&R sucks
Diffstat (limited to 'quantum/dynamic_keymap.h')
-rw-r--r--quantum/dynamic_keymap.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/quantum/dynamic_keymap.h b/quantum/dynamic_keymap.h
index b0133aeb8..bd76adae2 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