#define EXTRA 8
This commit is contained in:
parent
a3fc00f4df
commit
c02f3fc715
1 changed files with 16 additions and 7 deletions
|
|
@ -80,6 +80,7 @@ SPDX-License-Identifier: MIT
|
||||||
#define MOUSE 5
|
#define MOUSE 5
|
||||||
#define NONE_LOCK_LAYER 6
|
#define NONE_LOCK_LAYER 6
|
||||||
#define LOCK_LAYER 7
|
#define LOCK_LAYER 7
|
||||||
|
#define EXTRA 8
|
||||||
#define LOCK &tog LOCK_LAYER
|
#define LOCK &tog LOCK_LAYER
|
||||||
#define UNLOCK &tog DEFAULT
|
#define UNLOCK &tog DEFAULT
|
||||||
// combinadas para optimizar espacio
|
// combinadas para optimizar espacio
|
||||||
|
|
@ -116,7 +117,7 @@ SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
tri_layer {
|
tri_layer {
|
||||||
if-layers = <NONE_LOCK_LAYER LOCK_LAYER>;
|
if-layers = <NONE_LOCK_LAYER LOCK_LAYER>;
|
||||||
then-layer = <FUNCTION>;
|
then-layer = <EXTRA>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -288,6 +289,14 @@ SPDX-License-Identifier: MIT
|
||||||
&none &none &none &none &none &mo NONE_LOCK_LAYER
|
&none &none &none &none &none &mo NONE_LOCK_LAYER
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
extra_layer {
|
||||||
|
bindings = <
|
||||||
|
&none &none &none &none &none &none &none &none &none &none &none &none
|
||||||
|
&none &none &none &none &none &none &none &none &none &none &none UNLOCK
|
||||||
|
&none &none &none &none &none &none &none &none &none &none &none &none
|
||||||
|
&none &none &none &none &none &none
|
||||||
|
>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
// }}}
|
// }}}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue