summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Young <18669334+noroadsleft@users.noreply.github.com>2021-10-13 08:56:48 +0000
committerGitHub <noreply@github.com>2021-10-13 19:56:48 +1100
commit04cf161aa01fd433b5dae69d9fd31569ed5dca59 (patch)
treeb9162134d5b5461e3eb1f4b060b27a4b13decb94
parentec3236594407c27e9b8b323428de9c9c0af09681 (diff)
maxr1998/pulse4k: use layout macros in keymaps (#14808)
-rw-r--r--keyboards/maxr1998/pulse4k/keymaps/default/keymap.c8
-rw-r--r--keyboards/maxr1998/pulse4k/keymaps/maxr1998/keymap.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/keyboards/maxr1998/pulse4k/keymaps/default/keymap.c b/keyboards/maxr1998/pulse4k/keymaps/default/keymap.c
index e33dcad218..1ed4b5f1af 100644
--- a/keyboards/maxr1998/pulse4k/keymaps/default/keymap.c
+++ b/keyboards/maxr1998/pulse4k/keymaps/default/keymap.c
@@ -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
+ )
};
diff --git a/keyboards/maxr1998/pulse4k/keymaps/maxr1998/keymap.c b/keyboards/maxr1998/pulse4k/keymaps/maxr1998/keymap.c
index 4ef9779010..9eec3f0ae7 100644
--- a/keyboards/maxr1998/pulse4k/keymaps/maxr1998/keymap.c
+++ b/keyboards/maxr1998/pulse4k/keymaps/maxr1998/keymap.c
@@ -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) {