From b191c524966cbf56704980e40d55608776af13b8 Mon Sep 17 00:00:00 2001 From: Manna Harbour <51143715+manna-harbour@users.noreply.github.com> Date: Mon, 22 Mar 2021 13:53:41 +1100 Subject: [PATCH] Fix mouse button 1 and add toggle --- miryoku/miryoku-zmk-babel.org | 7 +++++-- miryoku/miryoku.dtsi | 8 ++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/miryoku/miryoku-zmk-babel.org b/miryoku/miryoku-zmk-babel.org index 084921d..34211af 100644 --- a/miryoku/miryoku-zmk-babel.org +++ b/miryoku/miryoku-zmk-babel.org @@ -38,7 +38,7 @@ #+NAME: mour | | | | | | | | MS_L | MS_D | MS_U | MS_R | -| | WH_L | WH_D | WH_U | WH_R | +| U_MT | WH_L | WH_D | WH_U | WH_R | | BTN1 | BTN3 | BTN2 | U_NP | U_NP | @@ -573,7 +573,7 @@ standard keycode to implementation equivalent | AT | AT | | BSLS | BSLH | | BSPC | BSPC | -| BTN1 | KP_SLASH | +| BTN1 | KP_N5 | | BTN2 | U_NU | | BTN3 | U_NU | | CAPS | | @@ -677,6 +677,9 @@ standard keycode to implementation equivalent | C(KC_X) | LC(X) | | C(KC_Z) | LC(Z) | | DF(TAP) | &tog TAP | +| U_MT | LS(LNLCK) | + + diff --git a/miryoku/miryoku.dtsi b/miryoku/miryoku.dtsi index bd91a9c..24f912f 100644 --- a/miryoku/miryoku.dtsi +++ b/miryoku/miryoku.dtsi @@ -178,7 +178,7 @@ U_NP, U_NP, < MEDR ESC, < NAVR SPC, < MOUR TAB, < NSSL R &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, -U_NP, U_NP, &trans, &trans, &trans, &kp KP_SLASH, U_NU, U_NU, U_NP, U_NP +U_NP, U_NP, &trans, &trans, &trans, &kp KP_N5, U_NU, U_NU, U_NP, U_NP ) >; }; @@ -208,14 +208,14 @@ U_NP, U_NP, U_NA, U_NA, U_NA, &kp RET, &k &bootloader, &tog TAP, U_NA, U_NA, U_NA, U_NU, U_NU, U_NU, U_NU, U_NU, &kp LGUI, &kp LALT, &kp LCTRL, &kp LSHFT, U_NA, &kp KP_N4, &kp KP_N2, &kp KP_N8, &kp KP_N6, U_NU, U_NA, &kp RALT, U_NA, U_NA, U_NA, U_NU, U_NU, U_NU, U_NU, U_NU, -U_NP, U_NP, U_NA, U_NA, U_NA, &kp KP_SLASH, U_NU, U_NU, U_NP, U_NP +U_NP, U_NP, U_NA, U_NA, U_NA, &kp KP_N5, U_NU, U_NU, U_NP, U_NP ) #else MIRYOKU_MAPPING( &bootloader, &tog TAP, U_NA, U_NA, U_NA, U_NU, U_NU, U_NU, U_NU, U_NU, &kp LGUI, &kp LALT, &kp LCTRL, &kp LSHFT, U_NA, U_NU, &kp KP_N4, &kp KP_N2, &kp KP_N8, &kp KP_N6, -U_NA, &kp RALT, U_NA, U_NA, U_NA, U_NU, U_NU, U_NU, U_NU, U_NU, -U_NP, U_NP, U_NA, U_NA, U_NA, &kp KP_SLASH, U_NU, U_NU, U_NP, U_NP +U_NA, &kp RALT, U_NA, U_NA, U_NA, &kp LS(LNLCK), U_NU, U_NU, U_NU, U_NU, +U_NP, U_NP, U_NA, U_NA, U_NA, &kp KP_N5, U_NU, U_NU, U_NP, U_NP ) #endif >;