mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-06-22 13:12:43 -04:00
Combined function and config
- removed config layer - was able to spread everything out to the function layer - cleaned up combo and oled code because of this
This commit is contained in:
parent
fee58201e5
commit
5fc856d0ea
11 changed files with 19 additions and 50 deletions
|
@ -6,7 +6,6 @@ enum combos {
|
|||
MOUSE_DRGTOG,
|
||||
|
||||
LYR_FUNCTION,
|
||||
LYR_CONFIG,
|
||||
|
||||
COMBO_LENGTH
|
||||
};
|
||||
|
@ -15,7 +14,6 @@ const uint16_t PROGMEM mou_btn2_combo[] = { KC_C, KC_V, COMBO_END };
|
|||
const uint16_t PROGMEM mou_drg_combo[] = { KC_X, KC_V, COMBO_END };
|
||||
|
||||
const uint16_t PROGMEM lyr_fun_combo[] = { NUM, TR_LSFT, COMBO_END };
|
||||
const uint16_t PROGMEM lyr_cfg_combo[] = { KC_SPC, NAV, COMBO_END };
|
||||
|
||||
//their documentation is so confusing because you don't use COMBO_LEN defining the actions
|
||||
uint16_t COMBO_LEN = COMBO_LENGTH;
|
||||
|
@ -24,7 +22,5 @@ combo_t key_combos[COMBO_LENGTH] = {
|
|||
[MOUSE_BUTTON2] = COMBO(mou_btn2_combo, KC_BTN2),
|
||||
[MOUSE_DRGTOG] = COMBO(mou_drg_combo, TR_DRGS),
|
||||
|
||||
[LYR_FUNCTION] = COMBO(lyr_fun_combo, FUNC),
|
||||
[LYR_CONFIG] = COMBO(lyr_cfg_combo, CONFIG)
|
||||
|
||||
[LYR_FUNCTION] = COMBO(lyr_fun_combo, FUNC)
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue