aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/foostan/cornelius/keymaps/hvp/config.h20
-rw-r--r--keyboards/foostan/cornelius/keymaps/hvp/keymap.c66
-rw-r--r--keyboards/foostan/cornelius/keymaps/hvp/readme.md1
-rw-r--r--keyboards/foostan/cornelius/keymaps/hvp/rules.mk1
-rw-r--r--keyboards/ut472/keymaps/hvp/config.h4
-rw-r--r--keyboards/ut472/keymaps/hvp/keymap.c62
-rw-r--r--users/hvp/config.h18
-rw-r--r--users/hvp/hvp.h38
-rw-r--r--users/hvp/per_key.c43
-rw-r--r--users/hvp/rules.mk7
-rw-r--r--users/hvp/tap_dances.h21
11 files changed, 245 insertions, 36 deletions
diff --git a/keyboards/foostan/cornelius/keymaps/hvp/config.h b/keyboards/foostan/cornelius/keymaps/hvp/config.h
new file mode 100644
index 000000000..ea23adfab
--- /dev/null
+++ b/keyboards/foostan/cornelius/keymaps/hvp/config.h
@@ -0,0 +1,20 @@
1/* Copyright 2018 Carlos Filoteo
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18#define TAPPING_TERM 200
19#define TAPPING_TERM_PER_KEY
20#define IGNORE_MOD_TAP_INTERRUPT \ No newline at end of file
diff --git a/keyboards/foostan/cornelius/keymaps/hvp/keymap.c b/keyboards/foostan/cornelius/keymaps/hvp/keymap.c
new file mode 100644
index 000000000..bac74edbc
--- /dev/null
+++ b/keyboards/foostan/cornelius/keymaps/hvp/keymap.c
@@ -0,0 +1,66 @@
1/* Copyright 2020 foostan
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include QMK_KEYBOARD_H
17#include "hvp.c"
18
19#define LT3_ESC LT(3, KC_ESC)
20#define LT4_TAB LT(5, KC_TAB)
21#define LT2 LT(2, KC_LEFT_CURLY_BRACE)
22#define LT1 LT(1, KC_RIGHT_CURLY_BRACE)
23
24const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
25[0] = LAYOUT(
26 LT4_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
27 LT3_ESC, MT(MOD_LGUI, KC_A), MT(MOD_LALT, KC_S), MT(MOD_LSFT, KC_D), MT(MOD_LCTL, KC_F), LT(4,KC_G), MT(MOD_RCTL, KC_H), MT(MOD_RSFT, KC_J), MT(MOD_RALT,KC_K), MT(MOD_RGUI,KC_L), TD(TD1), TD(TD2),
28 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, TD(TD3), KC_SFTENT,
29 KC_LCPO, KC_LCTL, KC_LGUI, KC_LALT, LT2, KC_SPC, KC_ENT, LT1, KC_RALT, KC_RGUI, KC_RCTL, KC_RSPC
30 ),
31
32[1] = LAYOUT( /* Right */
33 KC_TILDE, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC,
34 KC_DEL, KC_LGUI, KC_LALT, KC_LSFT, KC_LCTL, XXXXXXX, KC_MINS, KC_EQL, KC_LCBR, KC_RCBR, KC_PIPE, KC_GRV,
35 _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_UNDS, KC_PLUS, KC_LBRC, KC_RBRC, KC_BSLS, KC_TILD,
36 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
37 ),
38
39[2] = LAYOUT( /* Left */
40 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
41 KC_DEL, KC_LGUI, KC_LALT, KC_LSFT, KC_LCTL, XXXXXXX, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, XXXXXXX, XXXXXXX,
42 _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_HOME, KC_PGDN, KC_PGUP, KC_END, XXXXXXX, XXXXXXX,
43 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
44 ),
45
46[3] = LAYOUT( /* Esc */
47 KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
48 KC_DELETE, KC_LGUI, KC_LALT, KC_LSFT, KC_LCTL, XXXXXXX, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, XXXXXXX, XXXXXXX,
49 _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_HOME, KC_PGDN, KC_PGUP, KC_END, _______, _______,
50 _______, _______, _______, _______, _______, KC_MUTE, KC_MPLY, KC_MSTP, KC_MPRV, KC_VOLD, KC_VOLU, KC_MNXT
51 ),
52
53[4] = LAYOUT(
54 _______, LGUI(KC_1), LGUI(KC_2), LGUI(KC_3), LGUI(KC_4), LGUI(KC_5), LGUI(KC_6), LGUI(KC_7), KC_7, KC_8, KC_9, KC_BSPC,
55 _______, _______, _______, _______, _______, _______, _______, XXXXXXX, KC_4, KC_5, KC_6, KC_0,
56 _______, _______, _______, _______, _______, _______, XXXXXXX, KC_0, KC_1, KC_2, KC_3, _______,
57 RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
58 ),
59
60[5] = LAYOUT(
61 _______, G(S(KC_1)), G(S(KC_2)), G(S(KC_3)), G(S(KC_4)), G(S(KC_5)), G(S(KC_6)), G(S(KC_7)), G(S(KC_8)), G(S(KC_9)), G(S(KC_0)), _______,
62 _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
63 KC_PSCR, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_CAPS,
64 RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_NLCK
65 ),
66};
diff --git a/keyboards/foostan/cornelius/keymaps/hvp/readme.md b/keyboards/foostan/cornelius/keymaps/hvp/readme.md
new file mode 100644
index 000000000..cb35bd8a2
--- /dev/null
+++ b/keyboards/foostan/cornelius/keymaps/hvp/readme.md
@@ -0,0 +1 @@
# The default keymap for cornelius
diff --git a/keyboards/foostan/cornelius/keymaps/hvp/rules.mk b/keyboards/foostan/cornelius/keymaps/hvp/rules.mk
new file mode 100644
index 000000000..1ba2fa8fb
--- /dev/null
+++ b/keyboards/foostan/cornelius/keymaps/hvp/rules.mk
@@ -0,0 +1 @@
TAP_DANCE_ENABLE = yes \ No newline at end of file
diff --git a/keyboards/ut472/keymaps/hvp/config.h b/keyboards/ut472/keymaps/hvp/config.h
index 53fc5b76f..ea23adfab 100644
--- a/keyboards/ut472/keymaps/hvp/config.h
+++ b/keyboards/ut472/keymaps/hvp/config.h
@@ -15,6 +15,6 @@
15 */ 15 */
16 16
17#pragma once 17#pragma once
18#define TAPPING_TERM 150 18#define TAPPING_TERM 200
19#define PERMISSIVE_HOLD 19#define TAPPING_TERM_PER_KEY
20#define IGNORE_MOD_TAP_INTERRUPT \ No newline at end of file 20#define IGNORE_MOD_TAP_INTERRUPT \ No newline at end of file
diff --git a/keyboards/ut472/keymaps/hvp/keymap.c b/keyboards/ut472/keymaps/hvp/keymap.c
index ec88e2423..80d2d036b 100644
--- a/keyboards/ut472/keymaps/hvp/keymap.c
+++ b/keyboards/ut472/keymaps/hvp/keymap.c
@@ -17,43 +17,51 @@
17#include "hvp.c" 17#include "hvp.c"
18 18
19#define LT3_ESC LT(3, KC_ESC) 19#define LT3_ESC LT(3, KC_ESC)
20#define LT4_TAB LT(4, KC_TAB) 20#define LT4_TAB LT(5, KC_TAB)
21#define D_NAVI MT(MOD_LCTL | MOD_LSFT, KC_D) 21#define LT2 LT(2, KC_LEFT_CURLY_BRACE)
22 22#define LT1 LT(1, KC_RIGHT_CURLY_BRACE)
23 23
24const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { 24const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
25 25
26LAYOUT( 26[0] = LAYOUT(
27 LT4_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, 27 LT4_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
28 LT3_ESC, KC_A, KC_S, KC_D, LT(3,KC_F), LT(4,KC_G), KC_H, KC_J, KC_K, KC_L, TD(TD1), TD(TD2), 28 LT3_ESC, LG_A, LA_S, LS_D, LC_F, LT(4,KC_G), RC_H, RS_J, RA_K, RG_L, TD(TD1), TD(TD2),
29 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, TD(TD3), KC_SFTENT, 29 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, TD(TD3), KC_SFTENT,
30 KC_LCTL, KC_APP, KC_LGUI, KC_LALT, MO(2), KC_SPC, MO(1), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT 30 KC_LCPO, KC_RPRN, KC_LGUI, KC_LALT, LT2, KC_SPC, LT1, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
31), 31),
32 32
33LAYOUT( /* Right */ 33[1] = LAYOUT( /* Right */
34 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, 34 KC_TILDE, KC_EXCLAIM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC,
35 KC_DELETE, _______, _______, _______, _______, _______, _______, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, 35 KC_DELETE, KC_LGUI, KC_LALT, KC_LSFT, KC_LCTL, XXXXXXX, KC_MINS, KC_EQL, KC_LCBR, KC_RCBR, KC_PIPE, KC_GRV,
36 _______, _______, _______, _______, _______, _______, _______, KC_UNDERSCORE, KC_PLUS, KC_LEFT_CURLY_BRACE, KC_RIGHT_CURLY_BRACE, KC_PIPE, 36 _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_UNDS, KC_PLUS, KC_LBRC, KC_RBRC, KC_BSLS, KC_TILD,
37 _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END 37 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
38), 38),
39 39
40LAYOUT( /* Left */ 40[2] = LAYOUT( /* Left */
41 KC_TILDE, KC_EXCLAIM, KC_AT, KC_HASH, KC_DOLLAR, KC_PERCENT, KC_CIRCUMFLEX, KC_AMPERSAND, KC_ASTERISK, KC_LEFT_PAREN, KC_RIGHT_PAREN, KC_BSPC, 41 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
42 KC_DELETE, _______, _______, _______, _______, _______, _______, KC_UNDERSCORE, KC_PLUS, KC_LEFT_CURLY_BRACE, KC_RIGHT_CURLY_BRACE, KC_PIPE, 42 KC_DELETE, KC_LGUI, KC_LALT, KC_LSFT, KC_LCTL, XXXXXXX, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, XXXXXXX, XXXXXXX,
43 _______, _______, _______, _______, _______, _______, _______, _______, KC_EQL, KC_LBRC, KC_RBRC, _______, 43 _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_HOME, KC_PGDN, KC_PGUP, KC_END, XXXXXXX, XXXXXXX,
44 _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END 44 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
45), 45),
46 46
47LAYOUT( /* Esc */ 47[3] = LAYOUT( /* Esc */
48 KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, 48 KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
49 _______, _______, _______, D_NAVI, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, KC_PSCR, 49 _______, KC_LGUI, KC_LALT, KC_LSFT, KC_LCTL, XXXXXXX, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, KC_PSCR,
50 _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END, _______, _______, 50 _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_HOME, KC_PGDN, KC_PGUP, KC_END, _______, _______,
51 _______, _______, _______, _______, KC_MUTE, KC_MPLY, KC_MSTP, KC_MPRV, KC_VOLD, KC_VOLU, KC_MNXT 51 _______, _______, _______, _______, KC_MUTE, KC_MPLY, KC_MSTP, KC_MPRV, KC_VOLD, KC_VOLU, KC_MNXT
52), 52),
53LAYOUT( /* Tab */ 53
54 _______, RGB_TOG, RGB_MOD, RGB_RMOD, _______, _______, _______, KC_7, KC_8, KC_9, KC_0, _______, 54[4] = LAYOUT( /* G */
55 _______, RGB_M_P, RGB_HUD, RGB_HUI, _______, _______, _______, KC_4, KC_5, KC_6, _______, _______, 55 _______, LGUI(KC_1), LGUI(KC_2), LGUI(KC_3), LGUI(KC_4), LGUI(KC_5), LGUI(KC_6), LGUI(KC_7), KC_7, KC_8, KC_9, KC_BSPC,
56 KC_PSCR, _______, RGB_SAD, RGB_SAI, _______, _______, KC_0, KC_1, KC_2, KC_3, _______, _______, 56 _______, _______, _______, _______, _______, _______, _______, XXXXXXX, KC_4, KC_5, KC_6, KC_0,
57 RESET, _______, RGB_VAD, RGB_VAI, _______, _______, _______, _______, _______, _______, _______ 57 _______, _______, _______, _______, _______, _______, XXXXXXX, KC_0, KC_1, KC_2, KC_3, _______,
58 RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
59),
60
61[5] = LAYOUT( /* Tab */
62 _______, G(S(KC_1)), G(S(KC_2)), G(S(KC_3)), G(S(KC_4)), G(S(KC_5)), G(S(KC_6)), G(S(KC_7)), G(S(KC_8)), G(S(KC_9)), G(S(KC_0)), _______,
63 RGB_TOG, RGB_MOD, RGB_M_P, RGB_HUD, RGB_HUI, _______, _______, _______, _______, _______, _______, _______,
64 KC_PSCR, _______, RGB_RMOD, RGB_SAD, RGB_SAI, _______, _______, _______, _______, _______, _______, KC_CAPS,
65 RESET, _______, RGB_VAD, RGB_VAI, _______, _______, _______, _______, _______, _______, KC_NLCK
58), 66),
59}; \ No newline at end of file 67};
diff --git a/users/hvp/config.h b/users/hvp/config.h
new file mode 100644
index 000000000..68dd8b482
--- /dev/null
+++ b/users/hvp/config.h
@@ -0,0 +1,18 @@
1 /* Copyright 2021 hvp
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18#define LONG_TAPPING_TERM 1000 \ No newline at end of file
diff --git a/users/hvp/hvp.h b/users/hvp/hvp.h
index b016da9e2..275838a49 100644
--- a/users/hvp/hvp.h
+++ b/users/hvp/hvp.h
@@ -1,13 +1,43 @@
1 /* Copyright 2021 hvp
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17
1#pragma once 18#pragma once
19#include "quantum.h"
20#undef TAPPING_TERM
21#define TAPPING_TERM 150
2 22
3#ifdef TAP_DANCE_ENABLE 23#ifdef TAP_DANCE_ENABLE
4# include "tap_dances.h" 24# include "tap_dances.h"
5#endif 25#endif
6#include "quantum.h"
7 26
8#undef TAPPING_TERM 27#ifdef TAPPING_TERM_PER_KEY
9#define TAPPING_TERM 150 28# include "per_key.h"
29#endif
10 30
11// Keys
12 31
13#define D_NAVI MT(MOD_LCTL | MOD_LSFT, KC_D) 32#define D_NAVI MT(MOD_LCTL | MOD_LSFT, KC_D)
33
34/* Home-row mods */
35#define LG_A MT(MOD_LGUI, KC_A)
36#define LA_S MT(MOD_LALT, KC_S)
37#define LS_D MT(MOD_LSFT, KC_D)
38#define LC_F MT(MOD_LCTL, KC_F)
39
40#define RC_H MT(MOD_RCTL, KC_H)
41#define RS_J MT(MOD_RSFT, KC_J)
42#define RA_K MT(MOD_RALT, KC_K)
43#define RG_L MT(MOD_RGUI, KC_L) \ No newline at end of file
diff --git a/users/hvp/per_key.c b/users/hvp/per_key.c
new file mode 100644
index 000000000..571fdcc91
--- /dev/null
+++ b/users/hvp/per_key.c
@@ -0,0 +1,43 @@
1 /* Copyright 2021 hvp
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17
18// #include per_key.h
19
20uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record) {
21 switch (keycode) {
22 case MT(MOD_LGUI, KC_A):
23 return TAPPING_TERM + LONG_TAPPING_TERM;
24 case MT(MOD_LALT, KC_S):
25 return TAPPING_TERM + LONG_TAPPING_TERM;
26 case MT(MOD_LSFT, KC_D):
27 return TAPPING_TERM + LONG_TAPPING_TERM;
28 case MT(MOD_LCTL, KC_F):
29 return TAPPING_TERM + LONG_TAPPING_TERM;
30 case MT(MOD_RCTL, KC_H):
31 return TAPPING_TERM + LONG_TAPPING_TERM;
32 case MT(MOD_RSFT, KC_J):
33 return TAPPING_TERM + LONG_TAPPING_TERM;
34 case MT(MOD_RALT, KC_K):
35 return TAPPING_TERM + LONG_TAPPING_TERM;
36 case MT(MOD_RGUI, KC_L):
37 return TAPPING_TERM + LONG_TAPPING_TERM;
38 case KC_LCPO:
39 return TAPPING_TERM 75;
40 default:
41 return TAPPING_TERM;
42 }
43} \ No newline at end of file
diff --git a/users/hvp/rules.mk b/users/hvp/rules.mk
index 0a7e67963..549483b67 100644
--- a/users/hvp/rules.mk
+++ b/users/hvp/rules.mk
@@ -1,4 +1,9 @@
1
1SRC += hvp.c 2SRC += hvp.c
2ifeq ($(strip $(TAP_DANCE_ENABLE)), yes) 3ifeq ($(strip $(TAP_DANCE_ENABLE)), yes)
3 SRC += tap_dances.c 4 SRC += tap_dances.c
5endif
6
7ifeq ($(strip $(TAPPING_TERM_PER_KEY)), yes)
8 SRC += per_key.c
4endif \ No newline at end of file 9endif \ No newline at end of file
diff --git a/users/hvp/tap_dances.h b/users/hvp/tap_dances.h
index cad9bd90e..a00caf092 100644
--- a/users/hvp/tap_dances.h
+++ b/users/hvp/tap_dances.h
@@ -1,5 +1,22 @@
1 /* Copyright 2021 hvp
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17
1#pragma once 18#pragma once
2#include "hvp.h" 19#include "quantum.h"
3 20
4// Tap Dance Declarations 21// Tap Dance Declarations
5enum tapdance_id 22enum tapdance_id
@@ -9,4 +26,4 @@ enum tapdance_id
9 TD3, 26 TD3,
10 TD4, 27 TD4,
11 TD5 28 TD5
12}; 29}; \ No newline at end of file