Add nice60

This commit is contained in:
Manna Harbour 2022-05-30 21:48:27 +10:00
parent 76dc45e82e
commit 4620b91542
4 changed files with 96 additions and 0 deletions

View File

@ -17,6 +17,7 @@ jobs:
"ffkb-holyiot",
"glove80_left","glove80_right",
"klacker_bs",
"nice60",
"one42",
"planck_rev6",
"preonic_rev3",

6
config/nice60.keymap Normal file
View File

@ -0,0 +1,6 @@
// Copyright 2022 Manna Harbour
// https://github.com/manna-harbour/miryoku
#include "../miryoku/custom_config.h"
#include "../miryoku/mapping/61/60_ansi.h"
#include "../miryoku/miryoku.dtsi"

View File

@ -0,0 +1,62 @@
// Copyright 2022 Manna Harbour
// https://github.com/manna-harbour/miryoku
#if !defined (MIRYOKU_LAYOUTMAPPING_60_ANSI)
#define XXX &none
#if defined MIRYOKU_MAPPING_NOREVERSEANGLE
#define MIRYOKU_LAYOUTMAPPING_60_ANSI( \
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 XXX XXX XXX K05 K06 K07 K08 K09 XXX \
K10 K11 K12 K13 K14 XXX XXX XXX K15 K16 K17 K18 K19 XXX \
K20 K21 K22 K23 K24 XXX XXX XXX K25 K26 K27 K28 K29 \
XXX K32 K33 K34 XXX XXX XXX XXX K35 K36 K37 XXX \
XXX XXX XXX XXX XXX XXX XXX XXX
#elif defined MIRYOKU_MAPPING_LITE
#if defined MIRYOKU_LAYERS_FLIP
#define MIRYOKU_LAYOUTMAPPING_60_ANSI( \
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 \
) \
&gresc &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS &kp EQUAL &kp BSPC \
&kp TAB K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 &kp LBKT &kp RBKT &kp BSLH \
&kp CLCK K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 &kp SEMI &kp RET \
&kp LSHFT K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 &kp RSHFT \
&kp LCTRL &kp LGUI &kp LALT K36 &kp RALT &kp RGUI &kp K_APP &kp RCTRL
#else
#define MIRYOKU_LAYOUTMAPPING_60_ANSI( \
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 \
) \
&gresc &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS &kp EQUAL &kp BSPC \
&kp TAB K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 &kp LBKT &kp RBKT &kp BSLH \
&kp CLCK K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 &kp SEMI &kp RET \
&kp LSHFT K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 &kp RSHFT \
&kp LCTRL &kp LGUI &kp LALT K33 &kp RALT &kp RGUI &kp K_APP &kp RCTRL
#endif
#else
#define MIRYOKU_LAYOUTMAPPING_60_ANSI(\
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\
)\
XXX XXX K00 K01 K02 K03 K04 XXX K05 K06 K07 K08 K09 XXX \
XXX K10 K11 K12 K13 K14 XXX XXX K15 K16 K17 K18 K19 XXX \
K20 K21 K22 K23 K24 XXX XXX XXX K25 K26 K27 K28 K29 \
XXX XXX K32 K33 K34 XXX XXX XXX K35 K36 K37 XXX \
XXX XXX XXX XXX XXX XXX XXX XXX
#endif
#endif
#define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_60_ANSI

View File

@ -177,6 +177,7 @@ See [[.github/workflows/outboards]] for details of supported out-of-tree keyboar
See https://github.com/manna-harbour/miryoku/discussions/81 for available and supported in-tree and out-of-tree keyboards and current maintenance status.
** Config File
The config file is used to specify [[https://github.com/manna-harbour/miryoku/tree/master/docs/reference#alternative-layouts][alternative layout]] and [[#mapping-macros][mapping]] options for [[#Local-Builds][local builds]]. Options are given in the documentation in the form ~MIRYOKU_OPTION=VALUE~. Convert to the form ~#define MIRYOKU_OPTION_VALUE~ and add to the config file.
@ -322,6 +323,32 @@ The thumb keys are moved 1u to extend the thumbs. Supports ortho configuration.
[[https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/mapping/miryoku-kle-mapping-kyria-extended_thumbs.png]]
**** 61/60_ansi
***** Default
An angled ortho split layout is mapped onto the row-staggered keyboard. The rows are moved up to better position the thumb keys, the hands are separated as much as possible, and the left hand column angle is reversed to reduce ulnar deviation of the wrists.
[[https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/mapping/miryoku-kle-mapping-60_ansi.png]]
***** No Reverse Angle
~MIRYOKU_MAPPING=NOREVERSEANGLE~
An alternative subset mapping is also provided without reverse column angle.
[[https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/mapping/miryoku-kle-mapping-60_ansi-noreverseangle.png]]
***** Lite
~MIRYOKU_MAPPING=LITE~
Another alternative subset mapping is provided mapping only the 3x10 alphas, plus spacebar for space / Nav, with the remainder being the default keymap with semicolon in place of quote.
** Keyboard Keymaps
The keyboard keymaps include the [[#config-file][config file]], a [[#mapping-macros][mapping]] for the physical layout, and the [[#miryoku-keymap][Miryoku keymap]]. Keyboard keymap files are in [[config]].