mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-04-04 21:05:41 +00:00
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
This commit is contained in:
parent
a520b48f33
commit
953d6caa52
@ -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,
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user