diff options
| author | Jack Humbert <jack.humb@gmail.com> | 2017-02-06 19:31:45 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-06 19:31:45 -0500 |
| commit | 4348fb54d6eb80e8d82c0724be647631bdd524d3 (patch) | |
| tree | 7e51344981e0e9daef487c3cbe7b4508735f91bf /quantum/quantum.c | |
| parent | b6ffda484971306264c8c95facf75eec4c85b62a (diff) | |
| parent | 40abf8bc9ce22cab472f79e3a97c413ac5648986 (diff) | |
| download | qmk_firmware-4348fb54d6eb80e8d82c0724be647631bdd524d3.tar.gz qmk_firmware-4348fb54d6eb80e8d82c0724be647631bdd524d3.zip | |
Merge pull request #960 from ofples/feature/combos
Keyboard combination triggers
Diffstat (limited to 'quantum/quantum.c')
| -rw-r--r-- | quantum/quantum.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index 0aecd238e..b83ae433e 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c | |||
| @@ -158,6 +158,9 @@ bool process_record_quantum(keyrecord_t *record) { | |||
| 158 | #ifndef DISABLE_CHORDING | 158 | #ifndef DISABLE_CHORDING |
| 159 | process_chording(keycode, record) && | 159 | process_chording(keycode, record) && |
| 160 | #endif | 160 | #endif |
| 161 | #ifdef COMBO_ENABLE | ||
| 162 | process_combo(keycode, record) && | ||
| 163 | #endif | ||
| 161 | #ifdef UNICODE_ENABLE | 164 | #ifdef UNICODE_ENABLE |
| 162 | process_unicode(keycode, record) && | 165 | process_unicode(keycode, record) && |
| 163 | #endif | 166 | #endif |
| @@ -536,6 +539,11 @@ void matrix_scan_quantum() { | |||
| 536 | #ifdef TAP_DANCE_ENABLE | 539 | #ifdef TAP_DANCE_ENABLE |
| 537 | matrix_scan_tap_dance(); | 540 | matrix_scan_tap_dance(); |
| 538 | #endif | 541 | #endif |
| 542 | |||
| 543 | #ifdef COMBO_ENABLE | ||
| 544 | matrix_scan_combo(); | ||
| 545 | #endif | ||
| 546 | |||
| 539 | matrix_scan_kb(); | 547 | matrix_scan_kb(); |
| 540 | } | 548 | } |
| 541 | 549 | ||
