From 953d6caa52a7d1c9ba74ab07c70f26abab66a20e Mon Sep 17 00:00:00 2001 From: atechofficials Date: Tue, 25 Jun 2024 06:11:46 +0530 Subject: [PATCH] Changed the layout name from LAYOUT_midi to LAYOUT_ortho_4x4 in the midi keymap's keymap.c file becasue the LAYOUT_midi was removed earlier as requested by QMK member in pull request --- keyboards/protokeeb/keymaps/midi/keymap.c | 8 ++++---- keyboards/protokeeb/rev1/rev1.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/keyboards/protokeeb/keymaps/midi/keymap.c b/keyboards/protokeeb/keymaps/midi/keymap.c index 05d5dfee81f..4cadcd0c0f3 100644 --- a/keyboards/protokeeb/keymaps/midi/keymap.c +++ b/keyboards/protokeeb/keymaps/midi/keymap.c @@ -33,28 +33,28 @@ enum protokeeb_keymap_layers { #define RGB_CTRL MO(LAYER_RGB_CONTROL) const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [LAYER_NOTES_SET_1] = LAYOUT_midi( /* Notes Set-1 */ + [LAYER_NOTES_SET_1] = LAYOUT_ortho_4x4( /* Notes Set-1 */ MI_C, MI_Cs, MI_D, MI_Ds, MI_E, MI_F, MI_Fs, MI_G, MI_Gs, MI_A, MI_As, MI_B, RGB_CTRL, NOTES_SET_2, NOTES_SET_3, MI_TOGG ), - [LAYER_NOTES_SET_2] = LAYOUT_midi( /* Notes Set-2 */ + [LAYER_NOTES_SET_2] = LAYOUT_ortho_4x4( /* Notes Set-2 */ MI_C1, MI_Cs1, MI_D1, MI_Ds1, MI_E1, MI_F1, MI_Fs1, MI_G1, MI_Gs1, MI_A1, MI_As1, MI_B1, NOTES_SET_1, KC_TRNS, NOTES_SET_3, KC_TRNS ), - [LAYER_NOTES_SET_3] = LAYOUT_midi( /* Notes Set-3 */ + [LAYER_NOTES_SET_3] = LAYOUT_ortho_4x4( /* Notes Set-3 */ MI_C2, MI_Cs2, MI_D2, MI_Ds2, MI_E2, MI_F2, MI_Fs2, MI_G2, MI_Gs2, MI_A2, MI_As2, MI_B2, NOTES_SET_1, NOTES_SET_2, KC_TRNS, KC_TRNS ), - [LAYER_RGB_CONTROL] = LAYOUT_midi( /* RGB Control */ + [LAYER_RGB_CONTROL] = LAYOUT_ortho_4x4( /* RGB Control */ RGB_MODE_PLAIN, RGB_MODE_FORWARD, RGB_MODE_REVERSE, RGB_TOG, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD, diff --git a/keyboards/protokeeb/rev1/rev1.c b/keyboards/protokeeb/rev1/rev1.c index e087b0a0a56..48dfa3b87fd 100644 --- a/keyboards/protokeeb/rev1/rev1.c +++ b/keyboards/protokeeb/rev1/rev1.c @@ -23,7 +23,7 @@ bool dip_switch_update_kb(uint8_t index, bool active) { } switch (index) { case 0: - // Encode Push Button Pressed + // Encoder Push Button Pressed if (active) { // Toggle Host Mute tap_code(KC_MUTE);