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_REVIUNG39)
#define XXX &none
#define MIRYOKU_MAPPING( \
#define MIRYOKU_LAYOUTMAPPING_REVIUNG39( \
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, \
@@ -13,3 +15,7 @@ K32 K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX \
K34 K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 K37 \
K32 K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 XXX \
K33 K35 K36
#endif
#define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_REVIUNG39