Skip to content

Commit

Permalink
add combo for P
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelromao committed Dec 13, 2022
1 parent 535d97b commit 17992d7
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
Binary file modified img/overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/qmk/users/rafaelromao/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define LEADER_NO_TIMEOUT

// Configure combos
#define COMBO_COUNT 42
#define COMBO_COUNT 43
#define COMBO_TERM 30
#define EXTRA_SHORT_COMBOS
#define COMBO_STRICT_TIMER
Expand Down
30 changes: 16 additions & 14 deletions src/qmk/users/rafaelromao/features/combos.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ const uint16_t PROGMEM l_rom_cop_combo[] = {LOW_SPC, KC_C, LALTT_P, COMBO_END};
const uint16_t PROGMEM r_rom_x_combo[] = {LALTT_M, TD_COMM, COMBO_END};
const uint16_t PROGMEM r_rom_tab_combo[] = {RAI_BSP, KC_O, KC_U, COMBO_END};
const uint16_t PROGMEM r_rom_pas_combo[] = {RAI_BSP, RGUIT_H, RCTLT_A, COMBO_END};
const uint16_t PROGMEM r_rom_p_combo[] = {RGUIT_H, RCTLT_A, COMBO_END};
const uint16_t PROGMEM r_rom_ent_combo[] = {RAI_BSP, RCTLT_A, RSFTT_E, COMBO_END};
const uint16_t PROGMEM r_rom_rai_combo[] = {RAI_BSP, RCTLT_A, COMBO_END};
const uint16_t PROGMEM r_rom_low_combo[] = {RAI_BSP, RSFTT_E, COMBO_END};
Expand All @@ -76,18 +77,19 @@ const uint16_t PROGMEM rom_reset_combo[] = {KCR_MAC, RALTT_Q, KCI_MAC, RALTT_Y,
const uint16_t PROGMEM secret_1_combo[] = {SEC_1, SEC_2, SEC_3, SEC_4, COMBO_END};

combo_t key_combos[COMBO_COUNT] = {
COMBO(l_rom_z_combo, KC_Z), COMBO(r_rom_x_combo, KC_X), COMBO(l_num_esc_combo, KC_ESC),
COMBO(l_nav_esv_combo, MC_ESAV), COMBO(l_num_sav_combo, MC_SAVE), COMBO(r_num_ent_combo, KC_ENT),
COMBO(l_low_par_combo, TD_PARN), COMBO(r_low_tab_combo, KC_TAB), COMBO(r_low_ent_combo, KC_ENT),
COMBO(r_ng_ao_combo, MC_AO), COMBO(r_ng_cao_combo, MC_CAO), COMBO(r_ng_oes_combo, MC_OES),
COMBO(r_ng_coes_combo, MC_COES), COMBO(r_mac_ref_combo, MC_REF), COMBO(r_mac_clo_combo, MC_CTAB),
COMBO(r_rom_cop_combo, MC_COPY), COMBO(r_rom_sco_combo, TD_SCLE), COMBO(l_rom_usc_combo, MC_UNDS),
COMBO(l_rom_ful_combo, MC_FULL), COMBO(r_rom_pas_combo, MC_PAST), COMBO(l_rom_rai_combo, OS_RAI),
COMBO(l_rom_low_combo, OS_LOW), COMBO(l_rom_sav_combo, MC_SAVE), COMBO(l_rom_pas_combo, MC_PAST),
COMBO(l_rom_esc_combo, KC_ESC), COMBO(r_rom_und_combo, MC_UNDO), COMBO(r_rom_sce_combo, MC_SENT),
COMBO(l_rom_fin_combo, MC_FIND), COMBO(l_rom_cop_combo, MC_COPY), COMBO(r_rom_tab_combo, KC_TAB),
COMBO(r_rom_low_combo, OS_LOW), COMBO(r_rom_rai_combo, OS_RAI), COMBO(r_rom_ent_combo, KC_ENT),
COMBO(r_rom_sal_combo, MC_SELC), COMBO(r_med_hom_combo, KC_HOME), COMBO(r_med_end_combo, KC_END),
COMBO(r_rai_cur_combo, MC_CUR), COMBO(r_med_del_combo, KC_DEL), COMBO(r_med_ins_combo, KC_INS),
COMBO(r_med_ent_combo, TD_EENT), COMBO(rom_reset_combo, QK_BOOT), COMBO(secret_1_combo, MC_SECRET_1),
COMBO(l_rom_z_combo, KC_Z), COMBO(r_rom_x_combo, KC_X), COMBO(l_num_esc_combo, KC_ESC),
COMBO(l_nav_esv_combo, MC_ESAV), COMBO(l_num_sav_combo, MC_SAVE), COMBO(r_num_ent_combo, KC_ENT),
COMBO(l_low_par_combo, TD_PARN), COMBO(r_low_tab_combo, KC_TAB), COMBO(r_low_ent_combo, KC_ENT),
COMBO(r_ng_ao_combo, MC_AO), COMBO(r_ng_cao_combo, MC_CAO), COMBO(r_ng_oes_combo, MC_OES),
COMBO(r_ng_coes_combo, MC_COES), COMBO(r_mac_ref_combo, MC_REF), COMBO(r_mac_clo_combo, MC_CTAB),
COMBO(r_rom_cop_combo, MC_COPY), COMBO(r_rom_sco_combo, TD_SCLE), COMBO(l_rom_usc_combo, MC_UNDS),
COMBO(l_rom_ful_combo, MC_FULL), COMBO(r_rom_p_combo, KC_P), COMBO(r_rom_pas_combo, MC_PAST),
COMBO(l_rom_rai_combo, OS_RAI), COMBO(l_rom_low_combo, OS_LOW), COMBO(l_rom_sav_combo, MC_SAVE),
COMBO(l_rom_pas_combo, MC_PAST), COMBO(l_rom_esc_combo, KC_ESC), COMBO(r_rom_und_combo, MC_UNDO),
COMBO(r_rom_sce_combo, MC_SENT), COMBO(l_rom_fin_combo, MC_FIND), COMBO(l_rom_cop_combo, MC_COPY),
COMBO(r_rom_tab_combo, KC_TAB), COMBO(r_rom_low_combo, OS_LOW), COMBO(r_rom_rai_combo, OS_RAI),
COMBO(r_rom_ent_combo, KC_ENT), COMBO(r_rom_sal_combo, MC_SELC), COMBO(r_med_hom_combo, KC_HOME),
COMBO(r_med_end_combo, KC_END), COMBO(r_rai_cur_combo, MC_CUR), COMBO(r_med_del_combo, KC_DEL),
COMBO(r_med_ins_combo, KC_INS), COMBO(r_med_ent_combo, TD_EENT), COMBO(rom_reset_combo, QK_BOOT),
COMBO(secret_1_combo, MC_SECRET_1),
};

0 comments on commit 17992d7

Please sign in to comment.