mirror of
https://github.com/tcaxle/zmk-config.git
synced 2024-11-21 23:01:55 +00:00
45 lines
1.1 KiB
C
45 lines
1.1 KiB
C
/*
|
|
* Copyright (c) 2020 The ZMK Contributors
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#include <behaviors.dtsi>
|
|
#include <dt-bindings/zmk/keys.h>
|
|
|
|
#define BASE 0
|
|
#define LOWER 1
|
|
#define RAISE 2
|
|
#define ADJUST 3
|
|
|
|
/ {
|
|
// Activate ADJUST layer by pressing raise and lower
|
|
|
|
conditional_layers {
|
|
compatible = "zmk,conditional-layers";
|
|
};
|
|
|
|
behaviors {
|
|
};
|
|
|
|
combos {
|
|
compatible = "zmk,combos";
|
|
};
|
|
|
|
keymap {
|
|
compatible = "zmk,keymap";
|
|
|
|
layer_0 {
|
|
bindings = <
|
|
&kp A &kp A &kp A &kp A &kp A &kp A &kp A &kp A &kp A &kp A &kp A &kp A
|
|
&kp A &kp A &kp A &kp A &kp A &kp A &kp A &kp A &kp A &kp A &kp A &kp A
|
|
&kp A &kp A &kp A &kp A &kp A &kp A &kp A &kp A &kp A &kp A &kp A &kp A
|
|
&kp A &kp A &kp A &kp A &kp A &kp A &kp A &kp A &kp A &kp A &kp A &kp A &kp A &kp A
|
|
&kp A &kp A &kp A &kp A &kp A &kp A &kp A &kp A &kp A &kp A
|
|
>;
|
|
|
|
sensor-bindings = <&inc_dec_kp A A>, <&inc_dec_kp A A>;
|
|
};
|
|
};
|
|
};
|