summaryrefslogtreecommitdiffstats
path: root/common/bootmagic.h
diff options
context:
space:
mode:
authorShayne Holmes <simon.snth@xoxy.net>2014-04-10 00:54:16 +0200
committerShayne Holmes <simon.snth@xoxy.net>2014-04-10 00:54:16 +0200
commite5bafff725f7b9cbfc364e64c74ea7f68bfc9900 (patch)
treea83f4e5b6b181f2aed5b12b12f10ba43972aef64 /common/bootmagic.h
parent894a387d1fd8c823b5339e524e1f9336601ce2ef (diff)
downloadqmk_firmware-e5bafff725f7b9cbfc364e64c74ea7f68bfc9900.tar.gz
qmk_firmware-e5bafff725f7b9cbfc364e64c74ea7f68bfc9900.tar.xz
Adding NKRO virtual dip-switch, using existing bit in keymap byte.
This takes the last, reserved bit there, but doesn't necessitate a revision to the magic number because it doesn't alter byte order. Add reference to NKRO virtual dip-switch to documentation.
Diffstat (limited to 'common/bootmagic.h')
-rw-r--r--common/bootmagic.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/bootmagic.h b/common/bootmagic.h
index 7c1922397..8f6618f4b 100644
--- a/common/bootmagic.h
+++ b/common/bootmagic.h
@@ -60,6 +60,9 @@
#ifndef BOOTMAGIC_KEY_SWAP_BACKSLASH_BACKSPACE
#define BOOTMAGIC_KEY_SWAP_BACKSLASH_BACKSPACE KC_BSLASH
#endif
+#ifndef BOOTMAGIC_HOST_NKRO
+#define BOOTMAGIC_HOST_NKRO KC_N
+#endif
/*