Skip to content

Commit

Permalink
AUG on boardwalk
Browse files Browse the repository at this point in the history
  • Loading branch information
rhruiz committed Sep 11, 2024
1 parent 22d5c70 commit 1b6a82d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
5 changes: 4 additions & 1 deletion keyboards/boardwalk/keymaps/rhruiz/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ const rgblight_segment_t PROGMEM num_colors[] = RGBLIGHT_LAYER_SEGMENTS({7, 7, 4

const rgblight_segment_t PROGMEM game_colors[] = RGBLIGHT_LAYER_SEGMENTS({7, 7, 148, 255, 255});

const rgblight_segment_t* const PROGMEM _rgb_layers[] = RGBLIGHT_LAYERS_LIST(fn1_colors, fn2_colors, cfg_colors, num_colors, game_colors);
const rgblight_segment_t PROGMEM aug_colors[] = RGBLIGHT_LAYER_SEGMENTS({7, 7, 170, 255, 255});

const rgblight_segment_t* const PROGMEM _rgb_layers[] = RGBLIGHT_LAYERS_LIST(fn1_colors, fn2_colors, cfg_colors, num_colors, game_colors, aug_colors);
#endif

layer_state_t layer_state_set_keymap(layer_state_t state) {
Expand All @@ -37,6 +39,7 @@ layer_state_t layer_state_set_keymap(layer_state_t state) {
rgblight_set_layer_state(2, layer_state_cmp(state, _CFG));
rgblight_set_layer_state(3, layer_state_cmp(state, _NUM));
rgblight_set_layer_state(4, layer_state_cmp(state, _GAME));
rgblight_set_layer_state(5, layer_state_cmp(state, _AUG));
#endif

return state;
Expand Down
1 change: 1 addition & 0 deletions keyboards/boardwalk/keymaps/rhruiz/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ UNICODE_ENABLE = no
LTO_ENABLE = yes
RAW_ENABLE = yes
RGBLIGHT_ENABLE = yes
TRI_LAYER_ENABLE = yes
14 changes: 14 additions & 0 deletions users/rhruiz/layouts/ortho_5x14.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,20 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
//`-------+--------+--------+--------+--------+--------+--------' `--------+--------+--------+--------+--------+--------+-------'
),

[_AUG] = LAYOUT_ortho_5x14_wrapper(
//,-------+--------------------------------------------+--------. ,--------+--------------------------------------------+--------.
_______, ________L_AUG_1________ , _______, KC_MAKE, ________R_AUG_1________ , _______,
//|-------+--------------------------------------------+--------| |--------+--------------------------------------------+--------+
QK_BOOT, ________L_AUG_2________ , UG_SATD, _______, ________R_AUG_2________ , QK_BOOT,
//|-------+--------------------------------------------+--------| |--------+--------------------------------------------+--------+
_______, ________L_AUG_3________ , _______, _______, ________R_AUG_3________ , _______,
//|-------+--------------------------------------------+--------| |--------+--------------------------------------------+--------+
_______, ________L_AUG_4________ , _______, _______, ________R_AUG_4________ , _______,
//|-------+--------------------------------------------+--------| |--------+--------------------------------------------+--------+
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
//`-------+--------+--------+--------+--------+--------+--------' `--------+--------+--------+--------+--------+--------+--------'
),

[_CFG] = LAYOUT_ortho_5x14_wrapper(
//,-------+--------------------------------------------+--------. ,--------+--------------------------------------------+--------.
_______, ________L_CFG_1________ , _______, KC_MAKE, ________R_CFG_1________ , _______,
Expand Down

0 comments on commit 1b6a82d

Please sign in to comment.