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,7 +1,9 @@
// Copyright 2021 Manna Harbour
// Copyright 2022 Manna Harbour
// https://github.com/manna-harbour/miryoku
#define MIRYOKU_MAPPING( \
#if !defined (MIRYOKU_LAYOUTMAPPING_BLE_CHIFFRE)
#define MIRYOKU_LAYOUTMAPPING_BLE_CHIFFRE( \
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, \
@@ -16,3 +18,7 @@ K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 \
#define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 32 33
#define MIRYOKU_KLUDGE_THUMBCOMBOS
#endif
#define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_BLE_CHIFFRE