39 lines
832 B
Text
39 lines
832 B
Text
|
/*
|
||
|
* Copyright (c) 2021 Mike "KemoNine" Crosson
|
||
|
*
|
||
|
* SPDX-License-Identifier: MIT
|
||
|
*/
|
||
|
|
||
|
#include <behaviors.dtsi>
|
||
|
#include <dt-bindings/zmk/keys.h>
|
||
|
#include <dt-bindings/zmk/bt.h>
|
||
|
|
||
|
// THE BOARD IS FLIPPED FOR LEFT BUT STILL WIRED RIGHT!
|
||
|
#define ARTSEY_LEFT 1
|
||
|
|
||
|
// ARTS Row
|
||
|
#define KEY_A 7
|
||
|
#define KEY_R 6
|
||
|
#define KEY_T 5
|
||
|
#define KEY_S 4
|
||
|
// EYIO Row
|
||
|
#define KEY_E 3
|
||
|
#define KEY_Y 2
|
||
|
#define KEY_I 1
|
||
|
#define KEY_O 0
|
||
|
|
||
|
// Define Offsets
|
||
|
#define LEADING_NONES NONE(0, 0, 0)
|
||
|
#define MIDDLE_NONES NONE(0, 0, 0)
|
||
|
#define TRAILING_NONES NONE(0, 0, 0)
|
||
|
|
||
|
// Include main artsey.io keymap
|
||
|
#include "../../../artsey.dtsi"
|
||
|
|
||
|
/ {
|
||
|
combos {
|
||
|
compatible = "zmk,combos";
|
||
|
combo_bt_nxt { key-positions = <KEY_A KEY_E KEY_S KEY_O>; bindings = <&bt BT_NXT>; };
|
||
|
combo_bt_clr { key-positions = <KEY_R KEY_Y KEY_T KEY_I>; bindings = <&bt BT_CLR>; };
|
||
|
};
|
||
|
};
|