aboutsummaryrefslogtreecommitdiffstats
path: root/users/pcoves/combo.c
diff options
context:
space:
mode:
Diffstat (limited to 'users/pcoves/combo.c')
-rw-r--r--users/pcoves/combo.c44
1 files changed, 44 insertions, 0 deletions
diff --git a/users/pcoves/combo.c b/users/pcoves/combo.c
new file mode 100644
index 000000000..a9a1ffe98
--- /dev/null
+++ b/users/pcoves/combo.c
@@ -0,0 +1,44 @@
+#include "quantum.h"
+
+enum {
+ MIN,
+ EQL,
+
+ ESC,
+ BSP,
+ DEL,
+
+ TAB,
+ BSL,
+
+ CUT,
+ GRA,
+};
+
+const uint16_t PROGMEM min[] = {KC_C, KC_V, COMBO_END};
+const uint16_t PROGMEM eql[] = {KC_M, KC_COMM, COMBO_END};
+
+const uint16_t PROGMEM esc[] = {KC_D, KC_F, COMBO_END};
+const uint16_t PROGMEM bsp[] = {KC_J, KC_K, COMBO_END};
+const uint16_t PROGMEM del[] = {KC_DOWN, KC_UP, COMBO_END};
+
+const uint16_t PROGMEM tab[] = {KC_S, KC_F, COMBO_END};
+const uint16_t PROGMEM bsl[] = {KC_J, KC_L, COMBO_END};
+
+const uint16_t PROGMEM cut[] = {KC_K, KC_L, COMBO_END};
+const uint16_t PROGMEM gra[] = {KC_S, KC_D, COMBO_END};
+
+combo_t key_combos[COMBO_COUNT] = {
+ [MIN] = COMBO(min, KC_MINS),
+ [EQL] = COMBO(eql, KC_EQL),
+
+ [ESC] = COMBO(esc, KC_ESC),
+ [BSP] = COMBO(bsp, KC_BSPC),
+ [DEL] = COMBO(del, KC_DEL),
+
+ [TAB] = COMBO(tab, KC_TAB),
+ [BSL] = COMBO(bsl, KC_BSLS),
+
+ [CUT] = COMBO(cut, KC_QUOT),
+ [GRA] = COMBO(gra, KC_GRAVE),
+};