]> git.donarmstrong.com Git - qmk_firmware.git/blob - users/xulkal/custom_tap_dance.h
Add missing links to features page and sidebar section (#5949)
[qmk_firmware.git] / users / xulkal / custom_tap_dance.h
1 #pragma once
2 #include "quantum.h"
3
4 #ifdef TAP_DANCE_ENABLE
5
6 #include "process_tap_dance.h"
7
8 //Tap Dance Declarations
9 enum {
10   COMM_QUOT = 0,
11   BACKSPACE,
12   DELETE,
13   DOT
14 };
15
16 #define TD_COMM TD(COMM_QUOT)
17 #define TD_BSPC TD(BACKSPACE)
18 #define TD_DEL TD(DELETE)
19 #define TD_DOT TD(DOT)
20
21 #else
22
23 void run_tap_dance_double(uint8_t i);
24 bool process_tap_dance_double(uint16_t keycode, keyrecord_t *record);
25
26 #endif