diff options
author | Fernando Rodrigues <fernando.delphi@gmail.com> | 2021-08-10 23:11:19 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-10 19:11:19 -0700 |
commit | 83a1c4763a5b1bda577d26892479462bd1457a6e (patch) | |
tree | 04e45cb70b6f8ab87eec71811d294dd28d720138 /keyboards | |
parent | 04b92866054bd27abc424ea19c9a4d82456d4068 (diff) | |
download | qmk_firmware-83a1c4763a5b1bda577d26892479462bd1457a6e.tar.gz qmk_firmware-83a1c4763a5b1bda577d26892479462bd1457a6e.zip |
[Keyboard] Added split plus layout to Cospad (#13938)
Diffstat (limited to 'keyboards')
-rw-r--r-- | keyboards/cospad/cospad.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/keyboards/cospad/cospad.h b/keyboards/cospad/cospad.h index f5ae8961f1..1e3b6c4276 100644 --- a/keyboards/cospad/cospad.h +++ b/keyboards/cospad/cospad.h @@ -125,6 +125,37 @@ { k50, ___, k52, ___ } \ } +/* 6x4 numpad layout with split Plus + * ,-------------------. + * | 00 | 01 | 02 | 03 | + * |----|----|----|----| + * | 10 | 11 | 12 | 13 | + * |----|----|----|----| + * | 20 | 21 | 22 | 23 | + * |----|----|----|----| + * | 30 | 31 | 32 | 33 | + * |----|----|----|----| + * | 40 | 41 | 42 | | + * |----|----|----| 43 | + * | 50 | 52 | | + * `-------------------' + */ +#define LAYOUT_numpad_6x4_split_plus( \ + k00, k01, k02, k03, \ + k10, k11, k12, k13, \ + k20, k21, k22, k23, \ + k30, k31, k32, k33, \ + k40, k41, k42, \ + k50, k52, k43 \ +) \ +{ \ + { k00, k01, k02, k03 }, \ + { k10, k11, k12, k13 }, \ + { k20, k21, k22, k23 }, \ + { k30, k31, k32, k33 }, \ + { k40, k41, k42, k43 }, \ + { k50, ___, k52, ___ } \ +} /* 6x4 numpad with split Plus and 0 keys * ,-------------------. |