summaryrefslogtreecommitdiff
path: root/common/bootmagic.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-07-24 00:41:28 +0900
committertmk <nobody@nowhere>2013-07-24 00:41:28 +0900
commit05225dd9d8b666fec75ff5f1824f82fdfe7c0a77 (patch)
tree5812fd31a0c58c74d252bb638a736ee133cfa7c0 /common/bootmagic.h
parent7e5081b5a8f2c6e0c3c8d2dc73717c0b3597ef84 (diff)
downloadqmk_firmware-05225dd9d8b666fec75ff5f1824f82fdfe7c0a77.tar.gz
qmk_firmware-05225dd9d8b666fec75ff5f1824f82fdfe7c0a77.zip
Add bootmagic salt key to avoid accidental configuration
Diffstat (limited to 'common/bootmagic.h')
-rw-r--r--common/bootmagic.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/bootmagic.h b/common/bootmagic.h
index 68935e9706..2d14b3e763 100644
--- a/common/bootmagic.h
+++ b/common/bootmagic.h
@@ -2,6 +2,12 @@
#define BOOTMAGIC_H
+/* bootmagic salt key */
+#ifndef BOOTMAGIC_KEY_SALT
+#define BOOTMAGIC_KEY_SALT KC_SPACE
+#endif
+
+/* skip bootmagic and eeconfig */
#ifndef BOOTMAGIC_KEY_SKIP
#define BOOTMAGIC_KEY_SKIP KC_ESC
#endif