Skip to content

Commit

Permalink
maxr1998/pulse4k: use layout macros in keymaps (#14808)
Browse files Browse the repository at this point in the history
  • Loading branch information
noroadsleft authored Oct 13, 2021
1 parent ec32365 commit 04cf161
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions keyboards/maxr1998/pulse4k/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ enum layers {
const uint16_t PROGMEM led_adjust_combo[] = {KC_LEFT, KC_RGHT, COMBO_END};

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[DEFAULT] = {
{ KC_END, KC_UP, KC_MUTE },
{ KC_LEFT, KC_DOWN, KC_RGHT }
}
[DEFAULT] = LAYOUT(
KC_END, KC_UP, KC_MUTE,
KC_LEFT, KC_DOWN, KC_RGHT
)
};
8 changes: 4 additions & 4 deletions keyboards/maxr1998/pulse4k/keymaps/maxr1998/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ enum layers {
const uint16_t PROGMEM led_adjust_combo[] = {KC_F22, KC_F24, COMBO_END};

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[DEFAULT] = {
{ KC_F20, KC_F21, KC_MUTE },
{ KC_F22, KC_F23, KC_F24 }
}
[DEFAULT] = LAYOUT(
KC_F20, KC_F21, KC_MUTE,
KC_F22, KC_F23, KC_F24
)
};

void encoder_one_update(bool clockwise) {
Expand Down

0 comments on commit 04cf161

Please sign in to comment.