Skip to content

Commit

Permalink
Add charybdis
Browse files Browse the repository at this point in the history
  • Loading branch information
manna-harbour committed Mar 16, 2024
1 parent afaa873 commit b170a51
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/outboards/shields/charybdis
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright 2024 Manna Harbour
# https://github.com/manna-harbour/miryoku

outboard_modules='vloth/charybdis-zmk-module/main inorichi/zmk-pmw3610-driver/main'
outboard_branches='petejohanson/zmk/feat/pointers-move-scroll'
6 changes: 6 additions & 0 deletions config/charybdis.keymap
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/41/charybdis.h"
#include "../miryoku/miryoku.dtsi"
36 changes: 36 additions & 0 deletions miryoku/mapping/41/charybdis.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
// Copyright 2024 Manna Harbour
// https://github.com/manna-harbour/miryoku

#if !defined (MIRYOKU_LAYOUTMAPPING_CHARYBDIS)

#define XXX &none

#define MIRYOKU_LAYOUTMAPPING_CHARYBDIS( \
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 K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX \
XXX K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 XXX \
XXX K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 XXX \
K32 K33 K34 K35 K36

#define MIRYOKU_KLUDGE_TOPROWCOMBOS_LEFTPINKIE 2 3
#define MIRYOKU_KLUDGE_TOPROWCOMBOS_LEFTINNERINDEX 3 4
#define MIRYOKU_KLUDGE_TOPROWCOMBOS_RIGHTINNERINDEX 7 8
#define MIRYOKU_KLUDGE_TOPROWCOMBOS_RIGHTPINKIE 8 9

#define MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_LEFTPINKIE 26 27
#define MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_LEFTINNERINDEX 27 28
#define MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_RIGHTINNERINDEX 31 32
#define MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_RIGHTPINKIE 32 33

#define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 37 38
#define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 39 40

#define MIRYOKU_KLUDGE_THUMBCOMBOS

#endif

#define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_CHARYBDIS

0 comments on commit b170a51

Please sign in to comment.