46 lines
962 B
Plaintext
46 lines
962 B
Plaintext
/*
|
|
* Copyright (c) 2020 The ZMK Contributors
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#include <behaviors.dtsi>
|
|
#include <dt-bindings/zmk/keys.h>
|
|
#include <dt-bindings/zmk/bt.h>
|
|
|
|
// Enable ARTSEY Right
|
|
#define ARTSEY_RIGHT 1
|
|
|
|
// ARTS Row
|
|
#define KEY_A 1
|
|
#define KEY_R 2
|
|
#define KEY_T 3
|
|
#define KEY_S 4
|
|
// EYIO Row
|
|
#define KEY_E 7
|
|
#define KEY_Y 8
|
|
#define KEY_I 9
|
|
#define KEY_O 10
|
|
|
|
// Define Offsets
|
|
#define LEADING_NONES NONE(0,0,1)
|
|
#define MIDDLE_NONES NONE(0, 0, 2)
|
|
#define TRAILING_NONES NONE(0, 1, 0)
|
|
|
|
// Thumb buttons (used for BT combos)
|
|
#define THUMB_1 18
|
|
#define THUMB_2 19
|
|
#define THUMB_3 20
|
|
|
|
// Include main artsey.io keymap
|
|
#include "../../../artsey_v0_7.dtsi"
|
|
|
|
/ {
|
|
combos {
|
|
compatible = "zmk,combos";
|
|
chord_bt_clr { key-positions = <THUMB_1 THUMB_3>; bindings = <&bt BT_CLR>; };
|
|
chord_bt_prv { key-positions = <THUMB_1 THUMB_2>; bindings = <&bt BT_PRV>; };
|
|
chord_bt_nxt { key-positions = <THUMB_2 THUMB_3>; bindings = <&bt BT_NXT>; };
|
|
};
|
|
};
|