-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
91 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Copyright 2024 Manna Harbour | ||
# https://github.com/manna-harbour/miryoku | ||
|
||
outboard_modules=krikun98/willis-zmk-module/main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ jobs: | |
"sporkus_le_capybara", | ||
"technikable", | ||
"tipper_tf", | ||
"willis", | ||
"zaphod" | ||
]' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Copyright 2024 Manna Harbour | ||
// https://github.com/manna-harbour/miryoku | ||
|
||
#include "../miryoku/custom_config.h" | ||
#include "../miryoku/mapping/36/willis.h" | ||
#include "../miryoku/miryoku.dtsi" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
// Copyright 2024 Manna Harbour | ||
// https://github.com/manna-harbour/miryoku | ||
|
||
#if !defined (MIRYOKU_LAYOUTMAPPING_WILLIS) | ||
|
||
#define XXX &none | ||
|
||
#if defined (MIRYOKU_MAPPING_2X2U) | ||
#define MIRYOKU_LAYOUTMAPPING_WILLIS( \ | ||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ | ||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ | ||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ | ||
N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ | ||
) \ | ||
K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 \ | ||
K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 \ | ||
K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 \ | ||
K34 K33 K36 K35 | ||
|
||
#define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 30 31 | ||
#define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 32 33 | ||
|
||
#define MIRYOKU_KLUDGE_THUMBCOMBOS | ||
|
||
#else | ||
#define MIRYOKU_LAYOUTMAPPING_WILLIS( \ | ||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ | ||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ | ||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ | ||
N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ | ||
) \ | ||
K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 \ | ||
K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 \ | ||
K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 \ | ||
K32 K33 K34 K35 K36 K37 | ||
|
||
#define MIRYOKU_KLUDGE_TOPROWCOMBOS_LEFTPINKIE 1 2 | ||
#define MIRYOKU_KLUDGE_TOPROWCOMBOS_LEFTINNERINDEX 2 3 | ||
#define MIRYOKU_KLUDGE_TOPROWCOMBOS_RIGHTINNERINDEX 6 7 | ||
#define MIRYOKU_KLUDGE_TOPROWCOMBOS_RIGHTPINKIE 7 8 | ||
|
||
#define MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_LEFTPINKIE 21 22 | ||
#define MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_LEFTINNERINDEX 22 23 | ||
#define MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_RIGHTINNERINDEX 26 27 | ||
#define MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_RIGHTPINKIE 27 28 | ||
|
||
#define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 31 32 | ||
#define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 33 34 | ||
|
||
#endif | ||
|
||
/ { | ||
chosen { | ||
zmk,physical-layout = | ||
#if defined MIRYOKU_MAPPING_2X2U | ||
&willis_bruce_layout; | ||
#else | ||
&willis_minidox_layout; | ||
#endif | ||
}; | ||
}; | ||
|
||
#endif | ||
|
||
#define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_WILLIS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters