diff --git a/README.md b/README.md index 8bf43b0..2dbd3bb 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,24 @@ # zmk-config +
+ ʻākohekohe (26 keys), click here to see the keymap! + + + _(keymap image generated with [caksoylar/keymap-drawer](https://github.com/caksoylar/keymap-drawer))_ +
+
Rommana (30 keys), click here to see the keymap! - _(keymap image generated by [caksoylar/keymap-drawer](https://github.com/caksoylar/keymap-drawer))_ + _(keymap image generated with [caksoylar/keymap-drawer](https://github.com/caksoylar/keymap-drawer))_
Sweep (34 keys), click here to see the keymap! - _(keymap image generated by [caksoylar/keymap-drawer](https://github.com/caksoylar/keymap-drawer))_ + _(keymap image generated with [caksoylar/keymap-drawer](https://github.com/caksoylar/keymap-drawer))_
--- diff --git a/boards/shields/akohekohe/Kconfig.defconfig b/boards/shields/akohekohe/Kconfig.defconfig new file mode 100644 index 0000000..72f8bfe --- /dev/null +++ b/boards/shields/akohekohe/Kconfig.defconfig @@ -0,0 +1,9 @@ +# Copyright (c) 2022 The ZMK Contributors +# SPDX-License-Identifier: MIT + +if SHIELD_AKOHEKOHE + +config ZMK_KEYBOARD_NAME + default "akohekohe" + +endif diff --git a/boards/shields/akohekohe/Kconfig.shield b/boards/shields/akohekohe/Kconfig.shield new file mode 100644 index 0000000..c44a7b8 --- /dev/null +++ b/boards/shields/akohekohe/Kconfig.shield @@ -0,0 +1,5 @@ +# Copyright (c) 2022 The ZMK Contributors +# SPDX-License-Identifier: MIT + +config SHIELD_AKOHEKOHE + def_bool $(shields_list_contains,akohekohe) diff --git a/boards/shields/akohekohe/akohekohe.conf b/boards/shields/akohekohe/akohekohe.conf new file mode 100644 index 0000000..1d7d314 --- /dev/null +++ b/boards/shields/akohekohe/akohekohe.conf @@ -0,0 +1,10 @@ +# 3 profiles +CONFIG_BT_MAX_CONN=3 +CONFIG_BT_MAX_PAIRED=3 + +# combo config +CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY=7 + +# battery reporting +CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_FETCHING=y +CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_PROXY=y diff --git a/boards/shields/akohekohe/akohekohe.json b/boards/shields/akohekohe/akohekohe.json new file mode 100644 index 0000000..9f58402 --- /dev/null +++ b/boards/shields/akohekohe/akohekohe.json @@ -0,0 +1,41 @@ +{ + "id": "akohekohe", + "name": "akohekohe", + "layouts": { + "default_layout": { + "name": "default_layout", + "layout": [ + { "row": 0, "col": 1, "x": 1.772, "y": 0.136, "r": 19, "rx": 2.272, "ry": 0.636 }, + { "row": 0, "col": 2, "x": 2.94, "y": 0.293, "r": 22, "rx": 3.44, "ry": 0.793 }, + { "row": 0, "col": 3, "x": 3.802, "y": 0.939, "r": 22, "rx": 4.302, "ry": 1.439 }, + { "row": 0, "col": 4, "x": 4.573, "y": 1.824, "r": 22, "rx": 5.073, "ry": 2.324 }, + { "row": 0, "col": 5, "x": 6.452, "y": 1.824, "r": -22, "rx": 6.952, "ry": 2.324 }, + { "row": 0, "col": 7, "x": 7.224, "y": 0.939, "r": -22, "rx": 7.724, "ry": 1.439 }, + { "row": 0, "col": 9, "x": 8.085, "y": 0.293, "r": -22, "rx": 8.585, "ry": 0.793 }, + { "row": 0, "col": 10, "x": 9.254, "y": 0.136, "r": -19, "rx": 9.754, "ry": 0.636 }, + + { "row": 1, "col": 0, "x": 0.106, "y": 1.759, "r": 14, "rx": 0.606, "ry": 2.259 }, + { "row": 1, "col": 1, "x": 1.456, "y": 1.109, "r": 19, "rx": 1.956, "ry": 1.609 }, + { "row": 1, "col": 2, "x": 2.576, "y": 1.247, "r": 22, "rx": 3.076, "ry": 1.747 }, + { "row": 1, "col": 3, "x": 3.438, "y": 1.894, "r": 22, "rx": 3.938, "ry": 2.394 }, + { "row": 1, "col": 4, "x": 4.209, "y": 2.778, "r": 22, "rx": 4.709, "ry": 3.278 }, + { "row": 1, "col": 5, "x": 6.817, "y": 2.778, "r": -22, "rx": 7.317, "ry": 3.278 }, + { "row": 1, "col": 7, "x": 7.587, "y": 1.894, "r": -22, "rx": 8.087, "ry": 2.394 }, + { "row": 1, "col": 9, "x": 8.449, "y": 1.247, "r": -22, "rx": 8.949, "ry": 1.747 }, + { "row": 1, "col": 10, "x": 9.569, "y": 1.109, "r": -19, "rx": 10.069, "ry": 1.609 }, + { "row": 1, "col": 11, "x": 10.928, "y": 1.759, "r": -14, "rx": 11.428, "ry": 2.259 }, + + { "row": 2, "col": 1, "x": 1.139, "y": 2.082, "r": 19, "rx": 1.639, "ry": 2.582 }, + { "row": 2, "col": 2, "x": 2.212, "y": 2.202, "r": 22, "rx": 2.712, "ry": 2.702 }, + { "row": 2, "col": 3, "x": 3.074, "y": 2.848, "r": 22, "rx": 3.574, "ry": 3.348 }, + { "row": 2, "col": 6, "x": 7.952, "y": 2.848, "r": -22, "rx": 8.452, "ry": 3.348 }, + { "row": 2, "col": 7, "x": 8.814, "y": 2.202, "r": -22, "rx": 9.314, "ry": 2.702 }, + { "row": 2, "col": 8, "x": 9.886, "y": 2.082, "r": -19, "rx": 10.386, "ry": 2.582 }, + + { "row": 3, "col": 4, "x": 3.673, "y": 4.183, "r": 37, "rx": 4.173, "ry": 4.683, "w": 1.5 }, + { "row": 3, "col": 9, "x": 6.852, "y": 4.183, "r": -37, "rx": 7.852, "ry": 4.683, "w": 1.5 } + ] + } + }, + "sensors": [] + } diff --git a/boards/shields/akohekohe/akohekohe.keymap b/boards/shields/akohekohe/akohekohe.keymap new file mode 100644 index 0000000..e29af7e --- /dev/null +++ b/boards/shields/akohekohe/akohekohe.keymap @@ -0,0 +1,97 @@ +/* + * Copyright (c) 2022 The ZMK Contributors + * + * SPDX-License-Identifier: MIT + */ + +#include +#include + +#define DEF_L 0 +#define NAV_L 1 +#define NUM_L 2 +#define SYM_L 3 + +// Using layer taps on thumbs, having quick tap as well helps w/ repeating space/backspace +< { quick-tap-ms = <200>; }; + +/ { + behaviors { + hm: homerow_mods { + compatible = "zmk,behavior-hold-tap"; + #binding-cells = <2>; + tapping-term-ms = <225>; + flavor = "tap-preferred"; + bindings = <&kp>, <&kp>; + }; + }; + + combos { + compatible = "zmk,combos"; + combo_z { + timeout-ms = <50>; + key-positions = <20 21>; + bindings = <&kp Z>; + }; + combo_b { + timeout-ms = <50>; + key-positions = <21 22>; + bindings = <&kp B>; + }; + + combo_y { + timeout-ms = <50>; + key-positions = <23 24>; + bindings = <&kp Y>; + }; + + combo_slash { + timeout-ms = <50>; + key-positions = <24 25>; + bindings = <&kp SLASH>; + }; + }; + + keymap { + compatible = "zmk,keymap"; + + default_layer { + bindings = < + &kp W &kp E &kp R &kp T &kp H &kp U &kp I &kp O + &hm LGUI A &hm LALT S &hm LCTRL D &hm LSHFT F &kp G &kp N &hm RSHFT J &hm RCTRL K &hm LALT L &hm RGUI QUOT + &kp X &kp C &kp V &kp M &kp COMMA &kp DOT + &kp RET < NUM_L SPACE + >; + }; + + nav_layer { + display-name = "Nav"; + bindings = < + &trans &trans &trans &trans &trans &kp HOME &kp UARW &kp PG_UP + &trans &trans &trans &trans &trans &trans &kp LARW &kp DARW &kp RARW &trans + &trans &trans &trans &kp END &trans &kp PG_DN + &trans &kp ESC + >; + }; + + num_layer { + display-name = "Num"; + bindings = < + &kp N7 &kp N8 &kp N9 &kp RBKT &trans &trans &trans &trans + &kp SEMI &kp N4 &kp N5 &kp N6 &kp EQUAL &trans &trans &trans &trans &trans + &kp N1 &kp N2 &kp N3 &trans &trans &trans + &kp MINUS &trans + >; + }; + + sym_layer { + display-name = "Sym"; + bindings = < + &kp LS(N7) &kp LS(N8) &kp LS(N9) &kp RBRC &trans &trans &trans &trans + &kp COLON &kp LS(N4) &kp LS(N5) &kp LS(N6) &kp PLUS &trans &trans &trans &trans &trans + &kp LS(N1) &kp LS(N2) &kp LS(N3) &trans &trans &trans + &kp UNDER &trans + >; + }; + }; +}; diff --git a/boards/shields/akohekohe/akohekohe.overlay b/boards/shields/akohekohe/akohekohe.overlay new file mode 100644 index 0000000..601b8e6 --- /dev/null +++ b/boards/shields/akohekohe/akohekohe.overlay @@ -0,0 +1,56 @@ +/* + * Copyright (c) 2022 The ZMK Contributors + * + * SPDX-License-Identifier: MIT + */ + +#include +#include + +/ { + chosen { + zmk,kscan = &kscan0; + zmk,matrix-transform = &default_transform; + /delete-property/ zephyr,console; + /delete-property/ zephyr,shell-uart; + }; + + default_transform: keymap_transform_0 { + compatible = "zmk,matrix-transform"; + columns = <7>; + rows = <6>; + map = < + RC(1,0) RC(0,1) RC(1,1) RC(0,2) RC(1,2) RC(0,3) RC(1,3) RC(0,4) + RC(2,0) RC(3,0) RC(2,1) RC(3,1) RC(2,2) RC(3,2) RC(2,3) RC(3,3) RC(2,4) RC(3,4) + RC(4,0) RC(5,0) RC(4,1) RC(5,2) RC(4,3) RC(5,3) + RC(4,2) RC(5,4) + >; + }; + + kscan0: kscan_0 { + compatible = "zmk,kscan-gpio-matrix"; + diode-direction = "row2col"; + wakeup-source; + + col-gpios + = <&xiao_d 6 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> + , <&xiao_d 7 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> + , <&xiao_d 8 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> + , <&xiao_d 9 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> + , <&xiao_d 10 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> + ; + + row-gpios + = <&xiao_d 0 GPIO_ACTIVE_HIGH> + , <&xiao_d 1 GPIO_ACTIVE_HIGH> + , <&xiao_d 2 GPIO_ACTIVE_HIGH> + , <&xiao_d 3 GPIO_ACTIVE_HIGH> + , <&xiao_d 4 GPIO_ACTIVE_HIGH> + , <&xiao_d 5 GPIO_ACTIVE_HIGH> + ; + }; + +}; + +&xiao_spi { status = "disabled"; }; +&xiao_serial { status = "disabled"; }; diff --git a/boards/shields/akohekohe/akohekohe.yml b/boards/shields/akohekohe/akohekohe.yml new file mode 100644 index 0000000..cf3bef6 --- /dev/null +++ b/boards/shields/akohekohe/akohekohe.yml @@ -0,0 +1,8 @@ +file_format: "1" +id: "akohekohe" +name: "akohekohe" +type: shield +url: https://github.com/grassfedreeve/akohekohe +requires: [seeed_xiao] +features: + - keys diff --git a/build.yaml b/build.yaml index 1442701..d9485e8 100644 --- a/build.yaml +++ b/build.yaml @@ -1,6 +1,16 @@ # This file generates the GitHub Actions matrix --- include: + # akohekohe + - board: seeeduino_xiao_ble + shield: akohekohe rgbled_adapter + + - board: seeeduino_xiao_ble + shield: akohekohe rgbled_adapter + snippet: zmk-usb-logging + cmake-args: -DCONFIG_LOG_PROCESS_THREAD_STARTUP_DELAY_MS=8000 + artifact-name: akohekohe_with_logging + # rommana - board: seeeduino_xiao_ble shield: rommana_dongle dongle_display diff --git a/config/akohekohe.keymap b/config/akohekohe.keymap new file mode 100644 index 0000000..f3cbe69 --- /dev/null +++ b/config/akohekohe.keymap @@ -0,0 +1,3 @@ +#define KEYS_26 + +#include "keymap/keymap.dtsi" diff --git a/config/keymap/include/keypos.h b/config/keymap/include/keypos.h index c5275fd..f302bf9 100644 --- a/config/keymap/include/keypos.h +++ b/config/keymap/include/keypos.h @@ -1,24 +1,80 @@ +/* This file is based on the keyposition files from + * https://github.com/urob/zmk-helpers and + * https://github.com/caksoylar/zmk-config + */ + +#pragma once + +#if defined(KEYS_26) + +/* KEY POSITIONS +26 keys: + ╭────────────────╮ ╭────────────────╮ ╭─────────────────╮ ╭────────────────╮ + ╭───╯ 0 1 2 3 │ │ 4 5 6 7 ╰───╮ ╭───╯ LT3 LT2 LT1 LT0 │ │ RT0 RT1 RT2 RT3╰────╮ + │ 8 9 10 11 12 │ │ 13 14 15 16 17 │ │ LM4 LM3 LM2 LM1 LM0 │ │ RM0 RM1 RM2 RM3 RM4 │ + ╰───╮ 18 19 20 │ │ 21 22 23 ╭───╯ ╰───╮ LB3 LB2 LB1 │ │ RB1 RB2 RB3 ╭───╯ + ╰───────────╮ 24 │ │ 25 ╭───────────╯ ╰───────────╮ LH0 │ │ RH0 ╭───────────╯ + ╰────╯ ╰────╯ ╰─────╯ ╰─────╯ +*/ +#define KEYS_L 0 1 2 3 8 9 10 11 12 18 19 20 // left hand +#define KEYS_R 4 5 6 7 13 14 15 16 17 21 22 23 // right hand +#define THUMBS 24 25 // thumbs + +#define LT0 3 // left-top row +#define LT1 2 +#define LT2 1 +#define LT3 0 + +#define RT0 4 // right-top row +#define RT1 5 +#define RT2 6 +#define RT3 7 + +#define LM0 12 // left-middle row +#define LM1 11 +#define LM2 10 +#define LM3 9 +#define LM4 8 + +#define RM0 13 // right-middle row +#define RM1 14 +#define RM2 15 +#define RM3 16 +#define RM4 17 + +#define LB1 20 // left-bottom row +#define LB2 19 +#define LB3 18 + +#define RB1 21 // right-bottom row +#define RB2 22 +#define RB3 23 + +#define LH0 24 // left thumb keys + +#define RH0 25 // right thumb keys + +#define LAYER_FROM34( \ + k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, \ + k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, \ + k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, \ + k30, k31, k32, k33 \ +) \ + k01 k02 k03 k04 k05 k06 k07 k08 \ + k10 k11 k12 k13 k14 k15 k16 k17 k18 k19 \ + k21 k22 k23 k26 k27 k28 \ + k31 k32 + +#elif defined(KEYS_30) + /* KEY POSITIONS -30 keys: ╭────────────────────╮ ╭────────────────────╮ ╭─────────────────────╮ ╭─────────────────────╮ │ 0 1 2 3 4 │ │ 5 6 7 8 9 │ │ LT4 LT3 LT2 LT1 LT0 │ │ RT0 RT1 RT2 RT3 RT4 │ │ 10 11 12 13 14 │ │ 15 16 17 18 19 │ │ LM4 LM3 LM2 LM1 LM0 │ │ RM0 RM1 RM2 RM3 RM4 │ ╰───╮ 20 21 22 │ │ 23 24 25 ╭───╯ ╰───╮ LB3 LB2 LB1 │ │ RB1 RB2 RB3 ╭───╯ ╰───────╮ 26 27 │ │ 28 29 ╭───────╯ ╰───────╮ LH1 LH0 │ │ RH0 RH1 ╭───────╯ ╰────────╯ ╰────────╯ ╰─────────╯ ╰─────────╯ -34 keys: - ╭────────────────────╮ ╭────────────────────╮ ╭─────────────────────╮ ╭─────────────────────╮ - │ 0 1 2 3 4 │ │ 5 6 7 8 9 │ │ LT4 LT3 LT2 LT1 LT0 │ │ RT0 RT1 RT2 RT3 RT4 │ - │ 10 11 12 13 14 │ │ 15 16 17 18 19 │ │ LM4 LM3 LM2 LM1 LM0 │ │ RM0 RM1 RM2 RM3 RM4 │ - │ 20 21 22 23 24 │ │ 25 26 27 28 29 │ │ LB4 LB3 LB2 LB1 LB0 │ │ RB0 RB1 RB2 RB3 RB4 │ - ╰───────────╮ 30 31 │ │ 32 33 ╭───────────╯ ╰───────────╮ LH1 LH0 │ │ RH0 RH1 ╭───────────╯ - ╰────────╯ ╰────────╯ ╰─────────╯ ╰─────────╯ */ - -#pragma once - -#if defined(KEYS_30) - #define KEYS_L 0 1 2 3 4 10 11 12 13 14 20 21 22 // left hand #define KEYS_R 5 6 7 8 9 15 16 17 18 19 23 24 25 // right hand #define THUMBS 26 27 28 29 // thumbs @@ -61,8 +117,27 @@ #define RH0 28 // right thumb keys #define RH1 29 +#define LAYER_FROM34( \ + k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, \ + k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, \ + k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, \ + k30, k31, k32, k33 \ +) \ + k00 k01 k02 k03 k04 k05 k06 k07 k08 k09 \ + k10 k11 k12 k13 k14 k15 k16 k17 k18 k19 \ + k21 k22 k23 k26 k27 k28 \ + k30 k31 k32 k33 + #elif defined(KEYS_34) +/* KEY POSITIONS + ╭────────────────────╮ ╭────────────────────╮ ╭─────────────────────╮ ╭─────────────────────╮ + │ 0 1 2 3 4 │ │ 5 6 7 8 9 │ │ LT4 LT3 LT2 LT1 LT0 │ │ RT0 RT1 RT2 RT3 RT4 │ + │ 10 11 12 13 14 │ │ 15 16 17 18 19 │ │ LM4 LM3 LM2 LM1 LM0 │ │ RM0 RM1 RM2 RM3 RM4 │ + │ 20 21 22 23 24 │ │ 25 26 27 28 29 │ │ LB4 LB3 LB2 LB1 LB0 │ │ RB0 RB1 RB2 RB3 RB4 │ + ╰───────────╮ 30 31 │ │ 32 33 ╭───────────╯ ╰───────────╮ LH1 LH0 │ │ RH0 RH1 ╭───────────╯ + ╰────────╯ ╰────────╯ ╰─────────╯ ╰─────────╯ +*/ #define KEYS_L 0 1 2 3 4 10 11 12 13 14 20 21 22 23 24 // left hand #define KEYS_R 5 6 7 8 9 15 16 17 18 19 25 26 27 28 29 // right hand #define THUMBS 30 31 32 33 // thumbs @@ -109,8 +184,19 @@ #define RH0 32 // right thumb keys #define RH1 33 +#define LAYER_FROM34( \ + k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, \ + k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, \ + k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, \ + k30, k31, k32, k33 \ +) \ + k00 k01 k02 k03 k04 k05 k06 k07 k08 k09 \ + k10 k11 k12 k13 k14 k15 k16 k17 k18 k19 \ + k20 k21 k22 k23 k24 k25 k26 k27 k28 k29 \ + k30 k31 k32 k33 + #else -#error "Define KEYS_30 or KEYS_34" +#error "Define KEYS_26 or KEYS_30 or KEYS_34" #endif \ No newline at end of file diff --git a/config/keymap/keymap.dtsi b/config/keymap/keymap.dtsi index 40d2f44..fc8b5fe 100644 --- a/config/keymap/keymap.dtsi +++ b/config/keymap/keymap.dtsi @@ -14,12 +14,6 @@ #include "include/keys_de.h" #endif -#if defined(KEYS_34) - #define _(BINDING) BINDING -#elif defined(KEYS_30) - #define _(BINDING) -#endif - #define DEF 0 #define NAV 1 #define NUM 2 @@ -58,77 +52,77 @@ default_layer { display-name = "DEF"; - bindings = < -// ╭───────────────┬─────────────┬────────────────┬─────────────────┬──────────────╮ ╭──────────────┬────────────────┬────────────────┬─────────────┬─────────────╮ - &kp V &kp W &kp F &kp P &kp B &kp J &kp L &kp U &kp DE_Y &td_sqt_dqt -// ├───────────────┼─────────────┼────────────────┼─────────────────┼──────────────┤ ├──────────────┼────────────────┼────────────────┼─────────────┼─────────────┤ - &hml LGUI R &hml LALT S &hml_hwu LCTRL T &hml_hwu LSHIFT H &kp K &kp X &hmr_hwu RSHFT N &hmr_hwu RCTRL A &hmr LALT I &hmr LGUI O -// ├───────────────┼─────────────┼────────────────┼─────────────────┼──────────────┤ ├──────────────┼────────────────┼────────────────┼─────────────┼─────────────┤ - _(&kp DE_Z) &kp C &kp G &kp D _(&kp Q) _(&key_repeat) &kp M &kp DE_COMMA &kp DE_DOT _(&qexcl) -// ╰───────────────┴─────────────┴────────────────┼─────────────────┼──────────────┤ ├──────────────┼────────────────┼────────────────┴─────────────┴─────────────╯ - &bspc_del < NAV SPACE < NUM E &qt_grv -// ╰─────────────────┴──────────────╯ ╰──────────────┴────────────────╯ - >; + bindings = ; }; navigation_layer { display-name = "NAV"; - bindings = < -// ╭───────────────┬─────────────┬─────────────┬─────────────┬───────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬────────────────╮ - &none &p_tab_desk &alt_tabber &n_tab_desk CLOSE &kp PG_UP CT(HOME) &kp UP CT(END) &none -// ├───────────────┼─────────────┼─────────────┼─────────────┼───────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼────────────────┤ - &sk LGUI &sk LALT &sk LCTRL &sk LSHFT &sk RALT &kp PG_DN &kp LEFT &kp DOWN &kp RIGHT &kp INS -// ├───────────────┼─────────────┼─────────────┼─────────────┼───────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼────────────────┤ - _(&kp U_UND) &kp U_CUT &kp U_CPY &kp U_PST _(&kp U_RDO) _(&none) &kp BSPC &kp TAB &kp DEL _(&none) -// ╰───────────────┴─────────────┴─────────────┼─────────────┼───────────────┤ ├─────────────┼─────────────┼─────────────┴─────────────┴────────────────╯ - &trans &trans < NUM RET &trans -// ╰─────────────┴───────────────╯ ╰─────────────┴─────────────╯ - >; + bindings = ; }; number_layer { display-name = "NUM"; - bindings = < -// ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭───────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ - &none &kp C_VOL_DN &kp C_MUTE &kp C_VOL_UP &kp C_BRI_UP &kp DE_DOT &kp N7 &kp N8 &kp N9 &kp BSPC -// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├───────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ - &kp LGUI &kp LALT &kp LCTRL &kp LSHFT &kp C_BRI_DN &kp N0 &kp N4 &kp N5 &kp N6 &kp RET -// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├───────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ - _(&none) &kp C_PREV &kp C_PP &kp C_NEXT _(&none) _(&kp DE_COMMA) &kp N1 &kp N2 &kp N3 _(&none) -// ╰─────────────┴─────────────┴─────────────┼─────────────┼─────────────┤ ├───────────────┼─────────────┼─────────────┴─────────────┴─────────────╯ - &trans &trans &trans &trans -// ╰─────────────┴─────────────╯ ╰───────────────┴─────────────╯ - >; + bindings = ; }; function_layer { display-name = "FUN"; - bindings = < -// ╭──────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ - &none &kp F7 &kp F8 &kp F9 &kp F12 &bt BT_CLR &out OUT_TOG &none &none &none -// ├──────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ - &bootloader &kp F4 &kp F5 &kp F6 &kp F10 &out OUT_USB &bts_0 &bts_1 &bts_2 &bootloader -// ├──────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ - _(&none) &kp F1 &kp F2 &kp F3 _(&none) _(&none) &kns_lock &kp PSCRN &kp PAUSE_BREAK _(&none) -// ╰──────────────┴─────────────┴─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┴─────────────┴─────────────╯ - &none &none &none &none -// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯ - >; + bindings = ; }; international_layer { display-name = "INT"; - bindings = < + bindings = ; + )>; }; }; };