From c4a2bea0e6aac51b8c0806f31614383e267eb1d7 Mon Sep 17 00:00:00 2001 From: TW59420 <40019210+TW59420@users.noreply.github.com> Date: Tue, 12 Dec 2023 11:21:09 +0800 Subject: [Keyboard] add mmk_3 (#22569) Co-authored-by: jack <0x6a73@protonmail.com> Co-authored-by: Ryan Co-authored-by: Drashna Jaelre Co-authored-by: Joel Challis --- keyboards/mwstudio/mmk_3/keymaps/default/keymap.c | 26 +++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 keyboards/mwstudio/mmk_3/keymaps/default/keymap.c (limited to 'keyboards/mwstudio/mmk_3/keymaps/default') diff --git a/keyboards/mwstudio/mmk_3/keymaps/default/keymap.c b/keyboards/mwstudio/mmk_3/keymaps/default/keymap.c new file mode 100644 index 0000000000..b4cc8ae315 --- /dev/null +++ b/keyboards/mwstudio/mmk_3/keymaps/default/keymap.c @@ -0,0 +1,26 @@ +/* Copyright 2023 TW59420 + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#include QMK_KEYBOARD_H +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT(LT(3, KC_LCTL), LT(1, KC_C), LT(2, KC_V)), + + [1] = LAYOUT(RGB_VAD, KC_TRNS, RGB_VAI), + + [2] = LAYOUT(RGB_SAD, RGB_SAI, KC_TRNS), + + [3] = LAYOUT(KC_TRNS, RGB_HUD, RGB_HUI)}; -- cgit v1.2.3