diff --git a/config/rolio.json b/config/rolio.json new file mode 100644 index 0000000..1d20da2 --- /dev/null +++ b/config/rolio.json @@ -0,0 +1,80 @@ +{ + "id": "rolio", + "name": "rolio", + "layouts": { + "default_layout": { + "name": "default_layout", + "layout": [ + { "row": 0, "col": 0, "x": 0, "y": 0 }, + { "row": 0, "col": 1, "x": 1, "y": 0 }, + { "row": 0, "col": 2, "x": 2, "y": 0 }, + { "row": 0, "col": 3, "x": 3, "y": 0 }, + { "row": 0, "col": 4, "x": 4, "y": 0 }, + { "row": 0, "col": 5, "x": 5, "y": 0 }, + { "row": 0, "col": 8, "x": 8, "y": 0 }, + { "row": 0, "col": 9, "x": 9, "y": 0 }, + { "row": 0, "col": 10, "x": 10, "y": 0 }, + { "row": 0, "col": 11, "x": 11, "y": 0 }, + { "row": 0, "col": 12, "x": 12, "y": 0 }, + { "row": 0, "col": 13, "x": 13, "y": 0 }, + + { "row": 1, "col": 0, "x": 0, "y": 1 }, + { "row": 1, "col": 1, "x": 1, "y": 1 }, + { "row": 1, "col": 2, "x": 2, "y": 1 }, + { "row": 1, "col": 3, "x": 3, "y": 1 }, + { "row": 1, "col": 4, "x": 4, "y": 1 }, + { "row": 1, "col": 5, "x": 5, "y": 1 }, + { "row": 1, "col": 8, "x": 8, "y": 1 }, + { "row": 1, "col": 9, "x": 9, "y": 1 }, + { "row": 1, "col": 10, "x": 10, "y": 1 }, + { "row": 1, "col": 11, "x": 11, "y": 1 }, + { "row": 1, "col": 12, "x": 12, "y": 1 }, + { "row": 1, "col": 13, "x": 13, "y": 1 }, + + { "row": 2, "col": 0, "x": 0, "y": 2 }, + { "row": 2, "col": 1, "x": 1, "y": 2 }, + { "row": 2, "col": 2, "x": 2, "y": 2 }, + { "row": 2, "col": 3, "x": 3, "y": 2 }, + { "row": 2, "col": 4, "x": 4, "y": 2 }, + { "row": 2, "col": 5, "x": 5, "y": 2 }, + { "row": 2, "col": 6, "x": 6, "y": 2 }, + { "row": 2, "col": 7, "x": 7, "y": 2 }, + { "row": 2, "col": 8, "x": 8, "y": 2 }, + { "row": 2, "col": 9, "x": 9, "y": 2 }, + { "row": 2, "col": 10, "x": 10, "y": 2 }, + { "row": 2, "col": 11, "x": 11, "y": 2 }, + { "row": 2, "col": 12, "x": 12, "y": 2 }, + { "row": 2, "col": 13, "x": 13, "y": 2 }, + + { "row": 3, "col": 2, "x": 2, "y": 3 }, + { "row": 3, "col": 3, "x": 3, "y": 3 }, + { "row": 3, "col": 4, "x": 4, "y": 3 }, + { "row": 3, "col": 5, "x": 5, "y": 3 }, + { "row": 3, "col": 6, "x": 6, "y": 3 }, + { "row": 3, "col": 7, "x": 7, "y": 3 }, + { "row": 3, "col": 8, "x": 8, "y": 3 }, + { "row": 3, "col": 9, "x": 9, "y": 3 }, + { "row": 3, "col": 10, "x": 10, "y": 3 }, + { "row": 3, "col": 11, "x": 11, "y": 3 } + ] + } + }, + "sensors": [ + { + "ref": "encoder_left", + "name": "encoder_left", + "identifier": "encoder_left", + "compatible": "alps,ec11", + "label": "LEFT_ENCODER", + "enabled": false + }, + { + "ref": "encoder_right", + "name": "encoder_right", + "identifier": "encoder_right", + "compatible": "alps,ec11", + "label": "RIGHT_ENCODER", + "enabled": false + } + ] +} \ No newline at end of file diff --git a/config/rolio.keymap b/config/rolio.keymap index a5af630..8b7ed70 100644 --- a/config/rolio.keymap +++ b/config/rolio.keymap @@ -5,12 +5,10 @@ */ #include +#include +#include #include -#include //蓝牙功能控制按钮 #include -#include -#include //电池管理 -#include #define MACOS 0 #define FKEYS 1 @@ -21,24 +19,24 @@ #define MATHS 6 #define KB_CONFIG 7 - / { - conditional_layers { compatible = "zmk,conditional-layers"; + win_fkeys { if-layers = ; then-layer = ; }; + win_numbers { if-layers = ; then-layer = ; }; }; - behaviors { // Toggle F-Keys Layer + td0: tap_dance_0 { compatible = "zmk,behavior-tap-dance"; label = "TAP_DANCE_0"; @@ -46,7 +44,9 @@ tapping-term-ms = <300>; bindings = <&mo FKEYS>, <&tog FKEYS>, <&tog KB_CONFIG>; }; + // Toggle Numbers layer + td1: tap_dance_1 { compatible = "zmk,behavior-tap-dance"; label = "TAP_DANCE_1"; @@ -54,7 +54,9 @@ tapping-term-ms = <300>; bindings = <&mo NUMBERS>, <&tog MATHS>, <&tog NUMBERS>; }; + // Toggle capsword left + td2: tap_dance_2 { compatible = "zmk,behavior-tap-dance"; label = "TAP_DANCE_2"; @@ -62,7 +64,9 @@ tapping-term-ms = <200>; bindings = <&kp LSHFT>, <&caps_word>; }; + // Toggle capsword right + td3: tap_dance_3 { compatible = "zmk,behavior-tap-dance"; label = "TAP_DANCE_3"; @@ -70,7 +74,9 @@ tapping-term-ms = <200>; bindings = <&kp RSHFT>, <&caps_word>; }; + // Toggle Windows layer + td4: tap_dance_4 { compatible = "zmk,behavior-tap-dance"; label = "TAP_DANCE_4"; @@ -78,7 +84,9 @@ tapping-term-ms = <200>; bindings = <&kp LGUI>, <&tog WINDOWS>; }; + // Toggle Windows layer + td5: tap_dance_5 { compatible = "zmk,behavior-tap-dance"; label = "TAP_DANCE_5"; @@ -86,7 +94,9 @@ tapping-term-ms = <200>; bindings = <&kp RGUI>, <&tog WINDOWS>; }; + // Backspace a whole word when holding backspace + backspace_word: backspace_word { compatible = "zmk,behavior-hold-tap"; label = "BACKSPACE_WORD"; @@ -96,6 +106,7 @@ flavor = "tap-preferred"; bindings = <&bsp_word>, <&kp>; }; + w_backspace_word: w_backspace_word { compatible = "zmk,behavior-hold-tap"; label = "WINDOWS_BACKSPACE_WORD"; @@ -105,14 +116,18 @@ flavor = "tap-preferred"; bindings = <&w_bsp_word>, <&kp>; }; + //Mac OS Zoom + mac_zoom: mac_zoom { compatible = "zmk,behavior-sensor-rotate"; label = "MAC_ZOOM"; #sensor-binding-cells = <0>; bindings = <&zoom_in>, <&zoom_out>; }; + //Windows OS Zoom + win_zoom: win_zoom { compatible = "zmk,behavior-sensor-rotate"; label = "WINDOWS_ZOOM"; @@ -121,181 +136,256 @@ }; }; - macros { unindent: unindent { label = "UNINDENT"; compatible = "zmk,behavior-macro"; #binding-cells = <0>; - bindings - = <¯o_press &kp LSHIFT> - , <¯o_tap &kp TAB> - , <¯o_release &kp LSHIFT> - ; + bindings = + <¯o_press>, + <&kp LSHIFT>, + <¯o_tap>, + <&kp TAB>, + <¯o_release>, + <&kp LSHIFT>; }; + lstart: lstart { label = "Line_Start"; compatible = "zmk,behavior-macro"; #binding-cells = <0>; - bindings - = <¯o_press &kp LGUI> - , <¯o_tap &kp LEFT> - , <¯o_release &kp LGUI> - ; + bindings = + <¯o_press>, + <&kp LGUI>, + <¯o_tap>, + <&kp LEFT>, + <¯o_release>, + <&kp LGUI>; }; + lend: lend { label = "Line_End"; compatible = "zmk,behavior-macro"; #binding-cells = <0>; - bindings - = <¯o_press &kp LGUI> - , <¯o_tap &kp RIGHT> - , <¯o_release &kp LGUI> - ; + bindings = + <¯o_press>, + <&kp LGUI>, + <¯o_tap>, + <&kp RIGHT>, + <¯o_release>, + <&kp LGUI>; }; + scrsh: scrsh { label = "Screenshot"; compatible = "zmk,behavior-macro"; #binding-cells = <0>; - bindings - = <¯o_press &kp LGUI> - , <¯o_press &kp LSHIFT> - , <¯o_tap &kp N3> - , <¯o_release &kp LSHFT> - , <¯o_release &kp LGUI> - ; + bindings = + <¯o_press>, + <&kp LGUI>, + <¯o_press>, + <&kp LSHIFT>, + <¯o_tap>, + <&kp N3>, + <¯o_release>, + <&kp LSHFT>, + <¯o_release>, + <&kp LGUI>; }; + scrcr: scrcr { label = "Screen_Crop"; compatible = "zmk,behavior-macro"; #binding-cells = <0>; - bindings - = <¯o_press &kp LGUI> - , <¯o_press &kp LSHIFT> - , <¯o_tap &kp N4> - , <¯o_release &kp LSHFT> - , <¯o_release &kp LGUI> - ; + bindings = + <¯o_press>, + <&kp LGUI>, + <¯o_press>, + <&kp LSHIFT>, + <¯o_tap>, + <&kp N4>, + <¯o_release>, + <&kp LSHFT>, + <¯o_release>, + <&kp LGUI>; }; + wscrcr: wscrcr { label = "Windows_Screen_Crop"; compatible = "zmk,behavior-macro"; #binding-cells = <0>; - bindings - = <¯o_press &kp LGUI> - , <¯o_press &kp LSHIFT> - , <¯o_tap &kp S> - , <¯o_release &kp LSHFT> - , <¯o_release &kp LGUI> - ; + bindings = + <¯o_press>, + <&kp LGUI>, + <¯o_press>, + <&kp LSHIFT>, + <¯o_tap>, + <&kp S>, + <¯o_release>, + <&kp LSHFT>, + <¯o_release>, + <&kp LGUI>; }; + pal: pal { label = "Pallette"; compatible = "zmk,behavior-macro"; #binding-cells = <0>; - bindings - = <¯o_press &kp LGUI> - , <¯o_press &kp LCTRL> - , <¯o_tap &kp SPACE> - , <¯o_release &kp LCTRL> - , <¯o_release &kp LGUI> - ; + bindings = + <¯o_press>, + <&kp LGUI>, + <¯o_press>, + <&kp LCTRL>, + <¯o_tap>, + <&kp SPACE>, + <¯o_release>, + <&kp LCTRL>, + <¯o_release>, + <&kp LGUI>; }; + wpal: wpal { label = "W_Pallette"; compatible = "zmk,behavior-macro"; #binding-cells = <0>; - bindings - = <¯o_press &kp LGUI> - , <¯o_tap &kp DOT> - , <¯o_release &kp LGUI> - ; + bindings = + <¯o_press>, + <&kp LGUI>, + <¯o_tap>, + <&kp DOT>, + <¯o_release>, + <&kp LGUI>; }; + // Word backspace macros + bsp_word: bsp_word { label = "BSP_WORD"; compatible = "zmk,behavior-macro"; #binding-cells = <0>; - bindings - = <¯o_press &kp LALT> - , <¯o_tap &kp BSPC> - , <¯o_release &kp LALT> - ; + bindings = + <¯o_press>, + <&kp LALT>, + <¯o_tap>, + <&kp BSPC>, + <¯o_release>, + <&kp LALT>; }; + w_bsp_word: w_bsp_word { label = "W_BSP_WORD"; compatible = "zmk,behavior-macro"; #binding-cells = <0>; - bindings - = <¯o_press &kp LCTRL> - , <¯o_tap &kp BSPC> - , <¯o_release &kp LCTRL> - ; + bindings = + <¯o_press>, + <&kp LCTRL>, + <¯o_tap>, + <&kp BSPC>, + <¯o_release>, + <&kp LCTRL>; }; + // Zoom macros + zoom_in: zoom_in { label = "ZOOM_IN"; compatible = "zmk,behavior-macro"; #binding-cells = <0>; - bindings - = <¯o_press &kp LGUI> - , <¯o_tap &kp EQUAL> - , <¯o_release &kp LGUI> - ; + bindings = + <¯o_press>, + <&kp LGUI>, + <¯o_tap>, + <&kp EQUAL>, + <¯o_release>, + <&kp LGUI>; }; + zoom_out: zoom_out { label = "ZOOM_OUT"; compatible = "zmk,behavior-macro"; #binding-cells = <0>; - bindings - = <¯o_press &kp LGUI> - , <¯o_tap &kp MINUS> - , <¯o_release &kp LGUI> - ; + bindings = + <¯o_press>, + <&kp LGUI>, + <¯o_tap>, + <&kp MINUS>, + <¯o_release>, + <&kp LGUI>; }; + reset_zoom: reset_zoom { label = "RESET_ZOOM"; compatible = "zmk,behavior-macro"; #binding-cells = <0>; - bindings - = <¯o_press &kp LGUI> - , <¯o_tap &kp N0> - , <¯o_release &kp LGUI> - ; + bindings = + <¯o_press>, + <&kp LGUI>, + <¯o_tap>, + <&kp N0>, + <¯o_release>, + <&kp LGUI>; }; + w_zoom_in: w_zoom_in { label = "WINDOWS_ZOOM_IN"; compatible = "zmk,behavior-macro"; #binding-cells = <0>; - bindings - = <¯o_press &kp LCTRL> - , <¯o_tap &kp EQUAL> - , <¯o_release &kp LCTRL> - ; + bindings = + <¯o_press>, + <&kp LCTRL>, + <¯o_tap>, + <&kp EQUAL>, + <¯o_release>, + <&kp LCTRL>; }; + w_zoom_out: w_zoom_out { label = "WINDOWS_ZOOM_OUT"; compatible = "zmk,behavior-macro"; #binding-cells = <0>; - bindings - = <¯o_press &kp LCTRL> - , <¯o_tap &kp MINUS> - , <¯o_release &kp LCTRL> - ; + bindings = + <¯o_press>, + <&kp LCTRL>, + <¯o_tap>, + <&kp MINUS>, + <¯o_release>, + <&kp LCTRL>; }; + w_reset_zoom: w_reset_zoom { label = "WINDOWS_RESET_ZOOM"; compatible = "zmk,behavior-macro"; #binding-cells = <0>; - bindings - = <¯o_press &kp LCTRL> - , <¯o_tap &kp N0> - , <¯o_release &kp LCTRL> - ; + bindings = + <¯o_press>, + <&kp LCTRL>, + <¯o_tap>, + <&kp N0>, + <¯o_release>, + <&kp LCTRL>; }; - }; + Ctrl_C: Ctrl_C { + compatible = "zmk,behavior-macro"; + #binding-cells = <0>; + bindings = <&kp LCTRL &kp C>; + label = "CTRL_C"; + }; + + Ctrl_V: Ctrl_V { + compatible = "zmk,behavior-macro"; + #binding-cells = <0>; + bindings = <&kp LCTRL &kp V>; + label = "CTRL_V"; + }; + TEST_Str: TEST_Str { + compatible = "zmk,behavior-macro"; + #binding-cells = <0>; + bindings = <&kp KP_ENTER &kp B &kp U &kp SPACE &kp K &kp E &kp SPACE &kp S &kp H &kp U &kp SPACE &kp R &kp U &kp SPACE &kp Z &kp H &kp O &kp N &kp G &kp SPACE &kp W &kp E &kp N>; + label = "TEST_STR"; + }; + }; keymap { compatible = "zmk,keymap"; @@ -304,16 +394,10 @@ label = "Mac OS"; sensor-bindings = <&inc_dec_kp UP DOWN &inc_dec_kp LEFT RIGHT>; bindings = < -//---------------------------------------------------------------+ +---------------------------------------------------------------// -// | | | | | | | | | | | | // - &kp GRAVE &kp Q &bt BT_CLR &kp E &bt BT_CLR_ALL &bt BT_NXT &bt BT_CLR_ALL &kp A &kp S &kp D &kp P &backspace_word 0 BSPC -// | | | | | | | | | | | | // - &kp TAB &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT -// | | | | | +-----------+ +-----------| | | | | | // - &td2 &kp Z &kp X &kp C &kp V &kp B &kp F16 &kp F17 &kp N &kp M &kp COMMA &kp DOT &kp FSLH &td3 -//--------------------| | | | | | | | | | |--------------------------------// - &kp LALT &kp LCTRL &td4 &td0 &kp ENTER &kp SPACE &td1 &td5 &kp RCTRL &kp DEL -// +----------|-----------|----------|--------------------+ +-----------|-----------|--------|-----------|---------+ // +&kp GRAVE &kp Q &bt BT_CLR &kp E &bt BT_CLR_ALL &bt BT_NXT &bt BT_CLR_ALL &kp A &kp S &kp D &kp P &backspace_word 0 BSPC +&kp TAB &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT +&td2 &kp Z &kp X &kp C &kp V &kp B &kp F16 &kp F17 &kp N &kp M &kp COMMA &kp DOT &kp FSLH &td3 + &kp LALT &kp LCTRL &td4 &td0 &kp ENTER &kp SPACE &td1 &td5 &kp RCTRL &kp DEL >; }; @@ -321,34 +405,21 @@ label = "F Keys"; sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &mac_zoom>; bindings = < -//-------------------------------------------------------------------------------+ +-------------------------------------------------------------------// -// | | | | | | | | | | | | // - &kp ESCAPE &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 -// | | | | | | | | | | | | // - &unindent &bt BT_PRV &bt BT_NXT &kp C_PREV &kp C_PP &kp C_NEXT &lstart &kp UP &lend &scrsh &kp PG_UP &kp F12 -// | | | | | +-------------+ +--------+ | | | | | // - &trans &bl BL_TOG &bl BL_SET 2 &kp C_VOL_DN &kp C_MUTE &kp C_VOL_UP &kp C_MUTE &reset_zoom &kp LEFT &kp DOWN &kp RIGHT &scrcr &kp PG_DN &kp F13 -//-----------------------| | | | | | | | | | | |-----------------------// - &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans -// +------------|--------------|------------|--------------|-------------+ +--------|----------|----------|-----------|---------+ // +&kp ESCAPE &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 +&unindent &bt BT_PRV &bt BT_NXT &kp C_PREV &kp C_PP &kp C_NEXT &lstart &kp UP &lend &scrsh &kp PG_UP &kp F12 +&trans &bl BL_TOG &bl BL_SET 2 &kp C_VOL_DN &kp C_MUTE &kp C_VOL_UP &kp C_MUTE &reset_zoom &kp LEFT &kp DOWN &kp RIGHT &scrcr &kp PG_DN &kp F13 + &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans >; - }; numbers_layer { label = "Numbers"; sensor-bindings = <&inc_dec_kp UP DOWN &inc_dec_kp LEFT RIGHT>; bindings = < -//-------------------------------------------------------------------------------+ +----------------------------------------------------------------------------// -// | | | | | | | | | | | | // - &kp UNDER &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &trans -// | | | | | | | | | | | | // - &trans &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPERSAND &kp STAR &kp LPAR &kp RPAR &kp FSLH -// | | | | | +--------+ +-------| | | | | // - &trans &pal &kp LEFT_BRACE &kp RIGHT_BRACE &kp PIPE &kp EQUAL &trans &trans &kp MINUS &kp PLUS &kp LBKT &kp RBKT &kp BACKSLASH &kp DOT -//---------------------| | | | | | | | | | |--------------------------// - &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans -// +----------------|-----------------|----------|-----------|--------+ +--------|----------|----------------|----------|----------+ // +&kp UNDER &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &trans +&trans &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPERSAND &kp STAR &kp LPAR &kp RPAR &kp FSLH +&trans &pal &kp LEFT_BRACE &kp RIGHT_BRACE &kp PIPE &kp EQUAL &trans &trans &kp MINUS &kp PLUS &kp LBKT &kp RBKT &kp BACKSLASH &kp DOT + &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans >; }; @@ -356,16 +427,10 @@ label = "Windows"; sensor-bindings = <&inc_dec_kp UP DOWN &inc_dec_kp LEFT RIGHT>; bindings = < -//-----------------------------------------------------------------+ +------------------------------------------------------------------// -// | | | | | | | | | | | | // - &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &w_backspace_word 0 BSPC -// | | | | | | | | | | | | // - &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans -// | | | | | +--------+ +---------| | | | | | // - &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans -//---------------------| | | | | | | | | | | |----------------------// - &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans -// +----------|----------|----------|----------|--------+ +----------|---------|----------|----------|----------+ // +&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &w_backspace_word 0 BSPC +&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans +&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans + &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans >; }; @@ -373,16 +438,10 @@ label = "F Keys"; sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &win_zoom>; bindings = < -//-----------------------------------------------------------------+ +------------------------------------------------------------------// -// | | | | | | | | | | | | // - &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans -// | | | | | | | | | | | | // - &trans &trans &trans &trans &trans &trans &kp HOME &trans &kp END &kp PSCRN &trans &trans -// | | | | | +--------+ +---------| | | | | | // - &trans &trans &trans &trans &trans &trans &trans &w_reset_zoom &trans &trans &trans &wscrcr &trans &trans -//---------------------| | | | | | | | | | | |----------------------// - &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans -// +----------|----------|----------|----------|--------+ +----------|---------|----------|----------|----------+ // +&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans +&trans &trans &trans &trans &trans &trans &kp HOME &trans &kp END &kp PSCRN &trans &trans +&trans &trans &trans &trans &trans &trans &trans &w_reset_zoom &trans &trans &trans &wscrcr &trans &trans + &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans >; }; @@ -390,16 +449,10 @@ label = "Numbers"; sensor-bindings = <&inc_dec_kp UP DOWN &inc_dec_kp LEFT RIGHT>; bindings = < -//-----------------------------------------------------------------+ +------------------------------------------------------------------// -// | | | | | | | | | | | | // - &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans -// | | | | | | | | | | | | // - &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans -// | | | | | +--------+ +---------| | | | | | // - &trans &wpal &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans -//---------------------| | | | | | | | | | | |----------------------// - &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans -// +----------|----------|----------|----------|--------+ +---------|----------|----------|----------|----------+ // +&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans +&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans +&trans &wpal &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans + &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans >; }; @@ -407,35 +460,22 @@ label = "Maths"; sensor-bindings = <&inc_dec_kp UP DOWN &inc_dec_kp LEFT RIGHT>; bindings = < -//-----------------------------------------------------------------+ +----------------------------------------------------------------------------// -// | | | | | | | | | | | | // - &kp UNDER &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &trans -// | | | | | | | | | | | | // - &trans &kp EXCL &trans &trans &trans &kp PRCNT &kp CARET &kp AMPERSAND &kp STAR &kp LPAR &kp RPAR &kp FSLH -// | | | | | +--------+ +---------| | | | | | // - &trans &wpal &trans &trans &trans &kp EQUAL &trans &trans &kp MINUS &kp PLUS &trans &trans &trans &kp DOT -//---------------------| | | | | | | | | | | |--------------------------// - &trans &trans &trans &trans &trans &trans &tog MATHS &trans &trans &trans -// +----------|----------|----------|----------|--------+ +---------|-----------|---------------|----------|----------+ // +&kp UNDER &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &trans +&trans &kp EXCL &trans &trans &trans &kp PRCNT &kp CARET &kp AMPERSAND &kp STAR &kp LPAR &kp RPAR &kp FSLH +&trans &wpal &trans &trans &trans &kp EQUAL &trans &trans &kp MINUS &kp PLUS &trans &trans &trans &kp DOT + &trans &trans &trans &trans &trans &trans &tog MATHS &trans &trans &trans >; - }; + }; settings_layer { label = "Settings"; sensor-bindings = <&inc_dec_kp UP DOWN &inc_dec_kp LEFT RIGHT>; bindings = < -//---------------------------------------------------------------------------------------+ +------------------------------------------------------------------// -// | | | | | | | | | | | | // - &out OUT_TOG &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_CLR &trans &trans &trans &trans &trans &trans -// | | | | | | | | | | | | // - &trans &bt BT_PRV &bt BT_NXT &kp T &kp T &kp T &trans &trans &trans &trans &trans &trans -// | | | | | +--------+ +---------| | | | | | // - &trans &trans &bt BT_CLR &bl BL_DEC &bl BL_TOG &bl BL_INC &trans &trans &trans &trans &trans &trans &trans &trans -//-------------------------| | | | | | | | | | | |----------------------// - &trans &trans &trans &tog KB_CONFIG &trans &trans &trans &trans &trans &trans -// +--------------|--------------|--------------|----------------|--------+ +----------|---------|----------|----------|----------+ // +&out OUT_TOG &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_CLR &trans &trans &trans &trans &trans &trans +&trans &bt BT_PRV &bt BT_NXT &kp T &kp T &kp T &trans &trans &trans &trans &trans &trans +&trans &trans &bt BT_CLR &bl BL_DEC &bl BL_TOG &bl BL_INC &trans &trans &trans &trans &trans &trans &trans &trans + &trans &trans &trans &tog KB_CONFIG &trans &trans &trans &trans &trans &trans >; }; - }; };