diff options
Diffstat (limited to 'users/danielo515/combo.c')
-rw-r--r-- | users/danielo515/combo.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/users/danielo515/combo.c b/users/danielo515/combo.c new file mode 100644 index 0000000000..bf7d5f9a8a --- /dev/null +++ b/users/danielo515/combo.c @@ -0,0 +1,21 @@ +#include "combo.h" +enum combos { + JK_ESC, + YU_COM, + UI_COM, + IO_COM, + OP_COM, + QW_COM +}; + +const uint16_t PROGMEM ui_combo[] = {KC_U, KC_I, COMBO_END}; +const uint16_t PROGMEM jk_combo[] = {KC_J, KC_K, COMBO_END}; +const uint16_t PROGMEM yu_combo[] = {KC_Y, KC_U, COMBO_END}; +const uint16_t PROGMEM io_combo[] = {KC_I, KC_O, COMBO_END}; + +combo_t key_combos[COMBO_COUNT] = { + [JK_ESC] = COMBO(jk_combo, KC_ESC), + [YU_COM] = COMBO(yu_combo, KC_CIRC), + [UI_COM] = COMBO(ui_combo, KC_ESC), + [IO_COM] = COMBO(io_combo, KC_TILD) +}; |