diff options
Diffstat (limited to 'keyboards/plx/plx.h')
| -rw-r--r-- | keyboards/plx/plx.h | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/keyboards/plx/plx.h b/keyboards/plx/plx.h index 9776905f8..22d7bd021 100644 --- a/keyboards/plx/plx.h +++ b/keyboards/plx/plx.h | |||
| @@ -17,7 +17,21 @@ | |||
| 17 | 17 | ||
| 18 | #include "quantum.h" | 18 | #include "quantum.h" |
| 19 | 19 | ||
| 20 | #define XXX KC_NO//readabilty | 20 | #define XXX KC_NO // readability |
| 21 | |||
| 22 | /* | ||
| 23 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ ┌───────┐ | ||
| 24 | * │00 │01 │02 │03 │04 │05 │06 │07 │08 │09 │0A │0B │0C │0D │0E │ │0D │ 2u Backspace | ||
| 25 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ └─┬─────┤ | ||
| 26 | * │10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1A │1B │1C │1D │ │ │ | ||
| 27 | * 2.25u ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ ┌──┴┐2D │ ISO Enter | ||
| 28 | * LShift │20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2A │2B │2D │ │2C │ │ | ||
| 29 | * ┌────────┐ ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┤ ┌─┴───┴────┤ | ||
| 30 | * │30 │ │30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3A │3B │3C │3D │ │3C │ 2.75u RShift | ||
| 31 | * └────────┘ ├────┴┬──┴┬──┴──┬┴───┴───┴───┴───┴───┴───┴──┬┴───┴┬───┬─┴───┤ └──────────┘ | ||
| 32 | * │40 │41 │42 │46 │4B │4C │4D │ | ||
| 33 | * └─────┴───┴─────┴───────────────────────────┴─────┴───┴─────┘ | ||
| 34 | */ | ||
| 21 | 35 | ||
| 22 | /* This a shortcut to help you visually see your layout. | 36 | /* This a shortcut to help you visually see your layout. |
| 23 | * | 37 | * |
| @@ -27,7 +41,7 @@ | |||
| 27 | * The second converts the arguments into a two-dimensional array which | 41 | * The second converts the arguments into a two-dimensional array which |
| 28 | * represents the switch matrix. | 42 | * represents the switch matrix. |
| 29 | */ | 43 | */ |
| 30 | #define LAYOUT( \ | 44 | #define LAYOUT_60_ansi_tsangan( \ |
| 31 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, \ | 45 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, \ |
| 32 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, \ | 46 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, \ |
| 33 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2D, \ | 47 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2D, \ |
| @@ -42,6 +56,21 @@ | |||
| 42 | { k40, k41, k42, XXX, XXX, XXX, k46, XXX, XXX, XXX, XXX, k4B, k4C, k4D} \ | 56 | { k40, k41, k42, XXX, XXX, XXX, k46, XXX, XXX, XXX, XXX, k4B, k4C, k4D} \ |
| 43 | } | 57 | } |
| 44 | 58 | ||
| 59 | #define LAYOUT_60_iso_tsangan( \ | ||
| 60 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, \ | ||
| 61 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, \ | ||
| 62 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, k2D, \ | ||
| 63 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, \ | ||
| 64 | k40, k41, k42, k46, k4B, k4C, k4D \ | ||
| 65 | ) \ | ||
| 66 | { \ | ||
| 67 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, XXX}, \ | ||
| 68 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, XXX}, \ | ||
| 69 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, k2D}, \ | ||
| 70 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, XXX}, \ | ||
| 71 | { k40, k41, k42, XXX, XXX, XXX, k46, XXX, XXX, XXX, XXX, k4B, k4C, k4D} \ | ||
| 72 | } | ||
| 73 | |||
| 45 | #define LAYOUT_all( \ | 74 | #define LAYOUT_all( \ |
| 46 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E, \ | 75 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E, \ |
| 47 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, \ | 76 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, \ |
