aboutsummaryrefslogtreecommitdiffstats
path: root/common/eeconfig.h
diff options
context:
space:
mode:
authorShayne Holmes <simon.snth@xoxy.net>2014-04-09 15:54:16 -0700
committerShayne Holmes <simon.snth@xoxy.net>2014-04-09 15:54:16 -0700
commite5bafff725f7b9cbfc364e64c74ea7f68bfc9900 (patch)
treea83f4e5b6b181f2aed5b12b12f10ba43972aef64 /common/eeconfig.h
parent894a387d1fd8c823b5339e524e1f9336601ce2ef (diff)
downloadfirmware-e5bafff725f7b9cbfc364e64c74ea7f68bfc9900.tar.gz
firmware-e5bafff725f7b9cbfc364e64c74ea7f68bfc9900.tar.bz2
firmware-e5bafff725f7b9cbfc364e64c74ea7f68bfc9900.zip
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/eeconfig.h')
-rw-r--r--common/eeconfig.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/eeconfig.h b/common/eeconfig.h
index e1b5ae282..3cd1a174f 100644
--- a/common/eeconfig.h
+++ b/common/eeconfig.h
@@ -47,6 +47,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define EECONFIG_KEYMAP_NO_GUI (1<<4)
#define EECONFIG_KEYMAP_SWAP_GRAVE_ESC (1<<5)
#define EECONFIG_KEYMAP_SWAP_BACKSLASH_BACKSPACE (1<<6)
+#define EECONFIG_KEYMAP_NKRO (1<<7)
bool eeconfig_is_enabled(void);