Add totem

This commit is contained in:
Manna Harbour 2022-11-11 10:41:48 +11:00
parent 91c8402942
commit 17b6676832
5 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,7 @@
# Copyright 2022 Manna Harbour
# https://github.com/manna-harbour/miryoku
outboard_repository=GEIGEIGEIST/zmk-config-totem
outboard_ref=master
outboard_from=config/boards/shields/totem
outboard_to=boards/shields/totem

View File

@ -13,6 +13,7 @@ jobs:
shield: '[
"clog_v2_left","clog_v2_right",
"hummingbird",
"totem_left","totem_right",
"xmk",
"zaphod_lite"
]'

6
config/totem.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/38/totem.h"
#include "../miryoku/miryoku.dtsi"

View File

@ -0,0 +1,24 @@
// Copyright 2022 Manna Harbour
// https://github.com/manna-harbour/miryoku
#if !defined (MIRYOKU_LAYOUTMAPPING_TOTEM)
#define XXX &none
#define MIRYOKU_LAYOUTMAPPING_TOTEM( \
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 \
K00 K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 K09 \
K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 \
K32 K33 K34 K35 K36 K37
#define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 33 34
#define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 35 36
#endif
#define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_TOTEM

View File

@ -309,6 +309,11 @@ Notes or diagrams are provided below where the selection of keys is not obvious
For use with PIM447 installed in the right secondary thumb key position. The right tertiary thumb key is replaced with the secondary and [[#thumb-combos][thumb combos]] are enabled. Note that the right secondary thumb key is in the opposite position from usual, relative to the primary.
**** 38/totem
The outer pinkie column key can be used as an alternative to the top row pinkie column key.
**** 41/reviung41
The thumbs keys, from left to right, are as follows: left secondary, left primary, right secondary, right primary, right tertiary. [[#thumb-combos][Thumb combos]] are enabled for the left thumbs. The left thumb keys are also duplicated on the left outer pinkie column, from top to bottom, as follows: primary, tertiary, secondary. Note that the left secondary thumb key is in the opposite position from usual, relative to the primary. For ~MIRYOKU_LAYERS=FLIP~, substitute left and right above.