summaryrefslogtreecommitdiffstats
path: root/keyboards/crkbd/keymaps/thunderbird2086/tap_dances.h
diff options
context:
space:
mode:
authorAllen Choi <37539914+Thunderbird2086@users.noreply.github.com>2022-07-16 15:29:09 +0800
committerGitHub <noreply@github.com>2022-07-16 00:29:09 -0700
commit9cdccb12d112c13e79f127ca686bbe81b8fcef6f (patch)
tree7544093c41b7a6310bbe547c23ea06e64680a23e /keyboards/crkbd/keymaps/thunderbird2086/tap_dances.h
parent66983f090c6c648ea8db21c1ff11934b0ff4c882 (diff)
[Keymap] Crkbd/thunderbird2086 (#16973)
* crkbd:thunderbird2086 * readme * after code review * coding format * minor change * changed file name * correct image * updated readme * using query to get rgb status * minor update
Diffstat (limited to 'keyboards/crkbd/keymaps/thunderbird2086/tap_dances.h')
-rw-r--r--keyboards/crkbd/keymaps/thunderbird2086/tap_dances.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/keyboards/crkbd/keymaps/thunderbird2086/tap_dances.h b/keyboards/crkbd/keymaps/thunderbird2086/tap_dances.h
new file mode 100644
index 0000000000..34d3c4e32c
--- /dev/null
+++ b/keyboards/crkbd/keymaps/thunderbird2086/tap_dances.h
@@ -0,0 +1,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