Skip to content

Commit

Permalink
bbrfkr Dynamis Refactor (qmk#18733)
Browse files Browse the repository at this point in the history
* dynamis.h: use XXX for KC_NO

* dynamis.h: add matrix diagram

* info.json: apply friendly formatting

* refactor keymaps

- use four-space indent
- grid-align keycodes for readability

* info.json: fix LAYOUT_iso key sequence
  • Loading branch information
noroadsleft authored Oct 15, 2022
1 parent ccdd289 commit 679cbb8
Show file tree
Hide file tree
Showing 5 changed files with 251 additions and 804 deletions.
23 changes: 21 additions & 2 deletions keyboards/bbrfkr/dynamis/dynamis.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,25 @@

#include "quantum.h"

#define XXX KC_NO

/*
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ ┌───────┐
* │00 │01 │02 │03 │04 │05 │06 │56 │55 │54 │53 │52 │51 │50 │90 │ │50 │ 2u Backspace
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ └─┬─────┤
* │10 │11 │12 │13 │14 │15 │16 │66 │65 │64 │63 │62 │61 │60 │ │ │
* 2.25u ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ ┌──┴┐70 │ ISO Enter
* LShift │20 │21 │22 │23 │24 │25 │26 │76 │75 │74 │73 │72 │70 │ │71 │ │
* ┌────────┐ ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┤┌───┐ ┌─┴───┴────┤
* │31 │ │30 │31 │32 │33 │34 │35 │36 │86 │85 │84 │83 │82 │81 │80 ││91 │ │81 │ 2.75u RShift
* └────────┘ ├────┼───┴┬──┴─┬─┴───┴──┬┴───┼───┴───┴──┬┴───┼───┴┬────┬┴┬──┴┼───┼───┐ └──────────┘
* │40 │41 │42 │43 │44 │45 │46 │96 │95 │ │94 │93 │92 │
* └────┴────┴────┴────────┴────┴──────────┴────┴────┴────┘ └───┴───┴───┘
* ┌────┬────┬────┬────────────────────────┬────┬────┬────┐
* │40 │41 │42 │43 │46 │96 │95 │ 6.25u Spacebar
* └────┴────┴────┴────────────────────────┴────┴────┴────┘
*/

#define LAYOUT_ansi( \
C00, C01, C02, C03, C04, C05, C06, C56, C55, C54, C53, C52, C51, C50, C90, \
C10, C11, C12, C13, C14, C15, C16, C66, C65, C64, C63, C62, C61, C60, \
Expand All @@ -33,7 +52,7 @@
{ C40, C41, C42, C43, C44, C45, C46 }, \
{ C50, C51, C52, C53, C54, C55, C56 }, \
{ C60, C61, C62, C63, C64, C65, C66 }, \
{ C70, KC_NO, C72, C73, C74, C75, C76 }, \
{ C70, XXX, C72, C73, C74, C75, C76 }, \
{ C80, C81, C82, C83, C84, C85, C86 }, \
{ C90, C91, C92, C93, C94, C95, C96 } \
}
Expand All @@ -52,7 +71,7 @@
{ C30, C31, C32, C33, C34, C35, C36 }, \
{ C40, C41, C42, C43, C44, C45, C46 }, \
{ C50, C51, C52, C53, C54, C55, C56 }, \
{ KC_NO, C61, C62, C63, C64, C65, C66 }, \
{ XXX, C61, C62, C63, C64, C65, C66 }, \
{ C70, C71, C72, C73, C74, C75, C76 }, \
{ C80, C81, C82, C83, C84, C85, C86 }, \
{ C90, C91, C92, C93, C94, C95, C96 } \
Expand Down
Loading

0 comments on commit 679cbb8

Please sign in to comment.