Add mouse layer
This commit is contained in:
parent
af6b02d0a5
commit
be256b1d97
1 changed files with 15 additions and 2 deletions
|
@ -21,12 +21,13 @@
|
|||
#define FN 4
|
||||
#define UC 5
|
||||
#define MWH 6
|
||||
#define MOUSE 7
|
||||
|
||||
#include "combos.dtsi" // must be sourced after layer-shortcuts
|
||||
#include "mouse.dtsi"
|
||||
#include "extra_keys.h"
|
||||
|
||||
// ZMK_CONDITIONAL_LAYER(SYS NUM, FN) // SYS + NUM --> FN
|
||||
ZMK_CONDITIONAL_LAYER(SYS NAV, MOUSE) // SYS + NAV --> MOUSE
|
||||
|
||||
/* Navigation keys and misc shortcuts */
|
||||
|
||||
|
@ -294,10 +295,22 @@ ZMK_LAYER(scroll,
|
|||
//├──────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├──────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├──────┤
|
||||
X_LM ___ ___ ___ ___ ___ X_MM ___ ___ U_WH_D ___ ___ X_RM
|
||||
//├──────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├──────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├──────┤
|
||||
X_LB ___ ___ ___ ___ ___ X_MB ___ ___ ___ ___ ___ X_RB
|
||||
X_LB ___ ___ ___ ___ ___ X_MB ___ ___ ___ ___ ___ X_RB
|
||||
//├──────┤ ╰─────────────┼─────────────┴─────────────┼─────────────┼─────────────┤ ├──────┤ ├─────────────┼─────────────┼─────────────┴───────────────────────────╯ ├──────┤
|
||||
X_LH ___ ___ X_MH ___ ___ X_RH
|
||||
//╰──────╯ ╰─────────────┴─────────────╯ ╰──────╯ ╰─────────────┴─────────────╯ ╰──────╯
|
||||
)
|
||||
|
||||
ZMK_LAYER(mouse,
|
||||
//╭──────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭──────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭──────╮
|
||||
X_LT ___ ___ ___ ___ ___ X_MT ___ ___ U_MS_U ___ ___ X_RT
|
||||
//├──────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├──────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├──────┤
|
||||
X_LM ___ ___ ___ ___ ___ X_MM ___ U_MS_L U_MS_D U_MS_R ___ X_RM
|
||||
//├──────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├──────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├──────┤
|
||||
X_LB ___ ___ ___ ___ ___ X_MB ___ ___ ___ ___ ___ X_RB
|
||||
//├──────┤ ╰─────────────┼─────────────┴─────────────┼─────────────┼─────────────┤ ├──────┤ ├─────────────┼─────────────┼─────────────┴───────────────────────────╯ ├──────┤
|
||||
X_LH ___ ___ X_MH U_BTN1 U_BTN2 X_RH
|
||||
//╰──────╯ ╰─────────────┴─────────────╯ ╰──────╯ ╰─────────────┴─────────────╯ ╰──────╯
|
||||
)
|
||||
|
||||
/* vim: set ft=cpp tw=174: */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue