Make mapping macro customisable per keyboard

This commit is contained in:
Manna Harbour
2022-05-20 13:46:55 +10:00
parent 45588d9c41
commit 5959a32390
42 changed files with 331 additions and 79 deletions

View File

@@ -1,9 +1,11 @@
// Copyright 2021 Manna Harbour
// Copyright 2022 Manna Harbour
// https://github.com/manna-harbour/miryoku
#if !defined (MIRYOKU_LAYOUTMAPPING_ZODIARK)
#define XXX &none
#define MIRYOKU_MAPPING( \
#define MIRYOKU_LAYOUTMAPPING_ZODIARK( \
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, \
@@ -14,3 +16,7 @@ XXX K00 K01 K02 K03 K04 XXX XXX K05 K06 K07 K08 K09
XXX K10 K11 K12 K13 K14 XXX XXX K15 K16 K17 K18 K19 XXX \
XXX K20 K21 K22 K23 K24 XXX XXX XXX XXX K25 K26 K27 K28 K29 XXX \
XXX XXX XXX XXX K32 K33 K34 K35 K36 K37 XXX XXX XXX XXX
#endif
#define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_ZODIARK