aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/keycode_config.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-06-26 18:54:01 -0400
committerGitHub <noreply@github.com>2017-06-26 18:54:01 -0400
commit61cdc9aaa462afbcbaf57f2c5991e06924caed0e (patch)
tree0076143e7bbb1e88818ecde430c8bc5be57e6743 /quantum/keycode_config.h
parentd1fb8d2296889ee1aaa08988c8951eb5f12d930b (diff)
downloadfirmware-61cdc9aaa462afbcbaf57f2c5991e06924caed0e.tar.gz
firmware-61cdc9aaa462afbcbaf57f2c5991e06924caed0e.tar.bz2
firmware-61cdc9aaa462afbcbaf57f2c5991e06924caed0e.zip
Allow mod swapping for mod tap (MT) (#1202)
* allow mod swapping for mod tap * quick include * fix the mod swapping * make changes consistent with action code * fix bug * re-enable no gui, etc * fix binary comps * solid logic
Diffstat (limited to 'quantum/keycode_config.h')
-rw-r--r--quantum/keycode_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/quantum/keycode_config.h b/quantum/keycode_config.h
index 293fefecf..022f4bd19 100644
--- a/quantum/keycode_config.h
+++ b/quantum/keycode_config.h
@@ -16,11 +16,13 @@
#include "eeconfig.h"
#include "keycode.h"
+#include "action_code.h"
#ifndef KEYCODE_CONFIG_H
#define KEYCODE_CONFIG_H
uint16_t keycode_config(uint16_t keycode);
+uint8_t mod_config(uint8_t mod);
/* NOTE: Not portable. Bit field order depends on implementation */
typedef union {