summaryrefslogtreecommitdiffstats
path: root/quantum/quantum_keycodes.h
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2018-11-06 06:38:18 +0100
committerJack Humbert <jack.humb@gmail.com>2018-11-06 06:38:18 +0100
commit6e44f94f21ef45865eb8820923d4c9c696f08133 (patch)
treed1a0514c9d6205834eb66fa2c91ae4dd361b42f9 /quantum/quantum_keycodes.h
parentf2101cfb6a2270345fe6235d4c36e2e0d49db528 (diff)
downloadqmk_firmware-6e44f94f21ef45865eb8820923d4c9c696f08133.tar.gz
qmk_firmware-6e44f94f21ef45865eb8820923d4c9c696f08133.tar.xz
Add EEPROM_RESET keycode to core code (#4234)
* Add EEPROM Reset keycode * Add keycode to docs * Move EEPROM Reset code to the end of the enum * Cleanup and naming change
Diffstat (limited to 'quantum/quantum_keycodes.h')
-rw-r--r--quantum/quantum_keycodes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h
index 53fece21c..14f8c2b81 100644
--- a/quantum/quantum_keycodes.h
+++ b/quantum/quantum_keycodes.h
@@ -454,6 +454,8 @@ enum quantum_keycodes {
TERM_OFF,
#endif
+ EEPROM_RESET,
+
// always leave at the end
SAFE_RANGE
};
@@ -569,6 +571,8 @@ enum quantum_keycodes {
#define KC_GESC GRAVE_ESC
+#define EEP_RST EEPROM_RESET
+
#define CK_TOGG CLICKY_TOGGLE
#define CK_RST CLICKY_RESET
#define CK_UP CLICKY_UP