Skip to content

Commit

Permalink
[miryoku] Add ergodox MIRYOKU_MAPPING=SHIFTED_ROWS
Browse files Browse the repository at this point in the history
resolves qmk#4

Co-authored-by: Manna Harbour <[email protected]>
  • Loading branch information
honza and manna-harbour committed Feb 8, 2022
1 parent a7d97ba commit d389c0f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
19 changes: 19 additions & 0 deletions layouts/community/ergodox/manna-harbour_miryoku/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,24 @@

#define XXX KC_NO

#if defined (MIRYOKU_MAPPING_SHIFTED_ROWS)
#define LAYOUT_miryoku( \
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 \
) \
LAYOUT_ergodox_pretty( \
XXX, K00, K01, K02, K03, K04, XXX, XXX, K05, K06, K07, K08, K09, XXX, \
XXX, K10, K11, K12, K13, K14, XXX, XXX, K15, K16, K17, K18, K19, XXX, \
XXX, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, XXX, \
XXX, XXX, XXX, K32, K33, K34, XXX, XXX, K35, K36, K37, XXX, XXX, XXX, \
XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, \
XXX, XXX, XXX, XXX, \
XXX, XXX, \
XXX, XXX, XXX, XXX, XXX, XXX \
)
#else
#define LAYOUT_miryoku(\
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\
Expand All @@ -23,3 +41,4 @@ XXX, XXX, XXX, XXX, K32, K37, XXX, XXX, XXX, XXX,\
XXX, XXX,\
K33, K34, XXX, XXX, K35, K36\
)
#endif
5 changes: 5 additions & 0 deletions users/manna-harbour_miryoku/readme.org
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,16 @@ are unused.

Keyboards supporting this layout: ergodone, ergodox_ez, ergodox_infinity, hotdox.

An alternative subset mapping is provided with all keys shifted up one row creating thumb keys on the original bottom row. To select this mapping, append ~MIRYOKU_MAPPING=SHIFTED_ROWS~ to the ~make~ command line when building.

[[https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/mapping/miryoku-kle-mapping-ergodox-shifted_rows.png]]

Example build command lines:

#+BEGIN_SRC sh :tangle no
make ergodox_infinity:manna-harbour_miryoku:flash # ergodox_infinity
make ergodox_ez:manna-harbour_miryoku:flash # ergodox_ez
make ergodox_ez:manna-harbour_miryoku:flash MIRYOKU_MAPPING=SHIFTED_ROWS # ergodox_ez, shifted rows
#+END_SRC


Expand Down

0 comments on commit d389c0f

Please sign in to comment.