mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-07-05 11:20:35 -04:00
Splitting up layers
- split mouse_func into mouse, function, config - thumb combos returned - adjusted combo and oled configuration - big ol keymap changes - hinting at return to boards without encoders
This commit is contained in:
parent
b3649afc23
commit
fee58201e5
12 changed files with 189 additions and 97 deletions
|
@ -1,19 +1,30 @@
|
|||
#pragma once
|
||||
#include "t4corun.h"
|
||||
|
||||
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 };
|
||||
|
||||
enum combos {
|
||||
MOUSE_BUTTON2,
|
||||
MOUSE_DRGTOG,
|
||||
|
||||
LYR_FUNCTION,
|
||||
LYR_CONFIG,
|
||||
|
||||
COMBO_LENGTH
|
||||
};
|
||||
|
||||
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;
|
||||
|
||||
combo_t key_combos[COMBO_LENGTH] = {
|
||||
[MOUSE_BUTTON2] = COMBO(mou_btn2_combo, KC_BTN2),
|
||||
[MOUSE_DRGTOG] = COMBO(mou_drg_combo, TR_DRGS)
|
||||
};
|
||||
[MOUSE_DRGTOG] = COMBO(mou_drg_combo, TR_DRGS),
|
||||
|
||||
[LYR_FUNCTION] = COMBO(lyr_fun_combo, FUNC),
|
||||
[LYR_CONFIG] = COMBO(lyr_cfg_combo, CONFIG)
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue