Skip to content

Commit

Permalink
Merge pull request #5 from JeffDess/keymap-images
Browse files Browse the repository at this point in the history
Keymap images
  • Loading branch information
JeffDess authored Dec 19, 2023
2 parents ed5ece9 + ddd7b57 commit a407587
Show file tree
Hide file tree
Showing 42 changed files with 3,397 additions and 42 deletions.
29 changes: 17 additions & 12 deletions behaviors/combos.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -25,43 +25,48 @@
***********************/

// CUT - Ctrl + X, active on base layer
ZMK_COMBO(combo_cut, &kp LC(X), LB3 LB4, DEF)
ZMK_COMBO(cut, &kp LC(X), LB3 LB4, DEF)

// COPY - Ctrl + C, active on base layer
ZMK_COMBO(combo_copy, &kp LC(C), LB2 LB3, DEF)
ZMK_COMBO(copy, &kp LC(C), LB2 LB3, DEF)

// PASTE - Ctrl + V, active on all layers
ZMK_COMBO(combo_paste, &kp LC(V), LB1 LB2, DEF)
ZMK_COMBO(paste, &kp LC(V), LB1 LB2, DEF)

// PRINT SCREEN - PrintScreen, active on base layer
ZMK_COMBO(combo_printscreen, &kp PRINTSCREEN, RT3 RT4, DEF)
ZMK_COMBO(printscreen, &kp PRINTSCREEN, RT3 RT4, DEF)

// CAPS WORD - Both HR Shifts, active on base & accent layers
ZMK_COMBO(combo_capsword, &caps_word, LM1 RM1, DEF ACC)
ZMK_COMBO(capsword, &caps_word, LM1 RM1, DEF ACC)

// CAPS LOCK - Both HR Controls, active on base & accent layers
ZMK_COMBO(capslock, &kp CAPSLOCK, LM2 RM2, DEF ACC)

// TMUX Prefix - active on base layer
ZMK_COMBO(combo_tmux, &kp TMUX, LM2 LM3, DEF, HR_TIMEOUT)
ZMK_COMBO(tmux, &kp TMUX, LM2 LM3, DEF, HR_TIMEOUT)

// TMUX Command - active on base layer
ZMK_COMBO(combo_tmux_cmd, &TMUX_CMD, LM2 LM3 RM4, DEF, HR_TIMEOUT)
ZMK_COMBO(tmux_cmd, &TMUX_CMD, LM2 LM3 RM4, DEF, HR_TIMEOUT)

// TMUX New Session - active on base layer
ZMK_COMBO(combo_tmux_session, &TMUX_SESSION, LM2 LM3 LM4, DEF, HR_TIMEOUT)
ZMK_COMBO(tmux_session, &TMUX_SESSION, LM2 LM3 LM4, DEF, HR_TIMEOUT)

// To Mouse Layer - active on base layer
ZMK_COMBO(toggle_mouse, &tog MOU, LT1 LT4, DEF MOU)

/***********************
SYMBOL LAYER
***********************/

// FAT ARROW - Left index & middle fingers on home row, active on symbol layer
ZMK_COMBO(combo_fat_arrow, &FAT_ARROW, LM1 LM2, SYM)
ZMK_COMBO(fat_arrow, &FAT_ARROW, LM1 LM2, SYM)

// THIN ARROW - Left index & middle fingers on bottom row, active on symbol layer
ZMK_COMBO(combo_arrow, &ARROW, LB1 LB2, SYM)
ZMK_COMBO(arrow, &ARROW, LB1 LB2, SYM)

// Lesser than or Equal - active on symbol layer
ZMK_COMBO(combo_lte, &LTE, RB1 RB2, SYM)
ZMK_COMBO(lte, &LTE, RB1 RB2, SYM)

// Greater than or Equal - active on symbol layer
ZMK_COMBO(combo_gte, &GTE, RB2 RB3, SYM)
ZMK_COMBO(gte, &GTE, RB2 RB3, SYM)

2 changes: 1 addition & 1 deletion behaviors/combos_34.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
***********************/

// TAB - Inner right thumbs, active on all layer
ZMK_COMBO(combo_tab_34, &kp TAB, RH0 RH1, 0)
ZMK_COMBO(tab_34, &kp TAB, RH0 RH1, 0)

3 changes: 1 addition & 2 deletions behaviors/combos_36.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#include <dt-bindings/zmk/keys.h>
#include "../zmk-nodefree-config/helper.h"
#include "../zmk-nodefree-config/keypos_def/keypos_36keys.h"
#include "../config/constants.h"
#include "./combos.dtsi"

#pragma once
Expand All @@ -15,5 +14,5 @@
***********************/

// TAB - Inner right thumbs, active on all layer
ZMK_COMBO(combo_tab, &kp TAB, RH0 RH1, ALL)
ZMK_COMBO(tab, &kp TAB, RH0 RH1, 0)

