diff options
author | Pavlos Vinieratos <pvinis@gmail.com> | 2016-09-21 11:29:43 +0200 |
---|---|---|
committer | Pavlos Vinieratos <pvinis@gmail.com> | 2016-09-21 11:29:43 +0200 |
commit | cda4b534fa4921c2d8f9884aa6a144333e7b07c4 (patch) | |
tree | c4af2db59701e21687b3dc81c77ec4f0f7f220c3 | |
parent | 0edc82f0300924394324e2f3c4d2f8f0008439db (diff) |
add user_data field
-rw-r--r-- | quantum/process_keycode/process_tap_dance.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/quantum/process_keycode/process_tap_dance.h b/quantum/process_keycode/process_tap_dance.h index 49b06e4508..f753cbba66 100644 --- a/quantum/process_keycode/process_tap_dance.h +++ b/quantum/process_keycode/process_tap_dance.h @@ -44,10 +44,12 @@ typedef struct #define ACTION_TAP_DANCE_FN(user_fn) { \ .fn = { NULL, user_fn, NULL }, \ + .user_data = NULL, \ } #define ACTION_TAP_DANCE_FN_ADVANCED(user_fn_on_each_tap, user_fn_on_dance_finished, user_fn_on_dance_reset) { \ .fn = { user_fn_on_each_tap, user_fn_on_dance_finished, user_fn_on_dance_reset }, \ + .user_data = NULL, \ } extern qk_tap_dance_action_t tap_dance_actions[]; |