2023-10-17 12:25:40 +01:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2020 The ZMK Contributors
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <behaviors.dtsi>
|
2023-10-17 15:02:35 +01:00
|
|
|
#include <dt-bindings/zmk/keys.h>
|
2023-10-17 12:25:40 +01:00
|
|
|
|
|
|
|
#define BASE 0
|
|
|
|
#define LOWER 1
|
|
|
|
#define RAISE 2
|
|
|
|
#define ADJUST 3
|
|
|
|
|
|
|
|
/ {
|
2023-10-17 15:02:35 +01:00
|
|
|
// Activate ADJUST layer by pressing raise and lower
|
2023-10-17 12:25:40 +01:00
|
|
|
|
|
|
|
conditional_layers {
|
|
|
|
compatible = "zmk,conditional-layers";
|
2023-10-17 15:02:35 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
behaviors {
|
2023-10-18 10:54:52 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
combos {
|
|
|
|
compatible = "zmk,combos";
|
2023-10-17 12:25:40 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
keymap {
|
|
|
|
compatible = "zmk,keymap";
|
|
|
|
|
2023-10-18 20:39:12 +01:00
|
|
|
layer_0 {
|
2023-10-17 15:02:35 +01:00
|
|
|
bindings = <
|
2023-10-18 20:39:12 +01:00
|
|
|
&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
|
2023-10-17 15:02:35 +01:00
|
|
|
>;
|
|
|
|
|
2023-10-18 20:39:12 +01:00
|
|
|
sensor-bindings = <&inc_dec_kp A A>, <&inc_dec_kp A A>;
|
2023-10-17 15:02:35 +01:00
|
|
|
};
|
2023-10-17 12:25:40 +01:00
|
|
|
};
|
|
|
|
};
|