cleanup
This commit is contained in:
parent
07cb59c4b9
commit
c93e14a5b7
51 changed files with 1 additions and 2914 deletions
|
|
@ -1,390 +0,0 @@
|
|||
/* ========================================
|
||||
FileName: keymap_german_mac_iso_zmk.h
|
||||
Date: 15:17 23.September.2022
|
||||
Author: Marcos Chow Castro
|
||||
Email: mctechnology170318@gmail.com
|
||||
GitHub: https://github.com/mctechnology17
|
||||
Brief: define keymap for the wireless corne keyboard
|
||||
Use: in your keymap file, include this file
|
||||
#include "keymap_german_mac_iso_zmk.h"
|
||||
===========================================
|
||||
Copyright 2022 Marcos Ivan Chow Castro
|
||||
Inspired by Stephen Bösebeck
|
||||
╔═╦═╦═╗
|
||||
╔════╗ ║║║║║╔╝
|
||||
║╔╗╔╗║ ║║║║║╚╗
|
||||
╚╝║║╚╝ ║╠═╩╩═╝
|
||||
║╠═╦═╣╚╦═╦╦═╦╗╔═╦═╦╦╗
|
||||
║║╩╣═╣║║║║║╬║╚╣╬║╬║║║
|
||||
╚╩═╩═╩╩╩╩═╩═╩═╩═╬╗╠╗║
|
||||
╚═╩═╝
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
// #pragma once
|
||||
|
||||
#define XXX &none
|
||||
#define ___ &trans
|
||||
|
||||
// CONTROL CMD/WINDOWS SHIFT ALT/META/OPTION
|
||||
#define DE_LCTRL &kp LCTRL // left control
|
||||
#define DE_RCTRL &kp RCTRL // right control
|
||||
#define DE_LGUI &kp LGUI // left cmd
|
||||
#define DE_RGUI &kp RGUI
|
||||
#define DE_LALT &kp LALT
|
||||
#define DE_RALT &kp RALT
|
||||
#define DE_LSHFT &kp LSHFT
|
||||
#define DE_RSHFT &kp RSHFT
|
||||
|
||||
// ARROWS
|
||||
#define DE_UP &kp UP
|
||||
#define DE_LEFT &kp LEFT
|
||||
#define DE_DOWN &kp DOWN
|
||||
#define DE_RIGHT &kp RIGHT
|
||||
|
||||
// SPACE CAPS TAB ENTER BACKSPACE ESCAPE DELETE
|
||||
#define DE_SPACE &kp SPACE // Space
|
||||
#define DE_CAPS &kp CAPS // Caps Lock
|
||||
#define DE_BSPC &kp BSPC // Backspace
|
||||
#define DE_RET &kp RET // Enter
|
||||
#define DE_TAB &kp TAB // Tab
|
||||
#define DE_DEL &kp DEL // Delete
|
||||
|
||||
// PAGE UP PAGE DOWN HOME END
|
||||
#define DE_PG_UP &kp PG_UP
|
||||
#define DE_PG_DN &kp PG_DN
|
||||
#define DE_HOME &kp HOME
|
||||
#define DE_END &kp END
|
||||
|
||||
// FUNCTION KEYS
|
||||
#define DE_F1 &kp F1
|
||||
#define DE_F2 &kp F2
|
||||
#define DE_F3 &kp F3
|
||||
#define DE_F4 &kp F4
|
||||
#define DE_F5 &kp F5
|
||||
#define DE_F6 &kp F6
|
||||
#define DE_F7 &kp F7
|
||||
#define DE_F8 &kp F8
|
||||
#define DE_F9 &kp F9
|
||||
#define DE_F10 &kp F10
|
||||
#define DE_F11 &kp F11
|
||||
#define DE_F12 &kp F12
|
||||
#define DE_F13 &kp F13
|
||||
#define DE_F14 &kp F14
|
||||
#define DE_F15 &kp F15
|
||||
#define DE_F16 &kp F16
|
||||
#define DE_F17 &kp F17
|
||||
#define DE_F18 &kp F18
|
||||
#define DE_F19 &kp F19
|
||||
#define DE_F20 &kp F20
|
||||
#define DE_F21 &kp F21
|
||||
#define DE_F22 &kp F22
|
||||
#define DE_F23 &kp F23
|
||||
#define DE_F24 &kp F24
|
||||
|
||||
// SOUND / VOLUME
|
||||
#define DE_VOL_UP &kp C_VOLUME_UP
|
||||
#define DE_VOL_DN &kp C_VOLUME_DOWN
|
||||
#define DE_MUTE &kp C_MUTE
|
||||
#define DE_NEXT &kp C_NEXT
|
||||
#define DE_PREV &kp C_PREVIOUS
|
||||
#define DE_STOP &kp C_STOP
|
||||
#define DE_PLAY &kp C_PLAY_PAUSE
|
||||
#define DE_SHUFFLE &kp C_SHUFFLE
|
||||
|
||||
// DISPLAY BRIGHTNESS
|
||||
#define DE_BRI_UP &kp C_BRI_UP
|
||||
#define DE_BRI_DN &kp C_BRI_DN
|
||||
|
||||
// LANGUAGE
|
||||
#define DE_LANG1 &kp LANG1
|
||||
#define DE_LANG2 &kp LANG2
|
||||
#define DE_LANG3 &kp LANG3
|
||||
#define DE_LANG4 &kp LANG4
|
||||
#define DE_LANG5 &kp LANG5
|
||||
#define DE_LANG6 &kp LANG6
|
||||
#define DE_LANG7 &kp LANG7
|
||||
#define DE_LANG8 &kp LANG8
|
||||
#define DE_LANG9 &kp LANG9
|
||||
|
||||
// Apple "Globe" key
|
||||
// https://github.com/zmkfirmware/zmk/issues/947
|
||||
// #define GLOBE CAPSLOCK
|
||||
|
||||
// clang-format off
|
||||
|
||||
/*
|
||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬─────┐
|
||||
* │ ^ │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ ß │ ´ │ │
|
||||
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬───┤
|
||||
* │ │ Q │ W │ E │ R │ T │ Z │ U │ I │ O │ P │ Ü │ + │ │
|
||||
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ │
|
||||
* │ │ A │ S │ D │ F │ G │ H │ J │ K │ L │ Ö │ Ä │ # │ │
|
||||
* ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴──┤
|
||||
* │ │ < │ Y │ X │ C │ V │ B │ N │ M │ , │ . │ - │ │
|
||||
* ├────┴┬──┴─┬─┴───┼───┴───┴───┴───┴───┴───┼───┴─┬─┴──┬─────┤
|
||||
* │ │ │ │ │ │ │ │
|
||||
* └─────┴────┴─────┴───────────────────────┴─────┴────┴─────┘
|
||||
*/
|
||||
// Row 1
|
||||
#define DE_CARET &kp LS(LA(N6)) // ^
|
||||
#define DE_CIRC &kp GRAVE // ^ (dead)
|
||||
#define DE_1 &kp N1 // 1
|
||||
#define DE_2 &kp N2 // 2
|
||||
#define DE_3 &kp N3 // 3
|
||||
#define DE_4 &kp N4 // 4
|
||||
#define DE_5 &kp N5 // 5
|
||||
#define DE_6 &kp N6 // 6
|
||||
#define DE_7 &kp N7 // 7
|
||||
#define DE_8 &kp N8 // 8
|
||||
#define DE_9 &kp N9 // 9
|
||||
#define DE_0 &kp N0 // 0
|
||||
#define DE_SS &kp MINUS // ß
|
||||
#define DE_ACUT &kp EQUAL // ´ (dead)
|
||||
// Row 2
|
||||
#define DE_Q &kp Q // Q
|
||||
#define DE_W &kp W // W
|
||||
#define DE_E &kp E // E
|
||||
#define DE_R &kp R // R
|
||||
#define DE_T &kp T // T
|
||||
#define DE_Z &kp Y // Z
|
||||
#define DE_U &kp U // U
|
||||
#define DE_I &kp I // I
|
||||
#define DE_O &kp O // O
|
||||
#define DE_P &kp P // P
|
||||
#define DE_UDIA &kp LBKT // Ü
|
||||
#define DE_PLUS &kp RBKT // +
|
||||
// Row 3
|
||||
#define DE_A &kp A // A
|
||||
#define DE_S &kp S // S
|
||||
#define DE_D &kp D // D
|
||||
#define DE_F &kp F // F
|
||||
#define DE_G &kp G // G
|
||||
#define DE_H &kp H // H
|
||||
#define DE_J &kp J // J
|
||||
#define DE_K &kp K // K
|
||||
#define DE_L &kp L // L
|
||||
#define DE_ODIA &kp SEMICOLON // Ö
|
||||
#define DE_ADIA &kp APOS // Ä
|
||||
#define DE_HASH &kp BSLH // #
|
||||
// Row 4
|
||||
#define DE_LABK &kp GRAVE // <
|
||||
#define DE_Y &kp Z // Y
|
||||
#define DE_X &kp X // X
|
||||
#define DE_C &kp C // C
|
||||
#define DE_V &kp V // V
|
||||
#define DE_B &kp B // B
|
||||
#define DE_N &kp N // N
|
||||
#define DE_M &kp M // M
|
||||
#define DE_COMM &kp COMMA // ,
|
||||
#define DE_DOT &kp DOT // .
|
||||
#define DE_MINS &kp SLASH // -
|
||||
|
||||
/* Shifted symbols
|
||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬─────┐
|
||||
* │ ° │ ! │ " │ § │ $ │ % │ & │ / │ ( │ ) │ = │ ? │ ` │ │
|
||||
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬───┤
|
||||
* │ │ │ │ │ │ │ │ │ │ │ │ │ * │ │
|
||||
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ │
|
||||
* │ │ │ │ │ │ │ │ │ │ │ │ │ ' │ │
|
||||
* ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴──┤
|
||||
* │ │ > │ │ │ │ │ │ │ │ ; │ : │ _ │ │
|
||||
* ├────┴┬──┴─┬─┴───┼───┴───┴───┴───┴───┴───┼───┴─┬─┴──┬─────┤
|
||||
* │ │ │ │ │ │ │ │
|
||||
* └─────┴────┴─────┴───────────────────────┴─────┴────┴─────┘
|
||||
*/
|
||||
// Row 1
|
||||
#define DE_DEG &kp LS(GRAVE) // °
|
||||
#define DE_EXCL &kp LS(N1) // !
|
||||
#define DE_DQUO &kp LS(N2) // "
|
||||
#define DE_SECT &kp LS(N3) // §
|
||||
#define DE_DLR &kp LS(N4) // $
|
||||
#define DE_PERC &kp LS(N5) // %
|
||||
#define DE_AMPR &kp LS(N6) // &
|
||||
#define DE_SLSH &kp LS(N7) // /
|
||||
#define DE_LPRN &kp LS(N8) // (
|
||||
#define DE_RPRN &kp LS(N9) // )
|
||||
#define DE_EQL &kp LS(N0) // =
|
||||
#define DE_QUES &kp LS(MINUS) // ?
|
||||
#define DE_GRV &kp LS(EQUAL) // ` (dead)
|
||||
// Row 2
|
||||
#define DE_ASTR &kp LS(RBKT) // *
|
||||
// #define DE_STAR &kp RBRC // "*" DE_ASTR
|
||||
// Row 3
|
||||
#define DE_QUOT &kp LS(BSLH) // '
|
||||
// Row 4
|
||||
#define DE_RABK &kp LS(GRAVE) // >
|
||||
#define DE_SCLN &kp LS(COMMA) // ;
|
||||
#define DE_COLN &kp LS(DOT) // :
|
||||
#define DE_UNDS &kp LS(SLASH) // _
|
||||
|
||||
/* Alted symbols
|
||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬─────┐
|
||||
* │ „ │ ¡ │ “ │ ¶ │ ¢ │ [ │ ] │ | │ { │ } │ ≠ │ ¿ │ │ │
|
||||
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬───┤
|
||||
* │ │ « │ ∑ │ € │ ® │ † │ Ω │ ¨ │ ⁄ │ Ø │ π │ • │ ± │ │
|
||||
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ │
|
||||
* │ │ Å │ ‚ │ ∂ │ ƒ │ © │ ª │ º │ ∆ │ @ │ Œ │ Æ │ ‘ │ │
|
||||
* ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴──┤
|
||||
* │ │ ≤ │ ¥ │ ≈ │ Ç │ √ │ ∫ │ ~ │ µ │ ∞ │ … │ – │ │
|
||||
* ├────┴┬──┴─┬─┴───┼───┴───┴───┴───┴───┴───┼───┴─┬─┴──┬─────┤
|
||||
* │ │ │ │ │ │ │ │
|
||||
* └─────┴────┴─────┴───────────────────────┴─────┴────┴─────┘
|
||||
*/
|
||||
// Row 1
|
||||
#define DE_DLQU &kp LA(GRAVE) // „
|
||||
#define DE_IEXL &kp LA(N1) // ¡
|
||||
#define DE_LDQU &kp LA(N2) // “
|
||||
#define DE_PILC &kp LA(N3) // ¶
|
||||
#define DE_CENT &kp LA(N4) // ¢
|
||||
#define DE_LBRC &kp LA(N5) // [
|
||||
#define DE_RBRC &kp LA(N6) // ]
|
||||
#define DE_PIPE &kp LA(N7) // |
|
||||
#define DE_LCBR &kp LA(N8) // {
|
||||
#define DE_RCBR &kp LA(N9) // }
|
||||
#define DE_NEQL &kp LA(N0) // ≠
|
||||
#define DE_IQUE &kp LA(MINUS) // ¿
|
||||
// Row 2
|
||||
#define DE_LDAQ &kp LA(Q) // «
|
||||
#define DE_NARS &kp LA(W) // ∑
|
||||
#define DE_EURO &kp LA(E) // €
|
||||
#define DE_REGD &kp LA(R) // ®
|
||||
#define DE_DAGG &kp LA(T) // †
|
||||
#define DE_OMEG &kp LA(Z) // Ω
|
||||
#define DE_DIAE &kp LA(U) // ¨ (dead)
|
||||
#define DE_FRSL &kp LA(I) // ⁄
|
||||
#define DE_OSTR &kp LA(O) // Ø
|
||||
#define DE_PI &kp LA(P) // π
|
||||
#define DE_BULT &kp LA(LBKT) // •
|
||||
#define DE_PLMN &kp LA(RBKT) // ±
|
||||
// Row 3
|
||||
#define DE_ARNG &kp LA(A) // Å
|
||||
#define DE_SLQU &kp LA(S) // ‚
|
||||
#define DE_PDIF &kp LA(D) // ∂
|
||||
#define DE_FHK &kp LA(F) // ƒ
|
||||
#define DE_COPY &kp LA(G) // ©
|
||||
#define DE_FORD &kp LA(H) // ª
|
||||
#define DE_MORD &kp LA(J) // º
|
||||
#define DE_INCR &kp LA(K) // ∆
|
||||
#define DE_AT &kp LA(L) // @
|
||||
#define DE_OE &kp LA(SEMICOLON) // Œ
|
||||
#define DE_AE &kp LA(APOS) // Æ
|
||||
#define DE_LSQU &kp LA(BSLH) // ‘
|
||||
// Row 4
|
||||
#define DE_LTEQ &kp LA(GRAVE) // ≤
|
||||
#define DE_YEN &kp LA(Y) // ¥
|
||||
#define DE_AEQL &kp LA(X) // ≈
|
||||
#define DE_CCCE &kp LA(C) // Ç
|
||||
#define DE_SQRT &kp LA(V) // √
|
||||
#define DE_INTG &kp LA(B) // ∫
|
||||
#define DE_TILD &kp LA(N) // ~ (dead)
|
||||
#define DE_MICR &kp LA(M) // µ
|
||||
#define DE_INFN &kp LA(COMMA) // ∞
|
||||
#define DE_ELLP &kp LA(DOT) // …
|
||||
#define DE_NDSH &kp LA(MINUS) // –
|
||||
|
||||
/* Shift+Alted symbols
|
||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬─────┐
|
||||
* │ │ ¬ │ ” │ │ £ │ fi │ │ \ │ ˜ │ · │ ¯ │ ˙ │ ˚ │ │
|
||||
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬───┤
|
||||
* │ │ » │ │ ‰ │ ¸ │ ˝ │ ˇ │ Á │ Û │ │ ∏ │ │ │ │
|
||||
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ │
|
||||
* │ │ │ Í │ ™ │ Ï │ Ì │ Ó │ ı │ │ fl │ │ │ │ │
|
||||
* ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴──┤
|
||||
* │ │ ≥ │ ‡ │ Ù │ │ ◊ │ ‹ │ › │ ˘ │ ˛ │ ÷ │ — │ │
|
||||
* ├────┴┬──┴─┬─┴───┼───┴───┴───┴───┴───┴───┼───┴─┬─┴──┬─────┤
|
||||
* │ │ │ │ │ │ │ │
|
||||
* └─────┴────┴─────┴───────────────────────┴─────┴────┴─────┘
|
||||
*/
|
||||
// Row 1
|
||||
#define DE_NOT &kp LS(LA(N1)) // ¬
|
||||
#define DE_RDQU &kp LS(LA(N2)) // ”
|
||||
#define DE_PND &kp LS(LA(N4)) // £
|
||||
#define DE_FI &kp LS(LA(N5)) // fi
|
||||
#define DE_BSLS &kp LS(LA(N7)) // (backslash)
|
||||
#define DE_STIL &kp LS(LA(N8)) // ˜
|
||||
#define DE_MDDT &kp LS(LA(N9)) // ·
|
||||
#define DE_MACR &kp LS(LA(N0)) // ¯
|
||||
#define DE_DOTA &kp LS(LA(MINUS)) // ˙
|
||||
#define DE_RNGA &kp LS(LA(EQUAL)) // ˚
|
||||
// Row 2
|
||||
#define DE_RDAQ &kp LS(LA(Q)) // »
|
||||
#define DE_PERM &kp LS(LA(E)) // ‰
|
||||
#define DE_CEDL &kp LS(LA(R)) // ¸
|
||||
#define DE_DACU &kp LS(LA(T)) // ˝
|
||||
#define DE_CARN &kp LS(LA(Z)) // ˇ
|
||||
#define DE_AACU &kp LS(LA(U)) // Á
|
||||
#define DE_UCIR &kp LS(LA(I)) // Û
|
||||
#define DE_NARP &kp LS(LA(P)) // ∏
|
||||
#define DE_APPL &kp LS(LA(RPAR)) // (Apple logo)
|
||||
// Row 3
|
||||
#define DE_IACU &kp LS(LA(S)) // Í
|
||||
#define DE_TM &kp LS(LA(D)) // ™
|
||||
#define DE_IDIA &kp LS(LA(F)) // Ï
|
||||
#define DE_IGRV &kp LS(LA(G)) // Ì
|
||||
#define DE_OACU &kp LS(LA(H)) // Ó
|
||||
#define DE_DLSI &kp LS(LA(J)) // ı
|
||||
#define DE_FL &kp LS(LA(L)) // fl
|
||||
// Row 4
|
||||
#define DE_GTEQ &kp LS(LA(GRAVE)) // ≥
|
||||
#define DE_DDAG &kp LS(LA(Y)) // ‡
|
||||
#define DE_UGRV &kp LS(LA(X)) // Ù
|
||||
#define DE_LOZN &kp LS(LA(V)) // ◊
|
||||
#define DE_LSAQ &kp LS(LA(B)) // ‹
|
||||
#define DE_RSAQ &kp LS(LA(N)) // ›
|
||||
#define DE_BREV &kp LS(LA(M)) // ˘
|
||||
#define DE_OGON &kp LS(LA(COMMA)) // ˛
|
||||
#define DE_DIV &kp LS(LA(DOT)) // ÷
|
||||
#define DE_MDSH &kp LS(LA(MINUS)) // —
|
||||
|
||||
// DE_LN_XXX for linux and windows
|
||||
#define DE_LN_LABK &kp NUBS // <
|
||||
#define DE_LN_RABK &kp LS(NUBS) // >
|
||||
#define DE_LN_LBRC &kp RA(N5) // [
|
||||
#define DE_LN_RBRC &kp RA(N6) // ]
|
||||
#define DE_LN_LPRN &kp LS(N8) // (
|
||||
#define DE_LN_RPRN &kp LS(N9) // )
|
||||
#define DE_LN_LCBR &kp RA(N8) // {
|
||||
#define DE_LN_RCBR &kp RA(N9) // }
|
||||
#define DE_LN_FSLH &kp LS(N7) // slash
|
||||
#define DE_LN_BSLH &kp LS(RA(N7)) // backslash
|
||||
#define DE_LN_PIPE &kp RA(NUBS) // pipe
|
||||
#define DE_LN_AT &kp LS(RA(Q)) // @
|
||||
#define DE_LN_AMPS &kp LS(N6) // &
|
||||
#define DE_LN_TILDE &kp LS(RA(N8)) // ~
|
||||
#define DE_LN_CARET &kp RA(APOS) // ^
|
||||
#define DE_LN_DQUO &kp LS(N2) // "
|
||||
|
||||
// ###############
|
||||
// #define DE_FSLH &kp AMPS // "/" DE_SLSH
|
||||
// #define DE_STAR &kp RBRC // "*" DE_ASTR
|
||||
// #define DE_EQUAL &kp RPAR // = DE_EQL
|
||||
// #define DE_GRAVE &kp PLUS // ` DE_GRV
|
||||
// #define DE_HASH &kp BSLH // #
|
||||
// #define DE_TILDE &kp LA(RBKT) // ~
|
||||
// #define DE_PIPE &kp RA(GRAVE) // "|"
|
||||
// #define DE_AMPS &kp CARET // "&" DE_AMPR
|
||||
// #define DE_BSLH &kp RA(MINUS) // "\" DE_BSLS
|
||||
// #define DE_QUESTION &kp LS(MINUS) // ? DE_QUES
|
||||
// #define DE_AT &kp RA(Q) // "@"
|
||||
// #define DE_LPAR &kp LS(N8) // ( DE_LPRN
|
||||
// #define DE_RPAR &kp LS(N9) // ) DE_RPRN
|
||||
// #define DE_LBKT &kp RA(N8) // [ DE_LBRC
|
||||
// #define DE_RBKT &kp RA(N9) // ] DE_RBRC
|
||||
// #define DE_LBRC &kp RA(N7) // { DE_LCBR
|
||||
// #define DE_RBRC &kp RA(N0) // } DE_RCBR
|
||||
// #define DE_APOS &kp PIPE // ' DE_QUOT
|
||||
|
||||
// vim: fdm=marker:
|
||||
|
|
@ -30,7 +30,7 @@
|
|||
bindings = <
|
||||
&kp ESC &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp DEL
|
||||
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp SQT
|
||||
&kp LSHFT &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
|
||||
&kp LSHFT &kp A &kp S &kp D < 2 F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
|
||||
&kp LALT &kp Z &kp X &kp C &kp V &kp B &kp C_MUTE &kp C_MUTE &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp BSLH
|
||||
&trans &trans &kp LWIN &mt LCTRL TAB < 1 RET < 2 SPACE &mt RCTRL BSPC &kp RWIN &trans &trans
|
||||
>;
|
||||
|
|
|
|||
|
|
@ -1,140 +0,0 @@
|
|||
# ========================================
|
||||
# FileName: splitkb_aurora_sofle.conf
|
||||
# Date: 03.01.2025
|
||||
# Author: Marcos Chow Castro
|
||||
# Email: mctechnology170318@gmail.com
|
||||
# GitHub: https://github.com/mctechnology17
|
||||
# Brief: configuration file for ZMK firmware
|
||||
# Board: nice_nano_v2 and puchi_ble_v1
|
||||
# ╔═╦═╦═╗
|
||||
# ╔════╗ ║║║║║╔╝
|
||||
# ║╔╗╔╗║ ║║║║║╚╗
|
||||
# ╚╝║║╚╝ ║╠═╩╩═╝
|
||||
# ║╠═╦═╣╚╦═╦╦═╦╗╔═╦═╦╦╗
|
||||
# ║║╩╣═╣║║║║║╬║╚╣╬║╬║║║
|
||||
# ╚╩═╩═╩╩╩╩═╩═╩═╩═╬╗╠╗║
|
||||
# ╚═╩═╝
|
||||
# Copyright (c) 2020 The ZMK Contributors
|
||||
# SPDX-License-Identifier: MIT
|
||||
# =========================================
|
||||
# on config_zmk.h file enable/disable the following options, if you want to
|
||||
# use CONFIG_ZMK_MOUSE=y, CONFIG_ZMK_RGB_UNDERGLOW=y, CONFIG_ZMK_RGB_UNDERGLOW=y
|
||||
# mouse config, 1 = enable, 0 = disable, default = 1
|
||||
# 2 = enable, but with rgb matrix
|
||||
# #define MC_TECHNOLOGY_MOUSE_ENABLE 1
|
||||
# rgb matrix config, 1 = enable, 0 = disable, default = 0
|
||||
# #define MC_TECHNOLOGY_RGB_ENABLE 0
|
||||
# define macros on for .dtsi file 1 = enable, 0 = disable default = 1
|
||||
# #define MC_TECHNOLOGY_MACROS_ENABLE 1
|
||||
|
||||
### Keyboard name
|
||||
# CONFIG_ZMK_KEYBOARD_NAME="Nice splitkb_aurora_sofle View"
|
||||
# CONFIG_ZMK_KEYBOARD_NAME="Puchi splitkb_aurora_sofle View"
|
||||
# CONFIG_ZMK_KEYBOARD_NAME="Nice splitkb_aurora_sofle Oled"
|
||||
# CONFIG_ZMK_KEYBOARD_NAME="Puchi splitkb_aurora_sofle Oled"
|
||||
|
||||
### Boost Bluetooth TX power, also make Bluetooth stronger
|
||||
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
|
||||
CONFIG_ZMK_BLE_EXPERIMENTAL_FEATURES=y
|
||||
# Tune bluetooth profiles for quick select
|
||||
# CONFIG_BT_MAX_CONN=3
|
||||
# Uncomment the following line if you facing issue on win 11 connection
|
||||
# Enables a combination of settings that are planned to be default in future
|
||||
# versions of ZMK to improve connection stability. This includes changes to
|
||||
# timing on BLE pairing initiation, restores use of the updated/new LLCP
|
||||
# implementation, and disables 2M PHY support.
|
||||
CONFIG_ZMK_BLE_EXPERIMENTAL_CONN=y
|
||||
|
||||
### POWER OPTIONS
|
||||
CONFIG_ZMK_SLEEP=y
|
||||
CONFIG_ZMK_EXT_POWER=y
|
||||
# 15 min (15*60*1000ms)
|
||||
# CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=900000
|
||||
# 1 min Número de milisegundos de inactividad antes de entrar en estado inactivo
|
||||
# CONFIG_ZMK_IDLE_TIMEOUT=60000
|
||||
# 30 min (30*60*1000ms)
|
||||
# CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=1800000
|
||||
# CONFIG_ZMK_IDLE_TIMEOUT=120000
|
||||
# Disable external power when not connected to USB
|
||||
# CONFIG_ZMK_EXT_POWER_USB_ONLY=y
|
||||
|
||||
### MOUSE
|
||||
# https://github.com/zmkfirmware/zmk/blob/main/docs/docs/keymaps/behaviors/mouse-emulation.md
|
||||
CONFIG_ZMK_MOUSE=y
|
||||
|
||||
### ZMK STUDIO
|
||||
# MC: 2. zmk-studio test START
|
||||
# https://github.com/zmkfirmware/zmk/blob/main/docs/docs/config/studio.md
|
||||
CONFIG_ZMK_STUDIO=y
|
||||
CONFIG_ZMK_STUDIO_LOCKING=n
|
||||
# MC: zmk-studio test END
|
||||
|
||||
### RGB UNDERGLOW
|
||||
# uncomment to enable RGB Underglow or backlight
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW=y
|
||||
# CONFIG_WS2812_STRIP=y
|
||||
# apaga si no se usa el teclado
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_AUTO_OFF_IDLE=y
|
||||
# 0 Solid color 1 Breathe 2 Spectrum 3 Swirl
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_EFF_START=3
|
||||
# nivel de brillo en porcentaje, el valor por defecto es 10 por ciento
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_BRT_STEP=1
|
||||
# Turn off RGB underglow when keyboard goes into idle state
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_AUTO_OFF_IDLE=y
|
||||
|
||||
# # Hue step in degrees (0-359) used by RGB actions default 10
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_HUE_STEP=30
|
||||
|
||||
# # Brightness step in percent used by RGB actions default 10
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_SAT_STEP=2
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_HUE_START=240
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_SAT_START=10
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_BRT_START=15
|
||||
|
||||
# Uncomment the line below to disable external power toggling by the underglow.
|
||||
# By default toggling the underglow on and off also toggles external power
|
||||
# on and off. This also causes the display to turn off.
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_EXT_POWER=n
|
||||
|
||||
### OLED DISPLAY
|
||||
CONFIG_ZMK_DISPLAY=y
|
||||
CONFIG_ZMK_DISPLAY_STATUS_SCREEN_CUSTOM=y
|
||||
# esto creo que ya no es necesario
|
||||
# CONFIG_ZMK_DISPLAY_WORK_QUEUE_DEDICATED=y
|
||||
# CONFIG_ZMK_DISPLAY_STATUS_SCREEN_BUILT_IN=y
|
||||
|
||||
### WIDGET SETTINGS
|
||||
# No Widget configurations added since nice!view has its own custom widgets
|
||||
# activar solo estos dos widgets
|
||||
# CONFIG_ZMK_WIDGET_WPM_STATUS=n
|
||||
# CONFIG_ZMK_WIDGET_BATTERY_STATUS_SHOW_PERCENTAGE=y
|
||||
# CONFIG_ZMK_WIDGET_LAYER_STATUS=y
|
||||
# CONFIG_ZMK_WIDGET_BATTERY_STATUS=y
|
||||
# CONFIG_ZMK_WIDGET_OUTPUT_STATUS=y
|
||||
|
||||
### HID para nice!view ePaperDisplay
|
||||
# Enable eager debouncing
|
||||
# "Eager Debouncing"
|
||||
# Trying to lower the input lag.
|
||||
CONFIG_ZMK_KSCAN_DEBOUNCE_PRESS_MS=1
|
||||
CONFIG_ZMK_KSCAN_DEBOUNCE_RELEASE_MS=5
|
||||
|
||||
### Improves compatibility with iPad
|
||||
# ref: https://zmk.dev/docs/config/system#hid
|
||||
CONFIG_ZMK_HID_CONSUMER_REPORT_USAGES_BASIC=y
|
||||
|
||||
# RDP compatibility.
|
||||
# CONFIG_ZMK_HID_SEPARATE_MOD_RELEASE_REPORT=y
|
||||
|
||||
# NKRO
|
||||
# CONFIG_ZMK_HID_REPORT_TYPE_NKRO=y
|
||||
# enable F13-F24
|
||||
# CONFIG_ZMK_HID_KEYBOARD_NKRO_EXTENDED_REPORT=y
|
||||
|
||||
### DEBUG OPTIONS
|
||||
# CONFIG_ZMK_USB_LOGGING=y
|
||||
# CONFIG_LOG_PROCESS_THREAD_STARTUP_DELAY_MS=8000
|
||||
|
||||
### ENABLE ENCODER
|
||||
CONFIG_EC11=y
|
||||
CONFIG_EC11_TRIGGER_GLOBAL_THREAD=y
|
||||
|
|
@ -1,93 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) 2023 The ZMK Contributors
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include <behaviors.dtsi>
|
||||
#include <dt-bindings/zmk/keys.h>
|
||||
#include <dt-bindings/zmk/bt.h>
|
||||
#include <dt-bindings/zmk/ext_power.h>
|
||||
|
||||
/* Uncomment this block if using RGB
|
||||
&led_strip {
|
||||
chain-length = <6>;
|
||||
// chain-length = <35>; // Uncomment if using both per-key and underglow LEDs
|
||||
// chain-length = <29>; // Uncomment if using only per-key LEDs.
|
||||
};
|
||||
*/
|
||||
|
||||
/ {
|
||||
keymap {
|
||||
compatible = "zmk,keymap";
|
||||
|
||||
default_layer {
|
||||
display-name = "BAS";
|
||||
// ------------------------------------------------------------------------------------------------------------
|
||||
// | ESC | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | ` |
|
||||
// | TAB | Q | W | E | R | T | | Y | U | I | O | P | - |
|
||||
// | CTRL | A | S | D | F | G | | H | J | K | L | ; | ' |
|
||||
// | SHIFT | Z | X | C | V | B | "[" | | "]" | N | M | , | . | / | SHIFT |
|
||||
// |CTRL | ALT | GUI | LOWER| SPACE | | ENTER | RAISE| BSPC | GUI | RALT |
|
||||
bindings = <
|
||||
&kp ESC &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp GRAVE
|
||||
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp MINUS
|
||||
&kp LCTRL &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
|
||||
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp LBKT &kp RBKT &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT
|
||||
&kp LCTRL &kp LALT &kp LGUI &mo 1 &kp SPACE &kp RET &mo 2 &kp BSPC &kp RGUI &kp RALT
|
||||
>;
|
||||
|
||||
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN>;
|
||||
};
|
||||
|
||||
lower_layer {
|
||||
display-name = "LOW";
|
||||
// ------------------------------------------------------------------------------------------------------------
|
||||
// | BTCLR | BT1 | BT2 | BT3 | BT4 | BT5 | | | | | | | |
|
||||
// | F1 | F2 | F3 | F4 | F5 | F6 | | F7 | F8 | F9 | F10 | F11 | F12 |
|
||||
// | ` | ! | @ | # | $ | % | | ^ | & | * | ( | ) | ~ |
|
||||
// | | | | | | | | | | | _ | + | { | } | "|" |
|
||||
// | | | | | | | | | | | |
|
||||
bindings = <
|
||||
&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &trans &trans &trans &trans &trans
|
||||
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12
|
||||
&kp GRAVE &kp EXCL &kp AT &kp HASH &kp DOLLAR &kp PRCNT &kp CARET &kp AMPS &kp STAR &kp LPAR &kp RPAR &kp TILDE
|
||||
&trans &ext_power EP_ON &ext_power EP_OFF &ext_power EP_TOG &trans &trans &trans &trans &trans &kp MINUS &kp PLUS &kp LBRC &kp RBRC &kp PIPE
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||
>;
|
||||
|
||||
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN>;
|
||||
};
|
||||
|
||||
raise_layer {
|
||||
display-name = "RAI";
|
||||
// ------------------------------------------------------------------------------------------------------------
|
||||
// | | | | | | | | | | | | | |
|
||||
// | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | |
|
||||
// | F1 | F2 | F3 | F4 | F5 | F6 | | | <- | v | ^ | -> | |
|
||||
// | F7 | F8 | F9 | F10 | F11 | F12 | | | | + | - | = | [ | ] | \ |
|
||||
// | | | | | | | | | | | |
|
||||
bindings = <
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||
&kp GRAVE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &trans
|
||||
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &trans &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans
|
||||
&kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 &trans &trans &kp KP_PLUS &kp MINUS &kp EQUAL &kp LBKT &kp RBKT &kp BSLH
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||
>;
|
||||
|
||||
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN>;
|
||||
};
|
||||
|
||||
extra_1 {
|
||||
status = "reserved";
|
||||
};
|
||||
|
||||
extra_2 {
|
||||
status = "reserved";
|
||||
};
|
||||
|
||||
extra_3 {
|
||||
status = "reserved";
|
||||
};
|
||||
};
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue