Add technikable

This commit is contained in:
Manna Harbour 2021-12-21 17:18:32 +11:00
parent 02ddcba42a
commit 3ce97b8d38
6 changed files with 89 additions and 3 deletions

View File

@ -0,0 +1,7 @@
# Copyright 2021 Manna Harbour
# https://github.com/manna-harbour/miryoku
outboard_repository=petejohanson/technikable-zmk-config
outboard_ref=main
outboard_from=boards/arm/technikable
outboard_to=boards/arm/technikable

View File

@ -9,5 +9,5 @@ jobs:
if: github.repository_owner == 'manna-harbour'
uses: manna-harbour/zmk-config/.github/workflows/main.yml@master
with:
board: '["ahokore","ble_chiffre","corne-ish_zen_left","corne-ish_zen_right","ferris_rev02","planck_rev6","preonic_rev3","zaphod"]'
board: '["ahokore","ble_chiffre","corne-ish_zen_left","corne-ish_zen_right","ferris_rev02","planck_rev6","preonic_rev3","technikable","zaphod"]'

View File

@ -0,0 +1,6 @@
// Copyright 2021 Manna Harbour
// https://github.com/manna-harbour/miryoku
#include "../miryoku/config.h"
#include "../miryoku/mapping/44-technikable.h"
#include "../miryoku/miryoku.dtsi"

View File

@ -47,7 +47,7 @@ Start here to build new firmware after completing the [[#initial-setup][initial
For keyboards with a separate controller, enter the controller name, e.g. ~bluemicro840_v1~, ~nice_nano~, ~nice_nano_v2~, ~nrfmicro_13~. See [[../../.github/workflows/test-all-controllers.yml][here]] for a list of all supported controllers.
For keyboards with an integrated controller, enter the keyboard name, e.g. ~ahokore~, ~ble_chiffre~, ~ferris_rev02~, ~zaphod~. For split keyboards with an integrated controller on each side, enter both keyboard side names separated by a comma, e.g. ~corne-ish_zen_left,corne-ish_zen_right~. See [[../../.github/workflows/test-all-boards.yml][here]] for a list of all supported keyboards with an integrated controller.
For keyboards with an integrated controller, enter the keyboard name, e.g. ~ahokore~, ~ble_chiffre~, ~technikable~, ~zaphod~. For split keyboards with an integrated controller on each side, enter both keyboard side names separated by a comma, e.g. ~corne-ish_zen_left,corne-ish_zen_right~. See [[../../.github/workflows/test-all-boards.yml][here]] for a list of all supported keyboards with an integrated controller.
**** Shield

View File

@ -0,0 +1,50 @@
// Copyright 2021 Manna Harbour
// https://github.com/manna-harbour/miryoku
#define XXX &none
#if defined (MIRYOKU_MAPPING_EXTENDED_THUMBS)
#define MIRYOKU_MAPPING(\
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 K05 K06 K07 K08 K09 \
K10 K11 K12 K13 K14 XXX XXX K15 K16 K17 K18 K19 \
K20 K21 K22 K23 K24 XXX XXX K25 K26 K27 K28 K29 \
XXX K32 K33 K34 K35 K36 K37 XXX
#elif defined (MIRYOKU_MAPPING_2X2U)
#define MIRYOKU_MAPPING(\
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 K05 K06 K07 K08 K09 \
K10 K11 K12 K13 K14 XXX XXX K15 K16 K17 K18 K19 \
K20 K21 K22 K23 K24 XXX XXX K25 K26 K27 K28 K29 \
K32 K33 K34 K35 K36 K37
#else
#define MIRYOKU_MAPPING(\
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 K05 K06 K07 K08 K09 \
K10 K11 K12 K13 K14 XXX XXX K15 K16 K17 K18 K19 \
K20 K21 K22 K23 K24 XXX XXX K25 K26 K27 K28 K29 \
K32 K33 K34 XXX XXX K35 K36 K37
#endif
/ {
chosen {
zmk,matrix_transform =
#if defined MIRYOKU_MAPPING_2X2U
&dual_2u_transform;
#else
&ortho_transform;
#endif
};
};

View File

@ -143,7 +143,7 @@ Macros are included from [[miryoku/miryoku.h]]. Layer data is generated by [[ht
** Mapping
The keymap is mapped onto keyboards with different physical layouts. The keymap is specified in terms of the ~MIRYOKU_MAPPING~ macro. The macro is defined in a C header file for each physical layout. Unused keys are mapped to ~&none~. The files are in [[miryoku/mapping/]]. The mapping file is included into the keyboard's keymap file before the Miryoku keymap with e.g.
The keymap is mapped onto keyboards with different physical layouts. The keymap is specified in terms of the ~MIRYOKU_MAPPING~ macro. The macro is defined in a C header file for each physical layout. Unused keys are mapped to ~&none~. The files are in [[miryoku/mapping/]]. The mapping file is included into the [[#keyboard-keymaps][keyboard keymap]] file before the Miryoku keymap with e.g.
#+BEGIN_SRC C :tangle no
#include "../miryoku/mapping/36-minidox.h"
@ -163,6 +163,29 @@ Notes or diagrams are provided below where the selection of keys is not obvious
Combos of primary and secondary thumb keys emulate the missing tertiary thumb key. This [[#config-file][configuration option]] is enabled automatically for this mapping and can be enabled on other mappings for compatibility.
**** 44-technikable
The middle 2 columns are unused.
***** Default
Supports ortho and MIT configurations.
***** 2x2u
~MIRYOKU_MAPPING=2X2U~
Supports 2x2u configuration.
***** Extended Thumbs
~MIRYOKU_MAPPING=EXTENDED_THUMBS~
The thumb keys are moved 1u to extend the thumbs. Supports grid configuration.
**** 48-planck