diff --git a/config/corne.keymap b/config/corne.keymap index 3079bfd..6d19cd8 100644 --- a/config/corne.keymap +++ b/config/corne.keymap @@ -63,7 +63,7 @@ ZMK_LAYER_5COL(nav, // ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤ &bt BT_PRV &bt BT_NXT &kp C_VOL_DN &kp C_VOL_UP XXX &kp HOME &kp PG_DN &kp PG_UP &kp END &kp SLCK // ╰───────────┴───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┴────────────╯ - XXX XXX XXX XXX XXX XXX + ___ ___ ___ ___ ___ ___ // ╰───────────┴────────────┴────────────╯ ╰───────────┴─────────────┴─────────────╯ ) @@ -87,6 +87,6 @@ ZMK_LAYER_5COL(mouse, // ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤ XXX XXX XXX &mwh_tg XXX XXX XXX XXX XXX XXX // ╰───────────┴───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┴────────────╯ - &to DEF &mkp_rg &mkp_lf ___ ___ ___ + &to DEF &mkp_rg &mkp_lf XXX XXX XXX // ╰───────────┴────────────┴────────────╯ ╰───────────┴─────────────┴─────────────╯ ) diff --git a/config/urchin.keymap b/config/urchin.keymap index 5b66aa5..76c2737 100644 --- a/config/urchin.keymap +++ b/config/urchin.keymap @@ -63,7 +63,7 @@ ZMK_LAYER(nav, // ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤ &bt BT_PRV &bt BT_NXT &kp C_VOL_DN &kp C_VOL_UP XXX &kp HOME &kp PG_DN &kp PG_UP &kp END &kp SLCK // ╰───────────┴───────────┴───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┴────────────┴────────────╯ - XXX XXX XXX XXX + ___ ___ ___ ___ // ╰────────────┴────────────╯ ╰───────────┴─────────────╯ ) @@ -87,6 +87,6 @@ ZMK_LAYER(mouse, // ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤ XXX XXX XXX &mwh_tg XXX XXX XXX XXX XXX XXX // ╰───────────┴───────────┴───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┴────────────┴────────────╯ - &mkp_rg &mkp_lf ___ ___ + &mkp_rg &mkp_lf XXX XXX // ╰────────────┴────────────╯ ╰───────────┴─────────────╯ ) diff --git a/images/icons/backspace.svg b/images/icons/backspace.svg new file mode 100644 index 0000000..442735e --- /dev/null +++ b/images/icons/backspace.svg @@ -0,0 +1,3 @@ + + + diff --git a/images/icons/bt_clear.svg b/images/icons/bt_clear.svg new file mode 100644 index 0000000..945efff --- /dev/null +++ b/images/icons/bt_clear.svg @@ -0,0 +1,4 @@ + + + + diff --git a/images/icons/bt_next.svg b/images/icons/bt_next.svg new file mode 100644 index 0000000..0d30485 --- /dev/null +++ b/images/icons/bt_next.svg @@ -0,0 +1,10 @@ + + + + + + \g> + + + \g> + diff --git a/images/icons/bt_prev.svg b/images/icons/bt_prev.svg new file mode 100644 index 0000000..7aecd44 --- /dev/null +++ b/images/icons/bt_prev.svg @@ -0,0 +1,10 @@ + + + + + + \g> + + + \g> + diff --git a/images/icons/click_left.svg b/images/icons/click_left.svg new file mode 100644 index 0000000..9731224 --- /dev/null +++ b/images/icons/click_left.svg @@ -0,0 +1,3 @@ + + + diff --git a/images/icons/click_right.svg b/images/icons/click_right.svg new file mode 100644 index 0000000..b0dd879 --- /dev/null +++ b/images/icons/click_right.svg @@ -0,0 +1,3 @@ + + + diff --git a/images/icons/copy.svg b/images/icons/copy.svg new file mode 100644 index 0000000..f558672 --- /dev/null +++ b/images/icons/copy.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/images/icons/cursor_down.svg b/images/icons/cursor_down.svg new file mode 100644 index 0000000..5813e3a --- /dev/null +++ b/images/icons/cursor_down.svg @@ -0,0 +1,4 @@ + + + + diff --git a/images/icons/cursor_left.svg b/images/icons/cursor_left.svg new file mode 100644 index 0000000..055b8ab --- /dev/null +++ b/images/icons/cursor_left.svg @@ -0,0 +1,4 @@ + + + + diff --git a/images/icons/cursor_move.svg b/images/icons/cursor_move.svg new file mode 100644 index 0000000..fb926df --- /dev/null +++ b/images/icons/cursor_move.svg @@ -0,0 +1,4 @@ + + + + diff --git a/images/icons/cursor_right.svg b/images/icons/cursor_right.svg new file mode 100644 index 0000000..653fec7 --- /dev/null +++ b/images/icons/cursor_right.svg @@ -0,0 +1,4 @@ + + + + diff --git a/images/icons/cursor_up.svg b/images/icons/cursor_up.svg new file mode 100644 index 0000000..566448e --- /dev/null +++ b/images/icons/cursor_up.svg @@ -0,0 +1,4 @@ + + + + diff --git a/images/icons/cut.svg b/images/icons/cut.svg new file mode 100644 index 0000000..6cbbb68 --- /dev/null +++ b/images/icons/cut.svg @@ -0,0 +1,3 @@ + + + diff --git a/images/icons/delete.svg b/images/icons/delete.svg new file mode 100644 index 0000000..0e35fad --- /dev/null +++ b/images/icons/delete.svg @@ -0,0 +1,3 @@ + + + diff --git a/images/icons/media_next.svg b/images/icons/media_next.svg new file mode 100644 index 0000000..e4f19cb --- /dev/null +++ b/images/icons/media_next.svg @@ -0,0 +1,3 @@ + + + diff --git a/images/icons/media_prev.svg b/images/icons/media_prev.svg new file mode 100644 index 0000000..4bb72b7 --- /dev/null +++ b/images/icons/media_prev.svg @@ -0,0 +1,3 @@ + + + diff --git a/images/icons/paste.svg b/images/icons/paste.svg new file mode 100644 index 0000000..bd8ef59 --- /dev/null +++ b/images/icons/paste.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/images/icons/play_pause.svg b/images/icons/play_pause.svg new file mode 100644 index 0000000..d3ff130 --- /dev/null +++ b/images/icons/play_pause.svg @@ -0,0 +1,4 @@ + + + + diff --git a/images/icons/printscreen.svg b/images/icons/printscreen.svg new file mode 100644 index 0000000..adce2fa --- /dev/null +++ b/images/icons/printscreen.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/images/icons/return.svg b/images/icons/return.svg new file mode 100644 index 0000000..df2003b --- /dev/null +++ b/images/icons/return.svg @@ -0,0 +1,3 @@ + + + diff --git a/images/icons/scroll_down.svg b/images/icons/scroll_down.svg new file mode 100644 index 0000000..7b6740e --- /dev/null +++ b/images/icons/scroll_down.svg @@ -0,0 +1,4 @@ + + + + diff --git a/images/icons/scroll_left.svg b/images/icons/scroll_left.svg new file mode 100644 index 0000000..9b935a7 --- /dev/null +++ b/images/icons/scroll_left.svg @@ -0,0 +1,4 @@ + + + + diff --git a/images/icons/scroll_right.svg b/images/icons/scroll_right.svg new file mode 100644 index 0000000..448b9d5 --- /dev/null +++ b/images/icons/scroll_right.svg @@ -0,0 +1,4 @@ + + + + diff --git a/images/icons/scroll_up.svg b/images/icons/scroll_up.svg new file mode 100644 index 0000000..5262097 --- /dev/null +++ b/images/icons/scroll_up.svg @@ -0,0 +1,4 @@ + + + + diff --git a/images/icons/space.svg b/images/icons/space.svg new file mode 100644 index 0000000..5019052 --- /dev/null +++ b/images/icons/space.svg @@ -0,0 +1,3 @@ + + + diff --git a/images/icons/tab.svg b/images/icons/tab.svg new file mode 100644 index 0000000..afd575b --- /dev/null +++ b/images/icons/tab.svg @@ -0,0 +1,3 @@ + + + diff --git a/images/icons/vol_down.svg b/images/icons/vol_down.svg new file mode 100644 index 0000000..d7c8adc --- /dev/null +++ b/images/icons/vol_down.svg @@ -0,0 +1,3 @@ + + + diff --git a/images/icons/vol_up.svg b/images/icons/vol_up.svg new file mode 100644 index 0000000..fe7058d --- /dev/null +++ b/images/icons/vol_up.svg @@ -0,0 +1,3 @@ + + + diff --git a/images/keymaps/urchin_keymap.svg b/images/keymaps/urchin_keymap.svg index df389c7..f44f1ab 100644 --- a/images/keymaps/urchin_keymap.svg +++ b/images/keymaps/urchin_keymap.svg @@ -8,6 +8,58 @@ + + + + + + + + \g> + + \g> + + + + + + + + + + \g> + + \g> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -41,6 +93,13 @@ + + + + + + + @@ -50,6 +109,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -128,15 +215,6 @@ - - - - - - - - - @@ -294,39 +372,45 @@ path.combo { stroke: none; } -.icon-tabler-cut > path { +.icon-tabler-cut > path, +.icon-tabler-space > path, +.icon-tabler-copy > path, +.icon-tabler-clipboard > path, +.icon-tabler-camera > path, +.icon-tabler-volume > path, +.icon-tabler-volume-2 > path, +.icon-tabler-bluetooth-x > path, +.icon-tabler-bluetooth-prev > path, +.icon-tabler-bluetooth-next > path { fill: none; stroke: white; } +#tabler\:cut, +#tabler\:copy, +#tabler\:clipboard, +#tabler\:camera { + transform: scale(1.4); + transform-box: fill-box; +} + #tabler\:space { transform: scale(1.8); transform-box: fill-box; } -.icon-tabler-space > path { - fill: none; - stroke: white; -} - -.icon-tabler-copy > path { - fill: none; - stroke: white; -} - -.icon-tabler-clipboard > path { - fill: none; - stroke: white; -} - -.icon-tabler-bluetooth-x > path { - fill: none; - stroke: white; +#tabler\:volume, +#tabler\:volume-2 { + transform: scale(1.7); + transform-box: fill-box; } -.icon-tabler-camera > path { - fill: none; - stroke: white; +#tabler\:arrow-big-up, +#tabler\:arrow-big-down, +#tabler\:arrow-big-left, +#tabler\:arrow-big-right { + transform: scale(1.3); + transform-box: fill-box; } /* hide tabler's default box */ @@ -347,10 +431,12 @@ path.combo { } .shifted.material\:left_click { - transform: scale(1.8) translateY(10px); + transform: scale(1.2) translateY(5px); transform-box: fill-box; } +#material\:left_click, +#material\:right_click, #material\:keyboard_tab { transform: scale(1.5); transform-box: fill-box; @@ -358,7 +444,12 @@ path.combo { /* Custom glyphs */ .bt-clear { - transform: scale(2) translate(2px, 1px); + transform: scale(2.4) translate(2px, 1.5px); +} + +.bt-prev, +.bt-next { + transform: scale(1.5) translate(2px); } #delete { @@ -366,6 +457,43 @@ path.combo { transform-box: fill-box; } +.combo.scroll { + transform: scale(1.2) translate(-19px, -6px); +} + +.scroll, +.scroll-right { + transform: scale(1.5); +} + +.scroll-down { + transform: scale(1.5) translateY(-2px); +} + +.scroll-up { + transform: scale(1.5) translateY(2px); +} + +.scroll-left { + transform: scale(1.5) translate(2px); +} + +.cursor-right { + transform: scale(1.8); +} + +.cursor-down { + transform: scale(1.8) translateY(-1px); +} + +.cursor-up { + transform: scale(1.9) translateY(1px); +} + +.cursor-left { + transform: scale(1.8) translate(1px); +} + .output-toggle { transform: scale(2.5); fill: none; @@ -502,8 +630,8 @@ path.combo { -accent -toggle +accent +toggle @@ -524,7 +652,7 @@ path.combo { -symbol +symbol @@ -885,7 +1013,7 @@ path.combo { GUI -sticky +sticky @@ -893,7 +1021,7 @@ path.combo { - + @@ -920,19 +1048,15 @@ path.combo { -INSERT +INSERT - -BTPRV - + - -BTNXT - + @@ -968,20 +1092,23 @@ path.combo { -SCROLLLOCK +SCROLLLOCK - - + + + - - + + + - - + + + @@ -1167,51 +1294,35 @@ path.combo { - -SCROLLLEFT - + - -SCROLLUP - + - -SCROLLDOWN - + - -SCROLLRIGHT - + - -CURSORLEFT - + - -CURSORDOWN - + - -CURSORUP - + - -CURSORRIGHT - + @@ -1255,13 +1366,11 @@ path.combo { - - - + + - - - + + @@ -1605,7 +1714,7 @@ path.combo { -TMUXCOMMAND +TMUXCOMMAND @@ -1717,7 +1826,8 @@ path.combo { -TMUX NEWSESSION +TMUXNEW +SESSION @@ -1829,7 +1939,7 @@ path.combo { mouse -toggle +toggle diff --git a/keymap-drawer/config.yaml b/keymap-drawer/config.yaml index d98f802..185f00f 100644 --- a/keymap-drawer/config.yaml +++ b/keymap-drawer/config.yaml @@ -133,39 +133,45 @@ draw_config: stroke: none; } - .icon-tabler-cut > path { + .icon-tabler-cut > path, + .icon-tabler-space > path, + .icon-tabler-copy > path, + .icon-tabler-clipboard > path, + .icon-tabler-camera > path, + .icon-tabler-volume > path, + .icon-tabler-volume-2 > path, + .icon-tabler-bluetooth-x > path, + .icon-tabler-bluetooth-prev > path, + .icon-tabler-bluetooth-next > path { fill: none; stroke: white; } + #tabler\:cut, + #tabler\:copy, + #tabler\:clipboard, + #tabler\:camera { + transform: scale(1.4); + transform-box: fill-box; + } + #tabler\:space { transform: scale(1.8); transform-box: fill-box; } - .icon-tabler-space > path { - fill: none; - stroke: white; - } - - .icon-tabler-copy > path { - fill: none; - stroke: white; - } - - .icon-tabler-clipboard > path { - fill: none; - stroke: white; - } - - .icon-tabler-bluetooth-x > path { - fill: none; - stroke: white; + #tabler\:volume, + #tabler\:volume-2 { + transform: scale(1.7); + transform-box: fill-box; } - .icon-tabler-camera > path { - fill: none; - stroke: white; + #tabler\:arrow-big-up, + #tabler\:arrow-big-down, + #tabler\:arrow-big-left, + #tabler\:arrow-big-right { + transform: scale(1.3); + transform-box: fill-box; } /* hide tabler's default box */ @@ -186,10 +192,12 @@ draw_config: } .shifted.material\:left_click { - transform: scale(1.8) translateY(10px); + transform: scale(1.2) translateY(5px); transform-box: fill-box; } + #material\:left_click, + #material\:right_click, #material\:keyboard_tab { transform: scale(1.5); transform-box: fill-box; @@ -197,7 +205,12 @@ draw_config: /* Custom glyphs */ .bt-clear { - transform: scale(2) translate(2px, 1px); + transform: scale(2.4) translate(2px, 1.5px); + } + + .bt-prev, + .bt-next { + transform: scale(1.5) translate(2px); } #delete { @@ -205,6 +218,43 @@ draw_config: transform-box: fill-box; } + .combo.scroll { + transform: scale(1.2) translate(-19px, -6px); + } + + .scroll, + .scroll-right { + transform: scale(1.5); + } + + .scroll-down { + transform: scale(1.5) translateY(-2px); + } + + .scroll-up { + transform: scale(1.5) translateY(2px); + } + + .scroll-left { + transform: scale(1.5) translate(2px); + } + + .cursor-right { + transform: scale(1.8); + } + + .cursor-down { + transform: scale(1.8) translateY(-1px); + } + + .cursor-up { + transform: scale(1.9) translateY(1px); + } + + .cursor-left { + transform: scale(1.8) translate(1px); + } + .output-toggle { transform: scale(2.5); fill: none; @@ -213,7 +263,7 @@ draw_config: } svg_extra_style: '' - shrink_wide_legends: 5 + shrink_wide_legends: 6 glyph_tap_size: 14 glyph_hold_size: 12 glyph_shifted_size: 10 @@ -225,6 +275,26 @@ draw_config: + bt-next: | + + + + + + \g> + + \g> + + bt-prev: | + + + + + + \g> + + \g> + output-toggle: | @@ -246,6 +316,51 @@ draw_config: + scroll-left: | + + + + + scroll-up: | + + + + + scroll-down: | + + + + + scroll-right: | + + + + + cursor-left: | + + + + + cursor-down: | + + + + + cursor-up: | + + + + + cursor-right: | + + + + + play-pause: | + + + + glyph_urls: tabler: https://unpkg.com/@tabler/icons/icons/{}.svg mdi: https://raw.githubusercontent.com/Templarian/MaterialDesign-SVG/master/svg/{}.svg @@ -297,14 +412,14 @@ parse_config: "&math_micro": "µ", "&mkp RCLK": "$$material:right_click$$", "&mkp LCLK": "$$material:left_click$$", - "&mwh SCROLL_LEFT": "SCROLL LEFT", - "&mwh SCROLL_RIGHT": "SCROLL RIGHT", - "&mwh SCROLL_UP": "SCROLL UP", - "&mwh SCROLL_DOWN": "SCROLL DOWN", - "&mmv MOVE_LEFT": "CURSOR LEFT", - "&mmv MOVE_RIGHT": "CURSOR RIGHT", - "&mmv MOVE_UP": "CURSOR UP", - "&mmv MOVE_DOWN": "CURSOR DOWN", + "&mwh SCROLL_LEFT": "$$scroll-left$$", + "&mwh SCROLL_RIGHT": "$$scroll-right$$", + "&mwh SCROLL_UP": "$$scroll-up$$", + "&mwh SCROLL_DOWN": "$$scroll-down$$", + "&mmv MOVE_LEFT": "$$cursor-left$$", + "&mmv MOVE_RIGHT": "$$cursor-right$$", + "&mmv MOVE_UP": "$$cursor-up$$", + "&mmv MOVE_DOWN": "$$cursor-down$$", "&mwh_tg": "$$scroll$$", "&caps_word": "CAPS WORD", "&caps_lock": "CAPS LOCK", @@ -312,7 +427,7 @@ parse_config: "&kp LC(C)": "$$tabler:copy$$", "&kp LC(V)": "$$tabler:clipboard$$", "&kp LC(LA(J))": "TMUX", - "&TMUX_SESSION": "TMUX NEW SESSION", + "&TMUX_SESSION": "TMUX NEW SESSION", "&TMUX_CMD": "TMUX COMMAND", "<E": " <= ", ">E": " >= ", @@ -477,7 +592,7 @@ parse_config: DEL: '$$delete$$' C_VOL_UP: '$$tabler:volume$$' C_VOL_DN: '$$tabler:volume-2$$' - C_PP: '$$tabler:player-play-filled$$' + C_PP: '$$play-pause$$' C_PREV: '$$tabler:player-track-prev-filled$$' C_NEXT: '$$tabler:player-track-next-filled$$' LEFT: '$$tabler:arrow-big-left$$' @@ -485,6 +600,8 @@ parse_config: UP: '$$tabler:arrow-big-up$$' DOWN: '$$tabler:arrow-big-down$$' BT_CLR: '$$bt-clear$$' + BT_NXT: '$$bt-next$$' + BT_PRV: '$$bt-prev$$' zmk_combos: combo_capsword: draw_separate: true diff --git a/keymap-drawer/urchin_keymap.yaml b/keymap-drawer/urchin_keymap.yaml index 33fb6cb..bc73449 100644 --- a/keymap-drawer/urchin_keymap.yaml +++ b/keymap-drawer/urchin_keymap.yaml @@ -118,7 +118,7 @@ layers: - '' - {t: GUI, h: sticky} - $$tabler:player-track-prev-filled$$ - - $$tabler:player-play-filled$$ + - $$play-pause$$ - $$tabler:player-track-next-filled$$ - '' - $$tabler:arrow-big-left$$ @@ -126,8 +126,8 @@ layers: - $$tabler:arrow-big-up$$ - $$tabler:arrow-big-right$$ - INSERT - - BT PRV - - BT NXT + - $$bt-prev$$ + - $$bt-next$$ - $$tabler:volume-2$$ - $$tabler:volume$$ - '' @@ -137,9 +137,9 @@ layers: - END - SCROLL LOCK - {type: held} - - '' - - '' - - '' + - {t: ▽, type: trans} + - {t: ▽, type: trans} + - {t: ▽, type: trans} nums: - F1 - F2 @@ -175,41 +175,8 @@ layers: - {type: held} - {t: ▽, type: trans} - '0' - mouse: - - '' - - '' - - '' - - '' - - '' - - '' - - '' - - '' - - '' - - '' - - '' - - SCROLL LEFT - - SCROLL UP - - SCROLL DOWN - - SCROLL RIGHT - - CURSOR LEFT - - CURSOR DOWN - - CURSOR UP - - CURSOR RIGHT - - '' - - '' - - '' - - '' - - $$scroll$$ - - '' - - '' - - '' - - '' - - '' - - '' - - $$material:right_click$$ - - $$material:left_click$$ - - {t: ▽, type: trans} - - {t: ▽, type: trans} + mouse: ['', '', '', '', '', '', '', '', '', '', '', $$scroll-left$$, $$scroll-up$$, $$scroll-down$$, $$scroll-right$$, $$cursor-left$$, $$cursor-down$$, $$cursor-up$$, + $$cursor-right$$, '', '', '', '', $$scroll$$, '', '', '', '', '', '', '$$material:right_click$$', '$$material:left_click$$', '', ''] combos: - p: [21, 20] k: $$tabler:cut$$ @@ -246,7 +213,7 @@ combos: l: [qwerty] draw_separate: true - p: [12, 11, 10] - k: TMUX NEW SESSION + k: TMUX NEW SESSION l: [qwerty] draw_separate: true - p: [3, 0] diff --git a/readme.md b/readme.md index 3e34557..fa3d77d 100644 --- a/readme.md +++ b/readme.md @@ -1,5 +1,6 @@ # ZMK Config + ZMK firmware configuration for Corne and Urchin keyboards, optimized for English/French/Programming. @@ -9,8 +10,8 @@ Since the Corne (36 keys) and Urchin (34 keys) have similar layouts, both keyboards use the same configuration. The only exception is the combos using thumb keys, which are in their own files ([combos_34](behaviors/combos_34.dtsi) and [combos_36](behaviors/combos_36.dtsi)). Keyboards also have their own keymap -files, but in pratice they use the same mappings. This repos uses Github Actions -to generate both firmwares simultaneously on each push. +files, but in pratice they use the same mappings. Both firmwares are generated +simultaneously with Github Actions. ![My Corne 36 keys keyboard](images/corne36.jpg) @@ -28,17 +29,40 @@ to generate both firmwares simultaneously on each push. ## Keymap -The keymap has 6 layers: - -1. QWERTY (DEF) -1. Accents (ACC) -1. Navigation (NAV) -1. Symbols (SYM) -1. Numbers (NUM) -1. Mouse (MOU) - ![Keymap drawing of all layers and combos](images/keymaps/urchin_keymap.svg) +**Legend** + + +| Icon | Label | +|:-----------------------:|-----------------------------| +| ![Mouse Left Click](images/icons/click_left.svg) | Mouse left click | +| ![Mouse Right Click](images/icons/click_right.svg) | Mouse right click | +| ![Mouse Scroll Toggle](images/icons/scroll.svg) | Toggle mouse scroll (trackball/scrollball) | +| ![Mouse Scroll](images/icons/scroll_right.svg) | Directional mouse scroll | +| ![Mouse Cursor Move](images/icons/cursor_right.svg) | Move mouse pointer | +| ![Space](images/icons/space.svg) | Space | +| ![Backspace](images/icons/backspace.svg) | Backspace | +| ![Delete](images/icons/delete.svg) | Delete | +| ![Tab](images/icons/tab.svg) | Tab | +| ![Enter](images/icons/return.svg) | Return / Enter | +| ![Printscreen](images/icons/printscreen.svg) | Printscreen | +| ![Cut](images/icons/cut.svg) | Cut | +| ![Copy](images/icons/copy.svg) | Copy | +| ![Paste](images/icons/paste.svg) | Paste | +| ![Media Play/Pause](images/icons/play_pause.svg) | Play / Pause | +| ![Media Previous Track](images/icons/media_prev.svg) | Previous track | +| ![Media Next Track](images/icons/media_next.svg) | Next track | +| ![Media Volume Up](images/icons/vol_up.svg) | Volume up | +| ![Media Volume Down](images/icons/vol_down.svg) | Volume down | +| ![Bluetooth Clear](images/icons/bt_clear.svg) | Clear Bluetooth profile | +| ![Bluetooth Previous](images/icons/bt_prev.svg) | Previous Bluetooth profile | +| ![Bluetooth Next](images/icons/bt_next.svg) | Next Bluetooth profile | +| ![Bluetooth Output Toggle](images/icons/out_tog.svg) | Toggle Bluetooth/USB output | + For more details, head to the [urchin.keymap](config/urchin.keymap) or [corne.keymap](config/corne.keymap) source files. @@ -68,3 +92,4 @@ whenever I switch keyboards. - [Corne Keyboard](https://github.com/foostan/crkbd) - [Urchin Keyboard](https://github.com/duckyb/urchin) - [Ploopy Nano Trackball](https://github.com/ploopyco/nano-trackball) + diff --git a/urchin_export.keymap b/urchin_export.keymap new file mode 100644 index 0000000..0762560 --- /dev/null +++ b/urchin_export.keymap @@ -0,0 +1,86 @@ +#include + +/ { + keymap { + compatible = "zmk,keymap"; + + querty { + bindings = < + &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P + &hml LGUI A &hml LALT S &hml CL D &hml SL F &kp G &kp H &hmr SL J &hmr CL K &hmr AL L &hmr GL SCLN + &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp CMMA &kp DOT &to ACC + < NAV RET < NUM ESC CLICK &mt BKSP DEL < SYMBOLS SPC + >; +}; + + accent_layer { + bindings = < +// ╭───────────┬───────────┬───────────┬────────────┬────────────╮ ╭───────────┬─────────────┬─────────────┬────────────┬────────────╮ + &none &none &kp Ë &none &none &none &kp Ï &kp Ö &kp Ü &kp TREMA +// ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤ + &kp À &kp Ê &kp É &hrme LSFT È &none &none &hrmi LSFT Î &Ô &kp Û &kp GRAVE +// ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤ + &kp  &none &kp Ç &none &none &none &none &none &kp Ù &kp CARET +// ╰───────────┴───────────┴───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┴────────────┴────────────╯ + &trans &trans &trans &trans +// ╰────────────┴────────────╯ ╰───────────┴─────────────╯ +>; + }; +symbol_layer { + bindings = < +// ╭───────────┬───────────┬───────────┬────────────┬────────────╮ ╭───────────┬─────────────┬─────────────┬────────────┬────────────╮ + &kp HASH &kp AT &kp LBRAC &kp RBRAC &kp PLUS &none &kp TILDS &GRA &kp DLLR &none +// ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤ + &kp SLSH &dash_tilde &kp LPAR &hml SL RPAR &kp EQUAL &CAR &kp QUEST &kp EXCL &kp AMPS &kp PIP +// ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤ + &kp STAR &kp PRCNT &kp LBKET &kp RBKET &kp UNDER &none &kp LETHAN &kp GRTHAN « » +// ╰───────────┴───────────┴───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┴────────────┴────────────╯ + &trans &trans &trans &trans +// ╰────────────┴────────────╯ ╰───────────┴─────────────╯ + + >; + }; +// +nav_layer { + bindings = < +// ╭───────────┬───────────┬───────────┬────────────┬────────────╮ ╭───────────┬─────────────┬─────────────┬────────────┬────────────╮ + &out OutTog &trans &trans &trans &bt BT_CLR &trans &trans &trans &trans &trans +// ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤ + &sk LGUI &kp Prev &kp PlayPse &kp Next &none &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp Insert +// ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤ + &bt BT_PRV &bt BT_NXT &kp K_VOL_DN &kp K_VOL_UP &none &kp Home &kp PG_DN &kp PG_UP &kp End &kp SclLock +// ╰───────────┴───────────┴───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┴────────────┴────────────╯ + &trans &trans &trans &trans +// ╰────────────┴────────────╯ ╰───────────┴─────────────╯ + >; +}; +// + numbers { + bindings = < +// ╭───────────┬───────────┬───────────┬────────────┬────────────╮ ╭───────────┬─────────────┬─────────────┬────────────┬────────────╮ + &kp F1 &kp F2 &kp F3 &kp F4 &kp PlusMin &kp OneQ &kp 7 &kp N8 &kp N9 &mt KMLT FSLH +// ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤ + &kp F5 &kp F6 &kp F7 &hml SL F8 &kp Degree &kp OneHalf &kp N4 &kp N5 &kp N6 &mt KPLS MINUS +// ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤ + &kp F9 &kp F10 &kp F11 &kp F12 &kp Micro &kp ThreeQ &kp N1 &kp N2 &kp N3 &mt CMMA DOT +// ╰───────────┴───────────┴───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┴────────────┴────────────╯ + &trans &trans &trans &kp N0 +// ╰────────────┴────────────╯ ╰───────────┴─────────────╯ + >; + }; +// +mouse_layer { + bindings = < +// ╭───────────┬───────────┬───────────┬────────────┬────────────╮ ╭───────────┬─────────────┬─────────────┬────────────┬────────────╮ + &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans +// ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤ + &trans &kp MOUSE_UP &mwh_up &mwh_dn &mwh_rg &mmv_lf &mmv_dn &mmv_up &mmv_rg &trans +// ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤ + &trans &trans &trans &mwh_tg &trans &trans &trans &trans &trans &trans +// ╰───────────┴───────────┴───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┴────────────┴────────────╯ + &mkp_rg &mkp_lf &trans &trans +// ╰────────────┴────────────╯ ╰───────────┴─────────────╯ +>; + }; + }; +};