From cecb9421a1936e83fbc524b558639f5ec1dbc3d2 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 10 Mar 2024 01:41:31 +0100 Subject: Move declaration of tap dances --- aktersnurra/charybdis/keymap.c | 3 +++ aktersnurra/ferris/keymap.c | 5 ++++- aktersnurra/sftrp.c | 4 ---- 3 files changed, 7 insertions(+), 5 deletions(-) (limited to 'aktersnurra') diff --git a/aktersnurra/charybdis/keymap.c b/aktersnurra/charybdis/keymap.c index 7c41ae2..6dfd7ee 100644 --- a/aktersnurra/charybdis/keymap.c +++ b/aktersnurra/charybdis/keymap.c @@ -29,6 +29,9 @@ #define CHARYBDIS_AUTO_SNIPING_ON_LAYER _MOU enum { _COLEMAK_DH, _NAV, _NUM, _SYM, _FUN, _MEDIA, } layers; +enum td_keycodes { + SFT_RP, // `LSFT` when held, `)` when tapped. +}; tap_dance_action_t tap_dance_actions[] = { [SFT_RP] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, sftrp_finished, sftrp_reset)}; diff --git a/aktersnurra/ferris/keymap.c b/aktersnurra/ferris/keymap.c index 6e611db..c739b9b 100644 --- a/aktersnurra/ferris/keymap.c +++ b/aktersnurra/ferris/keymap.c @@ -21,7 +21,10 @@ #define NUM LT(_NUM, KC_TAB) enum { _COLEMAK_DH, _NAV, _NUM, _SYM, _FUN, _MEDIA } layers; -enum { J_ESC } tap_dances; +enum td_keycodes { + SFT_RP, // `LSFT` when held, `)` when tapped. + J_ESC +}; // Tap Dance Definitions tap_dance_action_t tap_dance_actions[] = { diff --git a/aktersnurra/sftrp.c b/aktersnurra/sftrp.c index e1deca0..a511d8c 100644 --- a/aktersnurra/sftrp.c +++ b/aktersnurra/sftrp.c @@ -1,7 +1,3 @@ -enum td_keycodes { - SFT_RP, // `LSFT` when held, `)` when tapped. -}; - typedef enum { TD_NONE, TD_UNKNOWN, -- cgit v1.2.3-70-g09d2