Skip to content

Commit

Permalink
Merge pull request #13 from anoburn/update-zmk-version
Browse files Browse the repository at this point in the history
Update zmk version
  • Loading branch information
mcrosson authored Jul 12, 2024
2 parents 6cba919 + b3a56f0 commit 1f9e79f
Show file tree
Hide file tree
Showing 20 changed files with 75 additions and 117 deletions.
64 changes: 32 additions & 32 deletions config/ardux.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
#if defined ARDUX_RIGHT
#define ARDUX_LAYER_CUSTOM \
custom { \
label = "Custom"; \
display-name = "Custom"; \
bindings = < \
LEADING_NONES \
&kp C_MUTE &kp INS &kp C_VOL_UP &none \
Expand All @@ -161,7 +161,7 @@
#if defined ARDUX_LEFT
#define ARDUX_LAYER_CUSTOM \
custom { \
label = "Custom"; \
display-name = "Custom"; \
bindings = < \
LEADING_NONES \
&none &kp C_VOL_UP &kp INS &kp C_MUTE \
Expand Down Expand Up @@ -290,23 +290,23 @@
*****************************************/
/ {
behaviors {
layer_base_kp: layer_base_kp { compatible = "zmk,behavior-hold-tap"; label = "layer_base_kp";
#binding-cells = <2>; tapping_term_ms = <TIMEOUT_LAYER_HOLD>; flavor = "tap-preferred";
layer_base_kp: layer_base_kp { compatible = "zmk,behavior-hold-tap"; display-name = "layer_base_kp";
#binding-cells = <2>; tapping-term-ms = <TIMEOUT_LAYER_HOLD>; flavor = "tap-preferred";
bindings = <&mo>, <&kp>; };
layer_numbers_kp: layer_numbers_kp { compatible = "zmk,behavior-hold-tap"; label = "layer_numbers_kp";
#binding-cells = <2>; tapping_term_ms = <TIMEOUT_LAYER_HOLD>; flavor = "tap-preferred";
layer_numbers_kp: layer_numbers_kp { compatible = "zmk,behavior-hold-tap"; display-name = "layer_numbers_kp";
#binding-cells = <2>; tapping-term-ms = <TIMEOUT_LAYER_HOLD>; flavor = "tap-preferred";
bindings = <&mo>, <&kp>; };
layer_symbols_kp: layer_symbols_kp { compatible = "zmk,behavior-hold-tap"; label = "layer_symbols_kp";
#binding-cells = <2>; tapping_term_ms = <TIMEOUT_LAYER_HOLD>; flavor = "tap-preferred";
layer_symbols_kp: layer_symbols_kp { compatible = "zmk,behavior-hold-tap"; display-name = "layer_symbols_kp";
#binding-cells = <2>; tapping-term-ms = <TIMEOUT_LAYER_HOLD>; flavor = "tap-preferred";
bindings = <&mo>, <&kp>; };
layer_parentheticals_kp: layer_parentheticals_kp { compatible = "zmk,behavior-hold-tap"; label = "layer_parentheticals_kp";
#binding-cells = <2>; tapping_term_ms = <TIMEOUT_LAYER_HOLD>; flavor = "tap-preferred";
layer_parentheticals_kp: layer_parentheticals_kp { compatible = "zmk,behavior-hold-tap"; display-name = "layer_parentheticals_kp";
#binding-cells = <2>; tapping-term-ms = <TIMEOUT_LAYER_HOLD>; flavor = "tap-preferred";
bindings = <&mo>, <&kp>; };
layer_custom_kp: layer_custom_kp { compatible = "zmk,behavior-hold-tap"; label = "layer_custom_kp";
#binding-cells = <2>; tapping_term_ms = <TIMEOUT_LAYER_HOLD>; flavor = "tap-preferred";
layer_custom_kp: layer_custom_kp { compatible = "zmk,behavior-hold-tap"; display-name = "layer_custom_kp";
#binding-cells = <2>; tapping-term-ms = <TIMEOUT_LAYER_HOLD>; flavor = "tap-preferred";
bindings = <&mo>, <&kp>; };
ctrl_alt_kp: ctrl_alt_kp { compatible = "zmk,behavior-hold-tap"; label = "ctrl_alt_kp";
#binding-cells = <2>; tapping_term_ms = <TIMEOUT_LAYER_HOLD>; flavor = "tap-preferred";
ctrl_alt_kp: ctrl_alt_kp { compatible = "zmk,behavior-hold-tap"; display-name = "ctrl_alt_kp";
#binding-cells = <2>; tapping-term-ms = <TIMEOUT_LAYER_HOLD>; flavor = "tap-preferred";
bindings = <&sk>, <&sk>; };
};
};
Expand All @@ -321,7 +321,7 @@
compatible = "zmk,keymap";
#if defined ARDUX_BIG
base {
label = "*ARDUX*";
display-name = "*ARDUX*";
bindings = <
BIG_LEADING_NONES
&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
Expand All @@ -336,7 +336,7 @@
};
#else
base {
label = "ARDUX";
display-name = "ARDUX";
bindings = <
LEADING_NONES
&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
Expand All @@ -350,7 +350,7 @@
};
#endif
numbers {
label = "Number";
display-name = "Number";
bindings = <
LEADING_NONES
&kp N1 &kp N2 &kp N3 &mo LAYER_ID_NUMBERS
Expand All @@ -360,7 +360,7 @@
>;
};
symbols {
label = "Symbol";
display-name = "Symbol";
bindings = <
LEADING_NONES
&kp EXCL &kp BSLH &kp SEMI &kp GRAVE
Expand All @@ -370,7 +370,7 @@
>;
};
parentheticals {
label = "Paren";
display-name = "Paren";
bindings = <
LEADING_NONES
&mo LAYER_ID_PARENTHETICALS &kp LPAR &kp RPAR &kp LBRC
Expand All @@ -380,7 +380,7 @@
>;
};
navigation {
label = "Nav";
display-name = "Nav";
bindings = <
LEADING_NONES
&kp HOME &kp UP &kp END &kp PG_UP
Expand All @@ -390,7 +390,7 @@
>;
};
bt {
label = "BT";
display-name = "BT";
bindings = <
LEADING_NONES
&bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 ARDUX_BT_TOP
Expand All @@ -402,7 +402,7 @@
ARDUX_LAYER_CUSTOM
#if defined ARDUX_BIG
big_ardux_symbol {
label = "*Symbol*";
display-name = "*Symbol*";
bindings = <
BIG_LEADING_NONES
&kp GRAVE &kp HASH &kp LBRC &kp RBRC &kp CARET
Expand All @@ -416,7 +416,7 @@
>;
};
big_ardux_function {
label = "*Func*";
display-name = "*Func*";
bindings = <
BIG_LEADING_NONES
&none &kp F1 &kp F2 &kp F3 &kp F4
Expand Down Expand Up @@ -444,7 +444,7 @@
compatible = "zmk,keymap";
#if defined ARDUX_BIG
base {
label = "*ARDUX*";
display-name = "*ARDUX*";
bindings = <
BIG_LEADING_NONES
&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
Expand All @@ -459,7 +459,7 @@
};
#else
base {
label = "ARDUX";
display-name = "ARDUX";
bindings = <
LEADING_NONES
&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
Expand All @@ -473,7 +473,7 @@
};
#endif
numbers {
label = "Number";
display-name = "Number";
bindings = <
LEADING_NONES
&mo LAYER_ID_NUMBERS &kp N3 &kp N2 &kp N1
Expand All @@ -483,7 +483,7 @@
>;
};
symbols {
label = "Symbol";
display-name = "Symbol";
bindings = <
LEADING_NONES
&kp GRAVE &kp SEMI &kp BSLH &kp EXCL
Expand All @@ -493,7 +493,7 @@
>;
};
parentheticals {
label = "Paren";
display-name = "Paren";
bindings = <
LEADING_NONES
&kp LBRC &kp LPAR &kp RPAR &mo LAYER_ID_PARENTHETICALS
Expand All @@ -503,7 +503,7 @@
>;
};
navigation {
label = "Nav";
display-name = "Nav";
bindings = <
LEADING_NONES
&kp PG_UP &kp HOME &kp UP &kp END
Expand All @@ -513,7 +513,7 @@
>;
};
bt {
label = "BT";
display-name = "BT";
bindings = <
LEADING_NONES
ARDUX_BT_TOP &bt BT_SEL 2 &bt BT_SEL 1 &bt BT_SEL 0
Expand All @@ -525,7 +525,7 @@
ARDUX_LAYER_CUSTOM
#if defined ARDUX_BIG
big_ardux_symbol {
label = "*Symbol*";
display-name = "*Symbol*";
bindings = <
BIG_LEADING_NONES
&kp CARET &kp LBRC &kp RBRC &kp HASH &kp GRAVE
Expand All @@ -539,7 +539,7 @@
>;
};
big_ardux_function {
label = "*Func*";
display-name = "*Func*";
bindings = <
BIG_LEADING_NONES
&kp F4 &kp F3 &kp F2 &kp F1 &none
Expand Down
19 changes: 5 additions & 14 deletions config/boards/shields/artboard/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,17 @@ config I2C
config SSD1306
default y

config SSD1306_REVERSE_MODE
default y

config LVGL_HOR_RES_MAX
default 128

config LVGL_VER_RES_MAX
default 32

config LVGL_VDB_SIZE
config LV_Z_VDB_SIZE
default 64

config LVGL_DPI
config LV_DPI_DEF
default 148

config LVGL_BITS_PER_PIXEL
config LV_Z_BITS_PER_PIXEL
default 1

choice LVGL_COLOR_DEPTH
default LVGL_COLOR_DEPTH_1
choice LV_COLOR_DEPTH
default LV_COLOR_DEPTH_1
endchoice

endif
1 change: 1 addition & 0 deletions config/boards/shields/artboard/artboard_left.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
com-invdir;
com-sequential;
prechargep = <0x22>;
inversion-on;
};
};

Expand Down
1 change: 1 addition & 0 deletions config/boards/shields/artboard/artboard_right.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
com-invdir;
com-sequential;
prechargep = <0x22>;
inversion-on;
};
};

Expand Down
19 changes: 5 additions & 14 deletions config/boards/shields/corne_left/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,17 @@ config I2C
config SSD1306
default y

config SSD1306_REVERSE_MODE
default y

config LVGL_HOR_RES_MAX
default 128

config LVGL_VER_RES_MAX
default 32

config LVGL_VDB_SIZE
config LV_Z_VDB_SIZE
default 64

config LVGL_DPI
config LV_DPI_DEF
default 148

config LVGL_BITS_PER_PIXEL
config LV_Z_BITS_PER_PIXEL
default 1

choice LVGL_COLOR_DEPTH
default LVGL_COLOR_DEPTH_1
choice LV_COLOR_DEPTH
default LV_COLOR_DEPTH_1
endchoice

endif
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
com-invdir;
com-sequential;
prechargep = <0x22>;
inversion-on;
};
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
com-invdir;
com-sequential;
prechargep = <0x22>;
inversion-on;
};
};

Expand Down
1 change: 1 addition & 0 deletions config/boards/shields/corne_left/corne_ardux_left.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
com-invdir;
com-sequential;
prechargep = <0x22>;
inversion-on;
};
};

Expand Down
19 changes: 5 additions & 14 deletions config/boards/shields/corne_right/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,17 @@ config I2C
config SSD1306
default y

config SSD1306_REVERSE_MODE
default y

config LVGL_HOR_RES_MAX
default 128

config LVGL_VER_RES_MAX
default 32

config LVGL_VDB_SIZE
config LV_Z_VDB_SIZE
default 64

config LVGL_DPI
config LV_DPI_DEF
default 148

config LVGL_BITS_PER_PIXEL
config LV_Z_BITS_PER_PIXEL
default 1

choice LVGL_COLOR_DEPTH
default LVGL_COLOR_DEPTH_1
choice LV_COLOR_DEPTH
default LV_COLOR_DEPTH_1
endchoice

endif
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
com-invdir;
com-sequential;
prechargep = <0x22>;
inversion-on;
};
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
com-invdir;
com-sequential;
prechargep = <0x22>;
inversion-on;
};
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
com-invdir;
com-sequential;
prechargep = <0x22>;
inversion-on;
};
};

Expand Down
Loading

0 comments on commit 1f9e79f

Please sign in to comment.