diff options
Diffstat (limited to 'keyboards/studiokestra/nascent/nascent.h')
-rw-r--r-- | keyboards/studiokestra/nascent/nascent.h | 134 |
1 files changed, 112 insertions, 22 deletions
diff --git a/keyboards/studiokestra/nascent/nascent.h b/keyboards/studiokestra/nascent/nascent.h index 5013ff9c0f..e8e4c18561 100644 --- a/keyboards/studiokestra/nascent/nascent.h +++ b/keyboards/studiokestra/nascent/nascent.h @@ -18,29 +18,119 @@ #include "quantum.h" -/* This is a shortcut to help you visually see your layout. - * - * The first section contains all of the arguments representing the physical - * layout of the board and position of the keys. - * - * The second converts the arguments into a two-dimensional array which - * represents the switch matrix. +#define ___ KC_NO + +/* + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ ┌───────┐ + * │00 │10 │01 │11 │02 │12 │03 │13 │04 │14 │05 │15 │06 │16 │07 │17 │ │07 │ 2u Backspace + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┼───┤ └───────┘ + * │20 │30 │21 │31 │22 │32 │23 │33 │24 │34 │25 │35 │26 │27 │37 │ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ + * │40 │50 │41 │51 │42 │52 │43 │53 │44 │54 │45 │55 │47 │57 │ + * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ + * │60 │61 │71 │62 │72 │63 │73 │64 │74 │65 │75 │66 │67 │77 │ + * ├─────┬──┴┬──┴──┬┴───┴───┴──┬┴──┬┴───┴───┴──┬┴───┴┬─┬───┼───┼───┤ + * │80 │90 │81 │82 │83 │84 │85 │ │86 │87 │97 │ + * └─────┴───┴─────┴───────────┴───┴───────────┴─────┘ └───┴───┴───┘ + * ┌─────┬───┬─────┬───────────────────────────┬─────┐ + * │80 │90 │81 │83 │85 │ Tsangan + * └─────┴───┴─────┴───────────────────────────┴─────┘ + * ┌────┬────┬────┬────────────────────────┬────┬────┐ + * │80 │90 │81 │83 │84 │85 │ Standard + * └────┴────┴────┴────────────────────────┴────┴────┘ */ + #define LAYOUT_all(\ - k000, k100, k001, k101, k002, k102, k003, k103, k004, k104, k005, k105, k006, k106, k007, k107, \ - k200, k300, k201, k301, k202, k302, k203, k303, k204, k304, k205, k305, k206, k207, k307, \ - k400, k500, k401, k501, k402, k502, k403, k503, k404, k504, k405, k505, k407, k507, \ - k600, k601, k701, k602, k702, k603, k703, k604, k704, k605, k705, k606, k607, k707, \ - k800, k900, k801, k802, k803, k804, k805, k806, k807, k907 \ + K00, K10, K01, K11, K02, K12, K03, K13, K04, K14, K05, K15, K06, K16, K07, K17, \ + K20, K30, K21, K31, K22, K32, K23, K33, K24, K34, K25, K35, K26, K27, K37, \ + K40, K50, K41, K51, K42, K52, K43, K53, K44, K54, K45, K55, K47, K57, \ + K60, K61, K71, K62, K72, K63, K73, K64, K74, K65, K75, K66, K67, K77, \ + K80, K90, K81, K82, K83, K84, K85, K86, K87, K97 \ +) { \ + { K00, K01, K02, K03, K04, K05, K06, K07 }, \ + { K10, K11, K12, K13, K14, K15, K16, K17 }, \ + { K20, K21, K22, K23, K24, K25, K26, K27 }, \ + { K30, K31, K32, K33, K34, K35, ___, K37 }, \ + { K40, K41, K42, K43, K44, K45, ___, K47 }, \ + { K50, K51, K52, K53, K54, K55, ___, K57 }, \ + { K60, K61, K62, K63, K64, K65, K66, K67 }, \ + { ___, K71, K72, K73, K74, K75, ___, K77 }, \ + { K80, K81, K82, K83, K84, K85, K86, K87 }, \ + { K90, ___, ___, ___, ___, ___, ___, K97 } \ +} + +#define LAYOUT_65_ansi_blocker(\ + K00, K10, K01, K11, K02, K12, K03, K13, K04, K14, K05, K15, K06, K07, K17, \ + K20, K30, K21, K31, K22, K32, K23, K33, K24, K34, K25, K35, K26, K27, K37, \ + K40, K50, K41, K51, K42, K52, K43, K53, K44, K54, K45, K55, K47, K57, \ + K60, K61, K71, K62, K72, K63, K73, K64, K74, K65, K75, K66, K67, K77, \ + K80, K90, K81, K83, K84, K85, K86, K87, K97 \ +) { \ + { K00, K01, K02, K03, K04, K05, K06, K07 }, \ + { K10, K11, K12, K13, K14, K15, ___, K17 }, \ + { K20, K21, K22, K23, K24, K25, K26, K27 }, \ + { K30, K31, K32, K33, K34, K35, ___, K37 }, \ + { K40, K41, K42, K43, K44, K45, ___, K47 }, \ + { K50, K51, K52, K53, K54, K55, ___, K57 }, \ + { K60, K61, K62, K63, K64, K65, K66, K67 }, \ + { ___, K71, K72, K73, K74, K75, ___, K77 }, \ + { K80, K81, ___, K83, K84, K85, K86, K87 }, \ + { K90, ___, ___, ___, ___, ___, ___, K97 } \ +} + +#define LAYOUT_65_ansi_blocker_split_bs(\ + K00, K10, K01, K11, K02, K12, K03, K13, K04, K14, K05, K15, K06, K16, K07, K17, \ + K20, K30, K21, K31, K22, K32, K23, K33, K24, K34, K25, K35, K26, K27, K37, \ + K40, K50, K41, K51, K42, K52, K43, K53, K44, K54, K45, K55, K47, K57, \ + K60, K61, K71, K62, K72, K63, K73, K64, K74, K65, K75, K66, K67, K77, \ + K80, K90, K81, K83, K84, K85, K86, K87, K97 \ +) { \ + { K00, K01, K02, K03, K04, K05, K06, K07 }, \ + { K10, K11, K12, K13, K14, K15, K16, K17 }, \ + { K20, K21, K22, K23, K24, K25, K26, K27 }, \ + { K30, K31, K32, K33, K34, K35, ___, K37 }, \ + { K40, K41, K42, K43, K44, K45, ___, K47 }, \ + { K50, K51, K52, K53, K54, K55, ___, K57 }, \ + { K60, K61, K62, K63, K64, K65, K66, K67 }, \ + { ___, K71, K72, K73, K74, K75, ___, K77 }, \ + { K80, K81, ___, K83, K84, K85, K86, K87 }, \ + { K90, ___, ___, ___, ___, ___, ___, K97 } \ +} + +#define LAYOUT_65_ansi_blocker_tsangan(\ + K00, K10, K01, K11, K02, K12, K03, K13, K04, K14, K05, K15, K06, K07, K17, \ + K20, K30, K21, K31, K22, K32, K23, K33, K24, K34, K25, K35, K26, K27, K37, \ + K40, K50, K41, K51, K42, K52, K43, K53, K44, K54, K45, K55, K47, K57, \ + K60, K61, K71, K62, K72, K63, K73, K64, K74, K65, K75, K66, K67, K77, \ + K80, K90, K81, K83, K85, K86, K87, K97 \ +) { \ + { K00, K01, K02, K03, K04, K05, K06, K07 }, \ + { K10, K11, K12, K13, K14, K15, ___, K17 }, \ + { K20, K21, K22, K23, K24, K25, K26, K27 }, \ + { K30, K31, K32, K33, K34, K35, ___, K37 }, \ + { K40, K41, K42, K43, K44, K45, ___, K47 }, \ + { K50, K51, K52, K53, K54, K55, ___, K57 }, \ + { K60, K61, K62, K63, K64, K65, K66, K67 }, \ + { ___, K71, K72, K73, K74, K75, ___, K77 }, \ + { K80, K81, ___, K83, ___, K85, K86, K87 }, \ + { K90, ___, ___, ___, ___, ___, ___, K97 } \ +} + +#define LAYOUT_65_ansi_blocker_tsangan_split_bs(\ + K00, K10, K01, K11, K02, K12, K03, K13, K04, K14, K05, K15, K06, K16, K07, K17, \ + K20, K30, K21, K31, K22, K32, K23, K33, K24, K34, K25, K35, K26, K27, K37, \ + K40, K50, K41, K51, K42, K52, K43, K53, K44, K54, K45, K55, K47, K57, \ + K60, K61, K71, K62, K72, K63, K73, K64, K74, K65, K75, K66, K67, K77, \ + K80, K90, K81, K83, K85, K86, K87, K97 \ ) { \ - { k000, k001, k002, k003, k004, k005, k006, k007 }, \ - { k100, k101, k102, k103, k104, k105, k106, k107 }, \ - { k200, k201, k202, k203, k204, k205, k206, k207 }, \ - { k300, k301, k302, k303, k304, k305, KC_NO, k307 }, \ - { k400, k401, k402, k403, k404, k405, KC_NO, k407 }, \ - { k500, k501, k502, k503, k504, k505, KC_NO, k507 }, \ - { k600, k601, k602, k603, k604, k605, k606, k607 }, \ - { KC_NO, k701, k702, k703, k704, k705, KC_NO, k707 }, \ - { k800, k801, k802, k803, k804, k805, k806, k807 }, \ - { k900, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k907 } \ + { K00, K01, K02, K03, K04, K05, K06, K07 }, \ + { K10, K11, K12, K13, K14, K15, K16, K17 }, \ + { K20, K21, K22, K23, K24, K25, K26, K27 }, \ + { K30, K31, K32, K33, K34, K35, ___, K37 }, \ + { K40, K41, K42, K43, K44, K45, ___, K47 }, \ + { K50, K51, K52, K53, K54, K55, ___, K57 }, \ + { K60, K61, K62, K63, K64, K65, K66, K67 }, \ + { ___, K71, K72, K73, K74, K75, ___, K77 }, \ + { K80, K81, ___, K83, ___, K85, K86, K87 }, \ + { K90, ___, ___, ___, ___, ___, ___, K97 } \ } |