summaryrefslogtreecommitdiff
path: root/keyboards/crkbd/keymaps/thunderbird2086/tap_dances.h
blob: 34d3c4e32c2b4ec1b7348465613396cb31cee3a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2021 Allen Choi (@thunderbird2086)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

enum custom_tapdances {
    TD_ESC_CAPS = 0,
    TD_TAB_CTRLTAB,
    TD_GRV_CTRLGRV,
    TD_GUI_GUISPC,
};

#define T_ESC  TD(TD_ESC_CAPS)          // Tap for ESC, double tap for CAPSLOCK
#define T_TAB  TD(TD_TAB_CTRLTAB)       // Tap for TAB, double tap for CTRL + TAB
#define T_GRV  TD(TD_GRV_CTRLGRV)       // Tap for GRV, double tap for Cmd + GRV
#define T_GUI  TD(TD_GUI_GUISPC)        // Tap for Cmd, double tap for Cmd + Space