summaryrefslogtreecommitdiff
path: root/users/talljoe/talljoe.h
diff options
context:
space:
mode:
authorErez Zukerman <bulk@ezuk.org>2018-05-15 10:50:24 -0400
committerErez Zukerman <bulk@ezuk.org>2018-05-15 10:50:24 -0400
commit5272218ac9cff7ce5af8cfda9129dc03b7aafa49 (patch)
tree61ad3987770684afd55cbdd12bca48a221d83713 /users/talljoe/talljoe.h
parent0592d23b74142a554c9e36d2da7bf525fbe3a4c0 (diff)
parente41147da929afd15c1088226893cc02537650284 (diff)
Merge branch 'master' into hf/shinydox
Diffstat (limited to 'users/talljoe/talljoe.h')
-rw-r--r--users/talljoe/talljoe.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/users/talljoe/talljoe.h b/users/talljoe/talljoe.h
index 17e54af699..7c34cd41ff 100644
--- a/users/talljoe/talljoe.h
+++ b/users/talljoe/talljoe.h
@@ -28,6 +28,10 @@ enum layers {
_RESET = RESET_LAYER,
};
+enum tap_dancers {
+ TD_SEMICOLON
+};
+
#define _______ KC_TRNS
#define XXXXXXX KC_NO
@@ -53,6 +57,7 @@ enum layers {
#define US_CAPS CTL_T(KC_ESC)
#define US_QUOT RCTL_T(KC_QUOT)
#define US_MINS RCTL_T(KC_QUOT)
+#define US_SCLN TD(TD_SEMICOLON)
#define US_ENT LT(_NUM, KC_ENT)
#ifndef SPACE_COUNT
@@ -105,4 +110,37 @@ enum layers {
#define FN_MO2 KC_NO
#endif
+#ifdef TEMPLATE_TKL
+ #define _X_ KC_NO
+ #define TEMPLATE( \
+ KJ4, KJ7, KI7, KH7, KG7, KG4, KF4, KF7, KE7, KD7, KR7, KR4, KE4, KB2, KJ6, \
+ KJ2, KJ5, KI5, KH5, KG5, KG2, KF2, KF5, KE5, KD5, KR5, KR2, KE2, KB3, \
+ KI2, KJ3, KI3, KH3, KG3, KG6, KF6, KF3, KE3, KD3, KR3, KR6, KB1, \
+ KN2, KJ1, KI1, KH1, KG1, KG0, KF0, KF1, KE1, KD1, KR0, KN3, KA5, \
+ KA4, KP2, KC6, KX1, KK6, KX2, KC0, KM3, KD0, KA1 \
+ ) TEMPLATE_TKL ( \
+ KJ6, _X_, _X_, _X_, _X_, _X_, _X_, _X_, _X_, _X_, _X_, _X_, _X_, _X_, _X_, KA5, \
+ KJ4, KJ7, KI7, KH7, KG7, KG4, KF4, KF7, KE7, KD7, KR7, KR4, KE4, KB2, _X_, _X_, _X_, \
+ KJ2, KJ5, KI5, KH5, KG5, KG2, KF2, KF5, KE5, KD5, KR5, KR2, KE2, KB3, _X_, _X_, _X_, \
+ KI2, KJ3, KI3, KH3, KG3, KG6, KF6, KF3, KE3, KD3, KR3, KR6, KB1, \
+ KN2, KJ1, KI1, KH1, KG1, KG0, KF0, KF1, KE1, KD1, KR0, KN3, _X_, \
+ KA4, KP2, KC6, KX1, KK6, KX2, KC0, KM3, KD0, KA1, _X_, _X_, _X_ \
+ )
+#else
+ #define TEMPLATE_TKL( \
+ KJ6, KI4, KH4, KH2, KH6, KA7, KE6, KD2, KD4, KB4, KB7, KB6, KB0, KC7, KC5, KA5, \
+ KJ4, KJ7, KI7, KH7, KG7, KG4, KF4, KF7, KE7, KD7, KR7, KR4, KE4, KB2, KL4, KO4, KQ4, \
+ KJ2, KJ5, KI5, KH5, KG5, KG2, KF2, KF5, KE5, KD5, KR5, KR2, KE2, KB3, KK4, KO7, KQ7, \
+ KI2, KJ3, KI3, KH3, KG3, KG6, KF6, KF3, KE3, KD3, KR3, KR6, KB1, \
+ KN2, KJ1, KI1, KH1, KG1, KG0, KF0, KF1, KE1, KD1, KR0, KN3, KO6, \
+ KA4, KP2, KC6, KX1, KK6, KX2, KC0, KM3, KD0, KA1, KO0, KK0, KL0 \
+ ) TEMPLATE( \
+ KJ4, KJ7, KI7, KH7, KG7, KG4, KF4, KF7, KE7, KD7, KR7, KR4, KE4, KB2, KJ6, \
+ KJ2, KJ5, KI5, KH5, KG5, KG2, KF2, KF5, KE5, KD5, KR5, KR2, KE2, KB3, \
+ KI2, KJ3, KI3, KH3, KG3, KG6, KF6, KF3, KE3, KD3, KR3, KR6, KB1, \
+ KN2, KJ1, KI1, KH1, KG1, KG0, KF0, KF1, KE1, KD1, KR0, KN3, KA5, \
+ KA4, KP2, KC6, KX1, KK6, KX2, KC0, KM3, KD0, KA1 \
+ )
+#endif
+
#endif