6 changes: 3 additions & 3 deletions behaviors/mouse.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ ZMK_BEHAVIOR(mwh_tg, macro, bindings =
)

// Mouse Left Click - Index and Middle finger of left hand, active on all layers
ZMK_COMBO(combo_leftclick, &mkp LCLK, LT1 LT2, ALL)
ZMK_COMBO(leftclick, &mkp LCLK, LT1 LT2, 0)

// Mouse Right Click - Pinky and Ring finger of left hand, active on all layers
ZMK_COMBO(combo_rightclick, &mkp RCLK, LT3 LT4, ALL)
ZMK_COMBO(rightclick, &mkp RCLK, LT3 LT4, 0)

// Mouse Scroll Toggle - Middle and Ring finger of left hand, active on all layers
ZMK_COMBO(combo_scrolltoggle, &mwh_tg, LT2 LT3, ALL)
ZMK_COMBO(scrolltoggle, &mwh_tg, LT2 LT3, 0)

10 changes: 5 additions & 5 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ ZMK_LAYER_5COL(symbol,

ZMK_LAYER_5COL(nav,
// ╭───────────┬───────────┬───────────┬────────────┬────────────╮ ╭───────────┬─────────────┬─────────────┬────────────┬────────────╮
&out OUT_TOG ___ ___ ___ &bt BT_CLR ___ ___ ___ ___ ___
&out OUT_TOG XXX XXX XXX &bt BT_CLR XXX XXX XXX XXX XXX
// ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤
&sk LGUI &kp C_PREV &kp C_PP &kp C_NEXT XXX &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp INS
// ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤
Expand All @@ -81,12 +81,12 @@ ZMK_LAYER_5COL(nums,

ZMK_LAYER_5COL(mouse,
// ╭───────────┬───────────┬───────────┬────────────┬────────────╮ ╭───────────┬─────────────┬─────────────┬────────────┬────────────╮
___ ___ ___ ___ ___ ___ ___ ___ ___ ___
XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX
// ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤
___ &mwh_lf &mwh_up &mwh_dn &mwh_rg &mmv_lf &mmv_dn &mmv_up &mmv_rg ___
XXX &mwh_lf &mwh_up &mwh_dn &mwh_rg &mmv_lf &mmv_dn &mmv_up &mmv_rg XXX
// ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤
___ ___ ___ &mwh_tg ___ ___ ___ ___ ___ ___
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
// ╰───────────┴────────────┴────────────╯ ╰───────────┴─────────────┴─────────────╯
)
10 changes: 5 additions & 5 deletions config/urchin.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ ZMK_LAYER(symbol,

ZMK_LAYER(nav,
// ╭───────────┬───────────┬───────────┬────────────┬────────────╮ ╭───────────┬─────────────┬─────────────┬────────────┬────────────╮
&out OUT_TOG ___ ___ ___ &bt BT_CLR ___ ___ ___ ___ ___
&out OUT_TOG XXX XXX XXX &bt BT_CLR XXX XXX XXX XXX XXX
// ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤
&sk LGUI &kp C_PREV &kp C_PP &kp C_NEXT XXX &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp INS
// ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤
Expand All @@ -81,12 +81,12 @@ ZMK_LAYER(nums,

ZMK_LAYER(mouse,
// ╭───────────┬───────────┬───────────┬────────────┬────────────╮ ╭───────────┬─────────────┬─────────────┬────────────┬────────────╮
___ ___ ___ ___ ___ ___ ___ ___ ___ ___
XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX
// ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤
___ &mwh_lf &mwh_up &mwh_dn &mwh_rg &mmv_lf &mmv_dn &mmv_up &mmv_rg ___
XXX &mwh_lf &mwh_up &mwh_dn &mwh_rg &mmv_lf &mmv_dn &mmv_up &mmv_rg XXX
// ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤
___ ___ ___ &mwh_tg ___ ___ ___ ___ ___ ___
XXX XXX XXX &mwh_tg XXX XXX XXX XXX XXX XXX
// ╰───────────┴───────────┴───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┴────────────┴────────────╯
&mkp_rg &mkp_lf ___ ___
&mkp_rg &mkp_lf XXX XXX
// ╰────────────┴────────────╯ ╰───────────┴─────────────╯
)
3 changes: 3 additions & 0 deletions images/icons/backspace.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions images/icons/bt_clear.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions images/icons/bt_next.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions images/icons/bt_prev.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions images/icons/click_left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions images/icons/click_right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions images/icons/copy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions images/icons/cursor_down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions images/icons/cursor_left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions images/icons/cursor_move.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions images/icons/cursor_right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions images/icons/cursor_up.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions images/icons/cut.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions images/icons/delete.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions images/icons/media_next.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions images/icons/media_prev.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit a407587

Please sign in to comment.