diff options
Diffstat (limited to 'keyboards/lfkeyboards/lfk78/revc/revc.h')
| -rw-r--r-- | keyboards/lfkeyboards/lfk78/revc/revc.h | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/keyboards/lfkeyboards/lfk78/revc/revc.h b/keyboards/lfkeyboards/lfk78/revc/revc.h new file mode 100644 index 000000000..6a9dd87bf --- /dev/null +++ b/keyboards/lfkeyboards/lfk78/revc/revc.h | |||
| @@ -0,0 +1,76 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | // readability | ||
| 4 | #define XXX KC_NO | ||
| 5 | |||
| 6 | // This is a shortcut to help you visually see your layout. | ||
| 7 | /* | ||
| 8 | * ,---------. ,-----------------------------------------------------------------------. ,---------. | ||
| 9 | * | 11 | 12 | | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 1A | 1B | 1C | 1D | 1E | 1F | 1G | | 1H | 1I | | ||
| 10 | * |---------| |-----------------------------------------------------------------------| |---------| | ||
| 11 | * | 21 | 22 | | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 2A | 2B | 2C | 2D | 2E | 2F | 2G | | 2H | 2I | | ||
| 12 | * |---------| |-----------------------------------------------------------------------| `---------' | ||
| 13 | * | 31 | 32 | | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 3A | 3B | 3C | 3D | 3E | 3F | | ||
| 14 | * |---------| |-----------------------------------------------------------------------| ,----. | ||
| 15 | * | 41 | 42 | | 43 | 45 | 46 | 47 | 48 | 49 | 4A | 4B | 4C | 4D | 4E | 4F | | 4H | | ||
| 16 | * |---------| |-------------------------------------------------------------------------------------. | ||
| 17 | * | 51 | 52 | | 53 | 54 | 55 | 59 | 5D | 5E | 5F | | 5G | 5H | 5I | | ||
| 18 | * `---------' `--------------------------------------------------------------------' `--------------' | ||
| 19 | */ | ||
| 20 | // The first section contains all of the arguements | ||
| 21 | // The second converts the arguments into a two-dimensional array | ||
| 22 | #define LAYOUT( \ | ||
| 23 | k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, k1F, k1G, k1H, k1I, \ | ||
| 24 | k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, k2D, k2E, k2F, k2G, k2H, k2I, \ | ||
| 25 | k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E, k3F, \ | ||
| 26 | k41, k42, k43, k45, k46, k47, k48, k49, k4A, k4B, k4C, k4D, k4E, k4F, k4H, \ | ||
| 27 | k51, k52, k53, k54, k55, k59, k5D, k5E, k5F, k5G, k5H, k5I \ | ||
| 28 | ) { \ | ||
| 29 | { k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, k1F, k1G, k1H, k1I }, \ | ||
| 30 | { k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, k2D, k2E, k2F, k2G, k2H, k2I }, \ | ||
| 31 | { k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E, k3F, XXX, XXX, XXX }, \ | ||
| 32 | { k41, k42, k43, XXX, k45, k46, k47, k48, k49, k4A, k4B, k4C, k4D, k4E, k4F, XXX, k4H, XXX }, \ | ||
| 33 | { k51, k52, k53, k54, k55, XXX, XXX, XXX, k59, XXX, XXX, XXX, k5D, k5E, k5F, k5G, k5H, k5I } \ | ||
| 34 | } | ||
| 35 | |||
| 36 | #define LAYOUT_split_bs( \ | ||
| 37 | k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, k1F, k1G, k3G, k1H, k1I, \ | ||
| 38 | k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, k2D, k2E, k2F, k2G, k2H, k2I, \ | ||
| 39 | k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E, k3F, \ | ||
| 40 | k41, k42, k43, k45, k46, k47, k48, k49, k4A, k4B, k4C, k4D, k4E, k4F, k4H, \ | ||
| 41 | k51, k52, k53, k54, k55, k59, k5D, k5E, k5F, k5G, k5H, k5I \ | ||
| 42 | ) { \ | ||
| 43 | { k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, k1F, k1G, k1H, k1I }, \ | ||
| 44 | { k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, k2D, k2E, k2F, k2G, k2H, k2I }, \ | ||
| 45 | { k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E, k3F, k3G, XXX, XXX }, \ | ||
| 46 | { k41, k42, k43, XXX, k45, k46, k47, k48, k49, k4A, k4B, k4C, k4D, k4E, k4F, XXX, k4H, XXX }, \ | ||
| 47 | { k51, k52, k53, k54, k55, XXX, XXX, XXX, k59, XXX, XXX, XXX, k5D, k5E, k5F, k5G, k5H, k5I } \ | ||
| 48 | } | ||
| 49 | |||
| 50 | #define LAYOUT_split_rshift( \ | ||
| 51 | k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, k1F, k1G, k1H, k1I, \ | ||
| 52 | k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, k2D, k2E, k2F, k2G, k2H, k2I, \ | ||
| 53 | k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E, k3F, \ | ||
| 54 | k41, k42, k43, k45, k46, k47, k48, k49, k4A, k4B, k4C, k4D, k4E, k4F, k4G, k4H, \ | ||
| 55 | k51, k52, k53, k54, k55, k59, k5D, k5E, k5F, k5G, k5H, k5I \ | ||
| 56 | ) { \ | ||
| 57 | { k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, k1F, k1G, k1H, k1I }, \ | ||
| 58 | { k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, k2D, k2E, k2F, k2G, k2H, k2I }, \ | ||
| 59 | { k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E, k3F, XXX, XXX, XXX }, \ | ||
| 60 | { k41, k42, k43, XXX, k45, k46, k47, k48, k49, k4A, k4B, k4C, k4D, k4E, k4F, k4G, k4H, XXX }, \ | ||
| 61 | { k51, k52, k53, k54, k55, XXX, XXX, XXX, k59, XXX, XXX, XXX, k5D, k5E, k5F, k5G, k5H, k5I } \ | ||
| 62 | } | ||
| 63 | |||
| 64 | #define LAYOUT_iso( \ | ||
| 65 | k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, k1F, k1G, k1H, k1I, \ | ||
| 66 | k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, k2D, k2E, k2F, k2G, k2H, k2I, \ | ||
| 67 | k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E, k3F, \ | ||
| 68 | k41, k42, k43, k44, k45, k46, k47, k48, k49, k4A, k4B, k4C, k4D, k4E, k4F, k4H, \ | ||
| 69 | k51, k52, k53, k54, k55, k59, k5D, k5E, k5F, k5G, k5H, k5I \ | ||
| 70 | ) { \ | ||
| 71 | { k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, k1F, k1G, k1H, k1I }, \ | ||
| 72 | { k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, k2D, k2E, k2F, k2G, k2H, k2I }, \ | ||
| 73 | { k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E, k3F, XXX, XXX, XXX }, \ | ||
| 74 | { k41, k42, k43, k44, k45, k46, k47, k48, k49, k4A, k4B, k4C, k4D, k4E, k4F, XXX, k4H, XXX }, \ | ||
| 75 | { k51, k52, k53, k54, k55, XXX, XXX, XXX, k59, XXX, XXX, XXX, k5D, k5E, k5F, k5G, k5H, k5I } \ | ||
| 76 | } | ||
