aboutsummaryrefslogtreecommitdiffstats
path: root/users/ninjonas/tap_dances.h
blob: 0a781ce4ed991971bedc601b49c330078f675f0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once
#include "ninjonas.h"

enum custom_tapdances{
  TD_ESC_CAPS = 0,
  TD_LBRC_BACK,
  TD_RBRC_FWD,
  TD_TAB_CTRLTAB,
  TD_GRV_CTRLGRV,
  TD_GUI_GUISPC,
  TD_W_CTRLW,
  TD_Q_GUIQ,
};

#define T_ESC  TD(TD_ESC_CAPS)    // Tap for ESC, double tap for CAPSLOCK
#define T_LBRC TD(TD_LBRC_BACK)   // Tap for [, double tap for back browser
#define T_RBRC TD(TD_RBRC_FWD)    // Tap for ], double tap for forward browser
#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  + GRV
#define T_GUI  TD(TD_GUI_GUISPC)  // Tap for , double tap for  + Space
#define T_W    TD(TD_W_CTRLW)     // Tap for W, double tap for  + W
#define T_Q    TD(TD_Q_GUIQ)      // Tap for Q, double tap for  + Q