diff options
| author | Jack Humbert <jack.humb@gmail.com> | 2017-06-26 18:54:01 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-26 18:54:01 -0400 |
| commit | 61cdc9aaa462afbcbaf57f2c5991e06924caed0e (patch) | |
| tree | 0076143e7bbb1e88818ecde430c8bc5be57e6743 /quantum/keycode_config.h | |
| parent | d1fb8d2296889ee1aaa08988c8951eb5f12d930b (diff) | |
| download | qmk_firmware-61cdc9aaa462afbcbaf57f2c5991e06924caed0e.tar.gz qmk_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.h | 2 |
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 @@ | |||
| 16 | 16 | ||
| 17 | #include "eeconfig.h" | 17 | #include "eeconfig.h" |
| 18 | #include "keycode.h" | 18 | #include "keycode.h" |
| 19 | #include "action_code.h" | ||
| 19 | 20 | ||
| 20 | #ifndef KEYCODE_CONFIG_H | 21 | #ifndef KEYCODE_CONFIG_H |
| 21 | #define KEYCODE_CONFIG_H | 22 | #define KEYCODE_CONFIG_H |
| 22 | 23 | ||
| 23 | uint16_t keycode_config(uint16_t keycode); | 24 | uint16_t keycode_config(uint16_t keycode); |
| 25 | uint8_t mod_config(uint8_t mod); | ||
| 24 | 26 | ||
| 25 | /* NOTE: Not portable. Bit field order depends on implementation */ | 27 | /* NOTE: Not portable. Bit field order depends on implementation */ |
| 26 | typedef union { | 28 | typedef union { |
