diff options
author | Pavlos Vinieratos <pvinis@gmail.com> | 2016-09-21 11:29:34 +0200 |
---|---|---|
committer | Pavlos Vinieratos <pvinis@gmail.com> | 2016-09-21 11:29:34 +0200 |
commit | 0edc82f0300924394324e2f3c4d2f8f0008439db (patch) | |
tree | 34e6cfeadb19a2f8fa5b7a680648a8a115c6edd7 /quantum/process_keycode/process_tap_dance.h | |
parent | e1f131db8e59c6ed3471906d3a62457d593f51af (diff) | |
download | qmk_firmware-0edc82f0300924394324e2f3c4d2f8f0008439db.tar.gz qmk_firmware-0edc82f0300924394324e2f3c4d2f8f0008439db.zip |
formatting
Diffstat (limited to 'quantum/process_keycode/process_tap_dance.h')
-rw-r--r-- | quantum/process_keycode/process_tap_dance.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/quantum/process_keycode/process_tap_dance.h b/quantum/process_keycode/process_tap_dance.h index d7b857bdc..49b06e450 100644 --- a/quantum/process_keycode/process_tap_dance.h +++ b/quantum/process_keycode/process_tap_dance.h | |||
@@ -39,15 +39,15 @@ typedef struct | |||
39 | 39 | ||
40 | #define ACTION_TAP_DANCE_DOUBLE(kc1, kc2) { \ | 40 | #define ACTION_TAP_DANCE_DOUBLE(kc1, kc2) { \ |
41 | .fn = { NULL, qk_tap_dance_pair_finished, qk_tap_dance_pair_reset }, \ | 41 | .fn = { NULL, qk_tap_dance_pair_finished, qk_tap_dance_pair_reset }, \ |
42 | .user_data = (void *)&((qk_tap_dance_pair_t) { kc1, kc2 }) \ | 42 | .user_data = (void *)&((qk_tap_dance_pair_t) { kc1, kc2 }), \ |
43 | } | 43 | } |
44 | 44 | ||
45 | #define ACTION_TAP_DANCE_FN(user_fn) { \ | 45 | #define ACTION_TAP_DANCE_FN(user_fn) { \ |
46 | .fn = { NULL, user_fn, NULL } \ | 46 | .fn = { NULL, user_fn, NULL }, \ |
47 | } | 47 | } |
48 | 48 | ||
49 | #define ACTION_TAP_DANCE_FN_ADVANCED(user_fn_on_each_tap, user_fn_on_dance_finished, user_fn_on_reset) { \ | 49 | #define ACTION_TAP_DANCE_FN_ADVANCED(user_fn_on_each_tap, user_fn_on_dance_finished, user_fn_on_dance_reset) { \ |
50 | .fn = { user_fn_on_each_tap, user_fn_on_dance_finished, user_fn_on_reset } \ | 50 | .fn = { user_fn_on_each_tap, user_fn_on_dance_finished, user_fn_on_dance_reset }, \ |
51 | } | 51 | } |
52 | 52 | ||
53 | extern qk_tap_dance_action_t tap_dance_actions[]; | 53 | extern qk_tap_dance_action_t tap_dance_actions[]; |