Combo overhaul

- Remapped some combos based on how I used them
- Turned the combo term down because of misfires (e.g. re)
- Removed all the keys that are now combos to save room and
force me to get used to using combos
- Combined Game and GameNum. Removed GameNum Layer
This commit is contained in:
Victor 2024-04-17 16:25:29 -05:00
parent 4c13c8d016
commit b314c3ffe1
Failed to generate hash of commit
11 changed files with 26 additions and 51 deletions

View file

@ -16,20 +16,14 @@ bool get_combo_must_tap(uint16_t index, combo_t *combo) {
switch (index) {
#if defined(MOUSEKEY_ENABLE222)
case MOUSE_BUTTON1:
case MOUSE_BUTTON2:
case MOUSE_BUTTON3:
case MOUSE_BUTTON4:
case MOUSE_BUTTON5:
#if defined(MOUSEKEY_ENABLE)
case MOUSE_DRGTOG:
#endif //MOUSEKEY_ENABLE
case KEY_ESC:
case KEY_TAB:
case KEY_ENT:
case KEY_DEL:
case KEY_BSPC:
case KEY_BWRD:
return true;
default:

View file

@ -21,6 +21,7 @@ enum combos {
// right hand combos
KEY_DEL,
KEY_BSPC,
KEY_BWRD,
LYR_CONFIG,
COMBO_LENGTH
@ -30,11 +31,11 @@ enum combos {
// left hand combos
#if defined(MOUSEKEY_ENABLE)
const uint16_t PROGMEM mou_btn1_combo[] = { KC_D, KC_F, COMBO_END };
const uint16_t PROGMEM mou_btn2_combo[] = { KC_S, KC_D, COMBO_END };
const uint16_t PROGMEM mou_btn3_combo[] = { KC_S, KC_F, COMBO_END };
const uint16_t PROGMEM mou_btn2_combo[] = { KC_S, KC_F, COMBO_END };
const uint16_t PROGMEM mou_btn3_combo[] = { KC_S, KC_D, COMBO_END };
const uint16_t PROGMEM mou_btn4_combo[] = { KC_E, KC_R, COMBO_END };
const uint16_t PROGMEM mou_btn5_combo[] = { KC_W, KC_E, COMBO_END };
const uint16_t PROGMEM mou_drg_combo[] = { KC_Z, KC_X, COMBO_END };
const uint16_t PROGMEM mou_btn5_combo[] = { KC_W, KC_R, COMBO_END };
const uint16_t PROGMEM mou_drg_combo[] = { TR_MOUA, KC_S, COMBO_END };
#endif //MOUSEKEY_ENABLE
const uint16_t PROGMEM key_esc_combo[] = { KC_Q, KC_W, COMBO_END };
@ -45,6 +46,7 @@ const uint16_t PROGMEM lyr_fun_combo[] = { NUM, TR_LSFT, COMBO_END };
// right hand combos
const uint16_t PROGMEM key_del_combo[] = { KC_M, TR_DOT, COMBO_END };
const uint16_t PROGMEM key_bspc_combo[] = { KC_M, TR_COMM, COMBO_END };
const uint16_t PROGMEM key_bwrd_combo[] = { TR_COMM, TR_DOT, COMBO_END };
const uint16_t PROGMEM lyr_cfg_combo[] = { KC_SPC, NAV, COMBO_END };
@ -68,6 +70,7 @@ combo_t key_combos[COMBO_LENGTH] = {
// right hand combos
[KEY_DEL] = COMBO(key_del_combo, KC_DEL),
[KEY_BSPC] = COMBO(key_bspc_combo, KC_BSPC),
[KEY_BWRD] = COMBO(key_bwrd_combo, BACKWRD),
[LYR_CONFIG] = COMBO(lyr_cfg_combo, CONFIG)
};

View file

@ -42,7 +42,7 @@ void render_layer_state(void) {
oled_write_P(PSTR(OLED_RENDER_LAYER_MOUSE), get_highest_layer(layer_state) == _MOUSE);
#endif //MOUSEKEY_ENABLE
oled_write_P(PSTR(OLED_RENDER_LAYER_GAME_NUM), get_highest_layer(layer_state) == _GAME_NUM);
oled_write_P(PSTR(OLED_RENDER_LAYER_FUNCTION), get_highest_layer(layer_state) == _FUNCTION);
oled_write_P(PSTR(OLED_RENDER_LAYER_CONFIG), get_highest_layer(layer_state) == _CONFIG);
}

View file

@ -7,7 +7,7 @@
#define OLED_RENDER_MODS_NAME "Mods:"
#define OLED_RENDER_LAYOUT_NAME "Lyout"
#define OLED_RENDER_LAYOUT_QWERTY " QRTY"
#define OLED_RENDER_LAYOUT_QWERTY " qrty"
#define OLED_RENDER_LAYOUT_COLEMAK_DH " cmDH"
#define OLED_RENDER_LAYOUT_GAME " Game"
@ -16,7 +16,7 @@
#define OLED_RENDER_LAYER_NUMBER " Num "
#define OLED_RENDER_LAYER_NAVIGATION " Nav "
#define OLED_RENDER_LAYER_SYMBOL " Sym "
#define OLED_RENDER_LAYER_GAME_NUM " gNum"
#define OLED_RENDER_LAYER_FUNCTION " Fun "
#define OLED_RENDER_LAYER_CONFIG " Cfg "
#if defined(MOUSEKEY_ENABLE)