1
0
Fork 0

Renamed Artsey.dtsi; left url to artsey layout image

This commit is contained in:
Glen Goodwin 2022-04-30 12:49:42 -04:00
parent 51f5a15b34
commit ae38d52738

View file

@ -29,16 +29,16 @@
NONE##ONES(&none) NONE##ONES(&none)
/***************************************** /*****************************************
* ARTSEY website : https://www.artsey.io * ARDUX website : https://www.ardux.io
* Primary reference : https://www.artsey.io/_FILES/images/ARTSEY.jpg * Primary reference : https://www.artsey.io/_FILES/images/ARTSEY.jpg
*****************************************/ *****************************************/
/***************************************** /*****************************************
* Setting up ARTSEY comboing * Setting up ARDUX comboing
* - Enabled right OR left handed orientation * - Enabled right OR left handed orientation
* - Please note: A/E key positions should be on your INDEX finger * - Please note: A/E key positions should be on your INDEX finger
* - The online reference is for right handed use * - The online reference is for right handed use
* - When using the ARTSEY layout left handed you'll want to ensure your keypositions are flipped along the Y axis * - When using the ARDUX layout left handed you'll want to ensure your keypositions are flipped along the Y axis
* - Update/adjust the key positions using your boards keymap * - Update/adjust the key positions using your boards keymap
* - See below for additional details * - See below for additional details
* - YOU MUST SET THE FOLLOWING CONFIG VALUES FOR THIS SETUP TO WORK PROPERLY IN YOUR BOARDS .conf FILE * - YOU MUST SET THE FOLLOWING CONFIG VALUES FOR THIS SETUP TO WORK PROPERLY IN YOUR BOARDS .conf FILE
@ -51,21 +51,21 @@
* Define which layout you want to use * Define which layout you want to use
* ONLY ENABLE ONE OF THESE * ONLY ENABLE ONE OF THESE
*****************************************/ *****************************************/
//#define ARTSEY_RIGHT 1 //#define ARDUX_RIGHT 1
//#define ARTSEY_LEFT 1 //#define ARDUX_LEFT 1
//#define ARTSEY_BIG 1 //#define ARDUX_BIG 1
// If you use COLEMAK as your standard keyboard layout, you may want this // If you use COLEMAK as your standard keyboard layout, you may want this
// This define will make base artsey keys and N more in line with COLEMAK // This define will make base ardux keys and N more in line with COLEMAK
//#define ARTSEY_COLEMAK 1 //#define ARDUX_COLEMAK 1
/***************************************** /*****************************************
* Define key positions used for combos * Define key positions used for combos
* These definitions are used to define the various ARTSEY combos * These definitions are used to define the various ARDUX combos
* *
* Please see the documentation on "combos" for details on how to find the proper key positions * Please see the documentation on "combos" for details on how to find the proper key positions
* *
* Default key positions are for a generic 4x2 keyboard and should NOT be used outright * Default key positions are for a generic 4x2 keyboard and should NOT be used outright
* DEFINE these definitions in your boards keymap BEFORE including artsey.dtsi * DEFINE these definitions in your boards keymap BEFORE including ardux.dtsi
*****************************************/ *****************************************/
// ARTS Row // ARTS Row
// #define KEY_A 0 // #define KEY_A 0
@ -77,7 +77,7 @@
// #define KEY_Y 5 // #define KEY_Y 5
// #define KEY_I 6 // #define KEY_I 6
// #define KEY_O 7 // #define KEY_O 7
// Big artsey F1-12 layer keys for combo // Big ardux F1-12 layer keys for combo
// #define KEY_F_TOP -1 // #define KEY_F_TOP -1
// #define KEY_F_BOTTOM -1 // #define KEY_F_BOTTOM -1
@ -100,14 +100,14 @@
* Define custom BT layer extra keys * Define custom BT layer extra keys
* *
* You can override the 2 blank keys on the BT select layer by copy/pasting the below into your keymap * You can override the 2 blank keys on the BT select layer by copy/pasting the below into your keymap
* *before* including the artsey.dtsfile * *before* including the ardux.dtsfile
* Once added to your keymap you can adjust these 2 keys as you see fit * Once added to your keymap you can adjust these 2 keys as you see fit
*****************************************/ *****************************************/
#if !defined ARTSEY_BT_TOP #if !defined ARDUX_BT_TOP
#define ARTSEY_BT_TOP &out OUT_BLE #define ARDUX_BT_TOP &out OUT_BLE
#endif #endif
#if !defined ARTSEY_BT_BOTTOM #if !defined ARDUX_BT_BOTTOM
#define ARTSEY_BT_BOTTOM &out OUT_USB #define ARDUX_BT_BOTTOM &out OUT_USB
#endif #endif
/***************************************** /*****************************************
@ -141,12 +141,12 @@
/***************************************** /*****************************************
* Define custom layer * Define custom layer
* *
* You can override this layer by copy/pasting the into your keymap *before* including the artsey.dtsi file * You can override this layer by copy/pasting the into your keymap *before* including the ardux.dtsi file
* Once added to your keymap you can adjust as you see fit * Once added to your keymap you can adjust as you see fit
*****************************************/ *****************************************/
#if !defined ARTSEY_LAYER_CUSTOM #if !defined ARDUX_LAYER_CUSTOM
#if defined ARTSEY_RIGHT #if defined ARDUX_RIGHT
#define ARTSEY_LAYER_CUSTOM \ #define ARDUX_LAYER_CUSTOM \
custom { \ custom { \
label = "Custom"; \ label = "Custom"; \
bindings = < \ bindings = < \
@ -158,8 +158,8 @@
>; \ >; \
}; };
#endif #endif
#if defined ARTSEY_LEFT #if defined ARDUX_LEFT
#define ARTSEY_LAYER_CUSTOM \ #define ARDUX_LAYER_CUSTOM \
custom { \ custom { \
label = "Custom"; \ label = "Custom"; \
bindings = < \ bindings = < \
@ -174,32 +174,32 @@
#endif #endif
/***************************************** /*****************************************
* Define base layer chars for 'standard ARTSEY' or 'COLEMAK' inspired (you can add more by following the pattern below) * Define base layer chars for 'standard ARDUX' or 'COLEMAK' inspired (you can add more by following the pattern below)
* Turn on the ARTSEY_COLEMAK definition above if you want this change * Turn on the ARDUX_COLEMAK definition above if you want this change
*****************************************/ *****************************************/
#define ARTSEY_BASE_A A #define ARDUX_BASE_A A
#define ARTSEY_BASE_R R #define ARDUX_BASE_R R
#define ARTSEY_BASE_T T #define ARDUX_BASE_T T
#define ARTSEY_BASE_S S #define ARDUX_BASE_S S
#define ARTSEY_BASE_E E #define ARDUX_BASE_E E
#define ARTSEY_BASE_Y Y #define ARDUX_BASE_Y Y
#define ARTSEY_BASE_I I #define ARDUX_BASE_I I
#define ARTSEY_BASE_O O #define ARDUX_BASE_O O
#define ARTSEY_COMBO_N N #define ARDUX_COMBO_N N
#if ARTSEY_COLEMAK #if ARDUX_COLEMAK
#define ARTSEY_BASE_A T #define ARDUX_BASE_A T
#define ARTSEY_BASE_R S #define ARDUX_BASE_R S
#define ARTSEY_BASE_T R #define ARDUX_BASE_T R
#define ARTSEY_BASE_S A #define ARDUX_BASE_S A
#define ARTSEY_BASE_E N #define ARDUX_BASE_E N
#define ARTSEY_BASE_Y E #define ARDUX_BASE_Y E
#define ARTSEY_BASE_I I #define ARDUX_BASE_I I
#define ARTSEY_BASE_O O #define ARDUX_BASE_O O
#define ARTSEY_COMBO_N Y #define ARDUX_COMBO_N Y
#endif #endif
/***************************************** /*****************************************
* Layer IDs used by the ARTSEY keymap * Layer IDs used by the ARDUX keymap
* Do NOT change these and do NOT change the order of the layers as shown below * Do NOT change these and do NOT change the order of the layers as shown below
*****************************************/ *****************************************/
#define LAYER_ID_GLOBAL -1 #define LAYER_ID_GLOBAL -1
@ -214,7 +214,7 @@
#define LAYER_ID_BIG_FUNCTION 8 #define LAYER_ID_BIG_FUNCTION 8
/***************************************** /*****************************************
* Standard ARTSEY combo definitions * Standard ARDUX combo definitions
* These should NOT be changed and are global in scope * These should NOT be changed and are global in scope
*****************************************/ *****************************************/
/ { / {
@ -223,8 +223,8 @@
/***************************************** /*****************************************
* 2 key combos * 2 key combos
*****************************************/ *****************************************/
// Function layer doesn't apply to non-big artsey presently // Function layer doesn't apply to non-big ardux presently
#if defined ARTSEY_BIG #if defined ARDUX_BIG
combo_layer_functions { key-positions = <KEY_F_TOP KEY_F_BOTTOM>; bindings = <&sl LAYER_ID_BIG_FUNCTION>; }; combo_layer_functions { key-positions = <KEY_F_TOP KEY_F_BOTTOM>; bindings = <&sl LAYER_ID_BIG_FUNCTION>; };
#endif #endif
combo_enter { timeout-ms = <TIMEOUT_COMBO_2>; key-positions = <KEY_A KEY_E>; bindings = <&kp ENTER>; }; combo_enter { timeout-ms = <TIMEOUT_COMBO_2>; key-positions = <KEY_A KEY_E>; bindings = <&kp ENTER>; };
@ -237,7 +237,7 @@
combo_b { layers = <LAYER_ID_BASE>; timeout-ms = <TIMEOUT_COMBO_2>; key-positions = <KEY_E KEY_O>; bindings = <&kp B>; }; combo_b { layers = <LAYER_ID_BASE>; timeout-ms = <TIMEOUT_COMBO_2>; key-positions = <KEY_E KEY_O>; bindings = <&kp B>; };
combo_c { layers = <LAYER_ID_BASE>; timeout-ms = <TIMEOUT_COMBO_2>; key-positions = <KEY_E KEY_Y>; bindings = <&kp C>; }; combo_c { layers = <LAYER_ID_BASE>; timeout-ms = <TIMEOUT_COMBO_2>; key-positions = <KEY_E KEY_Y>; bindings = <&kp C>; };
combo_n { layers = <LAYER_ID_BASE>; timeout-ms = <TIMEOUT_COMBO_2>; key-positions = <KEY_I KEY_O>; bindings = <&kp ARTSEY_COMBO_N>; }; combo_n { layers = <LAYER_ID_BASE>; timeout-ms = <TIMEOUT_COMBO_2>; key-positions = <KEY_I KEY_O>; bindings = <&kp ARDUX_COMBO_N>; };
combo_f { layers = <LAYER_ID_BASE>; timeout-ms = <TIMEOUT_COMBO_2>; key-positions = <KEY_A KEY_R>; bindings = <&kp F>; }; combo_f { layers = <LAYER_ID_BASE>; timeout-ms = <TIMEOUT_COMBO_2>; key-positions = <KEY_A KEY_R>; bindings = <&kp F>; };
combo_g { layers = <LAYER_ID_BASE>; timeout-ms = <TIMEOUT_COMBO_2>; key-positions = <KEY_R KEY_T>; bindings = <&kp G>; }; combo_g { layers = <LAYER_ID_BASE>; timeout-ms = <TIMEOUT_COMBO_2>; key-positions = <KEY_R KEY_T>; bindings = <&kp G>; };
combo_u { layers = <LAYER_ID_BASE>; timeout-ms = <TIMEOUT_COMBO_2>; key-positions = <KEY_Y KEY_I>; bindings = <&kp U>; }; combo_u { layers = <LAYER_ID_BASE>; timeout-ms = <TIMEOUT_COMBO_2>; key-positions = <KEY_Y KEY_I>; bindings = <&kp U>; };
@ -285,7 +285,7 @@
}; };
/***************************************** /*****************************************
* Standard ARTSEY layer activation definitions * Standard ARDUX layer activation definitions
* These should NOT be changed and are global in scope * These should NOT be changed and are global in scope
*****************************************/ *****************************************/
/ { / {
@ -312,21 +312,21 @@
}; };
/***************************************** /*****************************************
* Standard ARTSEY layer definitions * Standard ARDUX layer definitions
* !!!!!!!!!! FOR RIGHT HANDED USE !!!!!!!!!! * !!!!!!!!!! FOR RIGHT HANDED USE !!!!!!!!!!
*****************************************/ *****************************************/
#if defined ARTSEY_RIGHT #if defined ARDUX_RIGHT
/ { / {
keymap { keymap {
compatible = "zmk,keymap"; compatible = "zmk,keymap";
#if defined ARTSEY_BIG #if defined ARDUX_BIG
base { base {
label = "*ARTSEY*"; label = "*ARDUX*";
bindings = < bindings = <
BIG_LEADING_NONES BIG_LEADING_NONES
&kp MINUS &layer_parentheticals_kp LAYER_ID_PARENTHETICALS ARTSEY_BASE_A &kp ARTSEY_BASE_R &kp ARTSEY_BASE_T &layer_numbers_kp LAYER_ID_NUMBERS ARTSEY_BASE_S &kp MINUS &layer_parentheticals_kp LAYER_ID_PARENTHETICALS ARDUX_BASE_A &kp ARDUX_BASE_R &kp ARDUX_BASE_T &layer_numbers_kp LAYER_ID_NUMBERS ARDUX_BASE_S
BIG_BETWEEN_ROW_ONE_TWO_NONES BIG_BETWEEN_ROW_ONE_TWO_NONES
&sk LSHFT &layer_symbols_kp LAYER_ID_SYMBOLS ARTSEY_BASE_E &kp ARTSEY_BASE_Y &kp ARTSEY_BASE_I &layer_custom_kp LAYER_ID_CUSTOM ARTSEY_BASE_O &sk LSHFT &layer_symbols_kp LAYER_ID_SYMBOLS ARDUX_BASE_E &kp ARDUX_BASE_Y &kp ARDUX_BASE_I &layer_custom_kp LAYER_ID_CUSTOM ARDUX_BASE_O
BIG_BETWEEN_ROW_TWO_THREE_NONES BIG_BETWEEN_ROW_TWO_THREE_NONES
&kp TAB &kp EQUAL &kp DEL &kp AT &ctrl_alt_kp LALT LCTRL &kp TAB &kp EQUAL &kp DEL &kp AT &ctrl_alt_kp LALT LCTRL
BIG_BETWEEN_ROW_THREE_THUMBS BIG_BETWEEN_ROW_THREE_THUMBS
@ -336,12 +336,12 @@
}; };
#else #else
base { base {
label = "ARTSEY"; label = "ARDUX";
bindings = < bindings = <
LEADING_NONES LEADING_NONES
&layer_parentheticals_kp LAYER_ID_PARENTHETICALS ARTSEY_BASE_A &kp ARTSEY_BASE_R &kp ARTSEY_BASE_T &layer_numbers_kp LAYER_ID_NUMBERS ARTSEY_BASE_S &layer_parentheticals_kp LAYER_ID_PARENTHETICALS ARDUX_BASE_A &kp ARDUX_BASE_R &kp ARDUX_BASE_T &layer_numbers_kp LAYER_ID_NUMBERS ARDUX_BASE_S
MIDDLE_NONES MIDDLE_NONES
&layer_symbols_kp LAYER_ID_SYMBOLS ARTSEY_BASE_E &kp ARTSEY_BASE_Y &kp ARTSEY_BASE_I &layer_custom_kp LAYER_ID_CUSTOM ARTSEY_BASE_O &layer_symbols_kp LAYER_ID_SYMBOLS ARDUX_BASE_E &kp ARDUX_BASE_Y &kp ARDUX_BASE_I &layer_custom_kp LAYER_ID_CUSTOM ARDUX_BASE_O
TRAILING_NONES TRAILING_NONES
#if defined CUSTOM_THUMB #if defined CUSTOM_THUMB
CUSTOM_THUMB CUSTOM_THUMB
@ -393,15 +393,15 @@
label = "BT"; label = "BT";
bindings = < bindings = <
LEADING_NONES LEADING_NONES
&bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 ARTSEY_BT_TOP &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 ARDUX_BT_TOP
MIDDLE_NONES MIDDLE_NONES
&bt BT_SEL 3 &bt BT_SEL 4 &bt BT_SEL 5 ARTSEY_BT_BOTTOM &bt BT_SEL 3 &bt BT_SEL 4 &bt BT_SEL 5 ARDUX_BT_BOTTOM
TRAILING_NONES TRAILING_NONES
>; >;
}; };
ARTSEY_LAYER_CUSTOM ARDUX_LAYER_CUSTOM
#if defined ARTSEY_BIG #if defined ARDUX_BIG
big_artsey_symbol { big_ardux_symbol {
label = "*Symbol*"; label = "*Symbol*";
bindings = < bindings = <
BIG_LEADING_NONES BIG_LEADING_NONES
@ -415,7 +415,7 @@
BIG_TRAILING_NONES BIG_TRAILING_NONES
>; >;
}; };
big_artsey_function { big_ardux_function {
label = "*Func*"; label = "*Func*";
bindings = < bindings = <
BIG_LEADING_NONES BIG_LEADING_NONES
@ -435,21 +435,21 @@
#endif #endif
/***************************************** /*****************************************
* Standard ARTSEY layer definitions * Standard ARDUX layer definitions
* !!!!!!!!!! FOR LEFT HANDED USE !!!!!!!!!! * !!!!!!!!!! FOR LEFT HANDED USE !!!!!!!!!!
*****************************************/ *****************************************/
#if defined ARTSEY_LEFT #if defined ARDUX_LEFT
/ { / {
keymap { keymap {
compatible = "zmk,keymap"; compatible = "zmk,keymap";
#if defined ARTSEY_BIG #if defined ARDUX_BIG
base { base {
label = "*ARTSEY*"; label = "*ARDUX*";
bindings = < bindings = <
BIG_LEADING_NONES BIG_LEADING_NONES
&layer_numbers_kp LAYER_ID_NUMBERS ARTSEY_BASE_S &kp ARTSEY_BASE_T &kp ARTSEY_BASE_R &layer_parentheticals_kp LAYER_ID_PARENTHETICALS ARTSEY_BASE_A &kp MINUS &layer_numbers_kp LAYER_ID_NUMBERS ARDUX_BASE_S &kp ARDUX_BASE_T &kp ARDUX_BASE_R &layer_parentheticals_kp LAYER_ID_PARENTHETICALS ARDUX_BASE_A &kp MINUS
BIG_BETWEEN_ROW_ONE_TWO_NONES BIG_BETWEEN_ROW_ONE_TWO_NONES
&layer_custom_kp LAYER_ID_CUSTOM ARTSEY_BASE_O &kp ARTSEY_BASE_I &kp ARTSEY_BASE_Y &layer_symbols_kp LAYER_ID_SYMBOLS ARTSEY_BASE_E &sk LSHFT &layer_custom_kp LAYER_ID_CUSTOM ARDUX_BASE_O &kp ARDUX_BASE_I &kp ARDUX_BASE_Y &layer_symbols_kp LAYER_ID_SYMBOLS ARDUX_BASE_E &sk LSHFT
BIG_BETWEEN_ROW_TWO_THREE_NONES BIG_BETWEEN_ROW_TWO_THREE_NONES
&ctrl_alt_kp LALT LCTRL &kp AT &kp DEL &kp EQUAL &kp TAB &ctrl_alt_kp LALT LCTRL &kp AT &kp DEL &kp EQUAL &kp TAB
BIG_BETWEEN_ROW_THREE_THUMBS BIG_BETWEEN_ROW_THREE_THUMBS
@ -459,12 +459,12 @@
}; };
#else #else
base { base {
label = "ARTSEY"; label = "ARDUX";
bindings = < bindings = <
LEADING_NONES LEADING_NONES
&layer_numbers_kp LAYER_ID_NUMBERS ARTSEY_BASE_S &kp ARTSEY_BASE_T &kp ARTSEY_BASE_R &layer_parentheticals_kp LAYER_ID_PARENTHETICALS ARTSEY_BASE_A &layer_numbers_kp LAYER_ID_NUMBERS ARDUX_BASE_S &kp ARDUX_BASE_T &kp ARDUX_BASE_R &layer_parentheticals_kp LAYER_ID_PARENTHETICALS ARDUX_BASE_A
MIDDLE_NONES MIDDLE_NONES
&layer_custom_kp LAYER_ID_CUSTOM ARTSEY_BASE_O &kp ARTSEY_BASE_I &kp ARTSEY_BASE_Y &layer_symbols_kp LAYER_ID_SYMBOLS ARTSEY_BASE_E &layer_custom_kp LAYER_ID_CUSTOM ARDUX_BASE_O &kp ARDUX_BASE_I &kp ARDUX_BASE_Y &layer_symbols_kp LAYER_ID_SYMBOLS ARDUX_BASE_E
TRAILING_NONES TRAILING_NONES
#if defined CUSTOM_THUMB #if defined CUSTOM_THUMB
CUSTOM_THUMB CUSTOM_THUMB
@ -516,15 +516,15 @@
label = "BT"; label = "BT";
bindings = < bindings = <
LEADING_NONES LEADING_NONES
ARTSEY_BT_TOP &bt BT_SEL 2 &bt BT_SEL 1 &bt BT_SEL 0 ARDUX_BT_TOP &bt BT_SEL 2 &bt BT_SEL 1 &bt BT_SEL 0
MIDDLE_NONES MIDDLE_NONES
ARTSEY_BT_BOTTOM &bt BT_SEL 5 &bt BT_SEL 4 &bt BT_SEL 3 ARDUX_BT_BOTTOM &bt BT_SEL 5 &bt BT_SEL 4 &bt BT_SEL 3
TRAILING_NONES TRAILING_NONES
>; >;
}; };
ARTSEY_LAYER_CUSTOM ARDUX_LAYER_CUSTOM
#if defined ARTSEY_BIG #if defined ARDUX_BIG
big_artsey_symbol { big_ardux_symbol {
label = "*Symbol*"; label = "*Symbol*";
bindings = < bindings = <
BIG_LEADING_NONES BIG_LEADING_NONES
@ -538,7 +538,7 @@
BIG_TRAILING_NONES BIG_TRAILING_NONES
>; >;
}; };
big_artsey_function { big_ardux_function {
label = "*Func*"; label = "*Func*";
bindings = < bindings = <
BIG_LEADING_NONES BIG_LEADING_NONES