diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-08-18 10:32:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-18 10:32:16 -0400 |
commit | ca7fa07bc181d9faad618b29866a5cd971f685ce (patch) | |
tree | 65baebd4ee80a5ca90c86063d4be97a5393bf674 /quantum/process_keycode/process_tap_dance.c | |
parent | 8f32595820e4f1f21396f82aa8868ce07f2d193d (diff) | |
parent | 0d28787c5cf2173d12f57b397515f91cffaa820a (diff) |
Merge pull request #651 from algernon/f/register16
Add a register/unregister_code16 pair of functions
Diffstat (limited to 'quantum/process_keycode/process_tap_dance.c')
-rw-r--r-- | quantum/process_keycode/process_tap_dance.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/quantum/process_keycode/process_tap_dance.c b/quantum/process_keycode/process_tap_dance.c index e152f23508..07de3ecb8f 100644 --- a/quantum/process_keycode/process_tap_dance.c +++ b/quantum/process_keycode/process_tap_dance.c @@ -8,9 +8,9 @@ void qk_tap_dance_pair_finished (qk_tap_dance_state_t *state, void *user_data) { qk_tap_dance_pair_t *pair = (qk_tap_dance_pair_t *)user_data; if (state->count == 1) { - register_code (pair->kc1); + register_code16 (pair->kc1); } else if (state->count == 2) { - register_code (pair->kc2); + register_code16 (pair->kc2); } } @@ -18,9 +18,9 @@ void qk_tap_dance_pair_reset (qk_tap_dance_state_t *state, void *user_data) { qk_tap_dance_pair_t *pair = (qk_tap_dance_pair_t *)user_data; if (state->count == 1) { - unregister_code (pair->kc1); + unregister_code16 (pair->kc1); } else if (state->count == 2) { - unregister_code (pair->kc2); + unregister_code16 (pair->kc2); } } |