commit
4eec20f1de
@ -0,0 +1,75 @@ |
|||||||
|
/* Copyright 2021 TW59420 <https://github.com/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 <http://www.gnu.org/licenses/>.
|
||||||
|
*/ |
||||||
|
|
||||||
|
#pragma once |
||||||
|
|
||||||
|
#include "config_common.h" |
||||||
|
|
||||||
|
|
||||||
|
/* USB Device descriptor parameter */ |
||||||
|
#define VENDOR_ID 0x7BA1 |
||||||
|
#define PRODUCT_ID 0x7501 |
||||||
|
#define DEVICE_VER 0x0001 |
||||||
|
#define MANUFACTURER MWStudio |
||||||
|
#define PRODUCT MW75 |
||||||
|
|
||||||
|
/* key matrix size */ |
||||||
|
#define MATRIX_ROWS 7 |
||||||
|
#define MATRIX_COLS 15 |
||||||
|
|
||||||
|
/* key matrix pins */ |
||||||
|
#define MATRIX_ROW_PINS { B7, D0, D1, D2, D3, D5, B0} |
||||||
|
#define MATRIX_COL_PINS { D4, D6, D7, B4, B5, B6, C6, C7, F7, F6, F5, F4, F1, F0, E6 } |
||||||
|
|
||||||
|
#define BOOTMAGIC_LITE_ROW 0 |
||||||
|
#define BOOTMAGIC_LITE_COLUMN 1 |
||||||
|
|
||||||
|
/* COL2ROW or ROW2COL */ |
||||||
|
#define DIODE_DIRECTION COL2ROW |
||||||
|
|
||||||
|
/* Set 0 if debouncing isn't needed */ |
||||||
|
#define DEBOUNCE 5 |
||||||
|
|
||||||
|
#define RGB_DI_PIN B3 |
||||||
|
#define RGBLIGHT_SLEEP |
||||||
|
|
||||||
|
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 |
||||||
|
#define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS |
||||||
|
#define DRIVER_LED_TOTAL 97 |
||||||
|
#define RGBLED_NUM 97 |
||||||
|
#define RGB_MATRIX_KEYPRESSES |
||||||
|
|
||||||
|
// #define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN
|
||||||
|
// #define DISABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
|
||||||
|
// #define DISABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
|
||||||
|
// #define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
|
||||||
|
// #define DISABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
|
||||||
|
// #define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
|
||||||
|
// #define DISABLE_RGB_MATRIX_TYPING_HEATMAP
|
||||||
|
// #define DISABLE_RGB_MATRIX_DIGITAL_RAIN
|
||||||
|
// #define DISABLE_RGB_MATRIX_BAND_SAT
|
||||||
|
// #define DISABLE_RGB_MATRIX_BAND_VAL
|
||||||
|
// #define DISABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
|
||||||
|
// #define DISABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
|
||||||
|
// #define DISABLE_RGB_MATRIX_BAND_SPIRAL_SAT
|
||||||
|
// #define DISABLE_RGB_MATRIX_BAND_SPIRAL_VAL
|
||||||
|
|
||||||
|
#define RGBLIGHT_HUE_STEP 8 |
||||||
|
#define RGBLIGHT_SAT_STEP 8 |
||||||
|
#define RGBLIGHT_VAL_STEP 8 |
||||||
|
|
||||||
|
#define ENCODERS_PAD_A { B1 } |
||||||
|
#define ENCODERS_PAD_B { B2 } |
@ -0,0 +1,99 @@ |
|||||||
|
{ |
||||||
|
"keyboard_name": "MW75", |
||||||
|
"url": "", |
||||||
|
"maintainer": "qmk", |
||||||
|
"layouts": { |
||||||
|
"LAYOUT": { |
||||||
|
"layout": [ |
||||||
|
{"label":"Esc", "x":0, "y":0}, |
||||||
|
{"label":"F1", "x":1.5, "y":0}, |
||||||
|
{"label":"F2", "x":2.5, "y":0}, |
||||||
|
{"label":"F3", "x":3.5, "y":0}, |
||||||
|
{"label":"F4", "x":4.5, "y":0}, |
||||||
|
{"label":"F5", "x":6, "y":0}, |
||||||
|
{"label":"F6", "x":7, "y":0}, |
||||||
|
{"label":"F7", "x":8, "y":0}, |
||||||
|
{"label":"F8", "x":9, "y":0}, |
||||||
|
{"label":"F9", "x":10.5, "y":0}, |
||||||
|
{"label":"F10", "x":11.5, "y":0}, |
||||||
|
{"label":"F11", "x":12.5, "y":0}, |
||||||
|
{"label":"F12", "x":13.5, "y":0}, |
||||||
|
{"label":"DEL", "x":15, "y":0}, |
||||||
|
|
||||||
|
{"label":"`", "x":0, "y":1.5}, |
||||||
|
{"label":"1", "x":1, "y":1.5}, |
||||||
|
{"label":"2", "x":2, "y":1.5}, |
||||||
|
{"label":"3", "x":3, "y":1.5}, |
||||||
|
{"label":"4", "x":4, "y":1.5}, |
||||||
|
{"label":"5", "x":5, "y":1.5}, |
||||||
|
{"label":"6", "x":6, "y":1.5}, |
||||||
|
{"label":"7", "x":7, "y":1.5}, |
||||||
|
{"label":"8", "x":8, "y":1.5}, |
||||||
|
{"label":"9", "x":9, "y":1.5}, |
||||||
|
{"label":"0", "x":10, "y":1.5}, |
||||||
|
{"label":"-", "x":11, "y":1.5}, |
||||||
|
{"label":"=", "x":12, "y":1.5}, |
||||||
|
{"label":"Backspace", "x":13, "y":1.5, "w":2}, |
||||||
|
{"label":"Delete", "x":15, "y":1.5}, |
||||||
|
|
||||||
|
{"label":"Tab", "x":0, "y":2.5, "w":1.5}, |
||||||
|
{"label":"Q", "x":1.5, "y":2.5}, |
||||||
|
{"label":"W", "x":2.5, "y":2.5}, |
||||||
|
{"label":"E", "x":3.5, "y":2.5}, |
||||||
|
{"label":"R", "x":4.5, "y":2.5}, |
||||||
|
{"label":"T", "x":5.5, "y":2.5}, |
||||||
|
{"label":"Y", "x":6.5, "y":2.5}, |
||||||
|
{"label":"U", "x":7.5, "y":2.5}, |
||||||
|
{"label":"I", "x":8.5, "y":2.5}, |
||||||
|
{"label":"O", "x":9.5, "y":2.5}, |
||||||
|
{"label":"P", "x":10.5, "y":2.5}, |
||||||
|
{"label":"[", "x":11.5, "y":2.5}, |
||||||
|
{"label":"]", "x":12.5, "y":2.5}, |
||||||
|
{"label":"\\", "x":13.5, "y":2.5, "w":1.5}, |
||||||
|
{"label":"PgUp", "x":15, "y":2.5}, |
||||||
|
|
||||||
|
{"label":"Caps Lock", "x":0, "y":3.5, "w":1.75}, |
||||||
|
{"label":"A", "x":1.75, "y":3.5}, |
||||||
|
{"label":"S", "x":2.75, "y":3.5}, |
||||||
|
{"label":"D", "x":3.75, "y":3.5}, |
||||||
|
{"label":"F", "x":4.75, "y":3.5}, |
||||||
|
{"label":"G", "x":5.75, "y":3.5}, |
||||||
|
{"label":"H", "x":6.75, "y":3.5}, |
||||||
|
{"label":"J", "x":7.75, "y":3.5}, |
||||||
|
{"label":"K", "x":8.75, "y":3.5}, |
||||||
|
{"label":"L", "x":9.75, "y":3.5}, |
||||||
|
{"label":";", "x":10.75, "y":3.5}, |
||||||
|
{"label":"'", "x":11.75, "y":3.5}, |
||||||
|
{"label":"Enter", "x":12.75, "y":3.5, "w":2.25}, |
||||||
|
{"label":"PgDn", "x":15, "y":3.5}, |
||||||
|
|
||||||
|
{"label":"Shift", "x":0, "y":4.5, "w":2.25}, |
||||||
|
{"label":"Z", "x":2.25, "y":4.5}, |
||||||
|
{"label":"X", "x":3.25, "y":4.5}, |
||||||
|
{"label":"C", "x":4.25, "y":4.5}, |
||||||
|
{"label":"V", "x":5.25, "y":4.5}, |
||||||
|
{"label":"B", "x":6.25, "y":4.5}, |
||||||
|
{"label":"N", "x":7.25, "y":4.5}, |
||||||
|
{"label":"M", "x":8.25, "y":4.5}, |
||||||
|
{"label":",", "x":9.25, "y":4.5}, |
||||||
|
{"label":".", "x":10.25, "y":4.5}, |
||||||
|
{"label":"/", "x":11.25, "y":4.5}, |
||||||
|
{"label":"Shift", "x":12.25, "y":4.5, "w":1.75}, |
||||||
|
{"label":"\u2191", "x":14, "y":4.5}, |
||||||
|
{"label":"End", "x":15, "y":4.5}, |
||||||
|
|
||||||
|
{"label":"Ctrl", "x":0, "y":5.5, "w":1.25}, |
||||||
|
{"label":"Win", "x":1.25, "y":5.5, "w":1.25}, |
||||||
|
{"label":"Alt", "x":2.5, "y":5.5, "w":1.25}, |
||||||
|
{"label":"Vol-", "x":3.75, "y":5.5 }, |
||||||
|
{"label":"Vol+", "x":4.75, "y":5.5 }, |
||||||
|
{"x":5.75, "y":5.5, "w":4.25}, |
||||||
|
{"label":"Alt", "x":10, "y":5.5, "w":1.25}, |
||||||
|
{"label":"Fn", "x":11.25, "y":5.5, "w":1.25}, |
||||||
|
{"label":"\u2190", "x":13, "y":5.5}, |
||||||
|
{"label":"\u2193", "x":14, "y":5.5}, |
||||||
|
{"label":"\u2192", "x":15, "y":5.5} |
||||||
|
] |
||||||
|
} |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,57 @@ |
|||||||
|
/* Copyright 2021 TW59420 <https://github.com/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 <http://www.gnu.org/licenses/>.
|
||||||
|
*/ |
||||||
|
|
||||||
|
|
||||||
|
#include QMK_KEYBOARD_H |
||||||
|
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
||||||
|
|
||||||
|
[0] = LAYOUT( |
||||||
|
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, RGB_TOG, |
||||||
|
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, |
||||||
|
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, |
||||||
|
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, |
||||||
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, |
||||||
|
KC_LCTL, KC_LGUI, KC_LALT, KC_VOLU, KC_VOLD, KC_SPACE, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT |
||||||
|
), |
||||||
|
|
||||||
|
[1] = LAYOUT( |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_HUI, |
||||||
|
RGB_TOG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_HUD, |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_SAI, |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_VAI, RGB_SAD, |
||||||
|
_______, _______, _______, _______, _______, _______, RGB_MOD, _______, RGB_SPD, RGB_VAD, RGB_SPI |
||||||
|
), |
||||||
|
|
||||||
|
[2] = LAYOUT( |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ |
||||||
|
), |
||||||
|
|
||||||
|
[3] = LAYOUT( |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ |
||||||
|
), |
||||||
|
}; |
@ -0,0 +1,57 @@ |
|||||||
|
/* Copyright 2021 TW59420 <https://github.com/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 <http://www.gnu.org/licenses/>.
|
||||||
|
*/ |
||||||
|
|
||||||
|
|
||||||
|
#include QMK_KEYBOARD_H |
||||||
|
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
||||||
|
|
||||||
|
[0] = LAYOUT( |
||||||
|
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, RGB_TOG, |
||||||
|
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, |
||||||
|
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, |
||||||
|
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, |
||||||
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, |
||||||
|
KC_LCTL, KC_LGUI, KC_LALT, KC_VOLU, KC_VOLD, KC_SPACE, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT |
||||||
|
), |
||||||
|
|
||||||
|
[1] = LAYOUT( |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_HUI, |
||||||
|
RGB_TOG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_HUD, |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_SAI, |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_VAI, RGB_SAD, |
||||||
|
_______, _______, _______, _______, _______, _______, RGB_MOD, _______, RGB_SPD, RGB_VAD, RGB_SPI |
||||||
|
), |
||||||
|
|
||||||
|
[2] = LAYOUT( |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ |
||||||
|
), |
||||||
|
|
||||||
|
[3] = LAYOUT( |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ |
||||||
|
), |
||||||
|
}; |
@ -0,0 +1,2 @@ |
|||||||
|
VIA_ENABLE = yes
|
||||||
|
LTO_ENABLE = yes
|
@ -0,0 +1,47 @@ |
|||||||
|
/* Copyright 2021 TW59420 <https://github.com/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 <http://www.gnu.org/licenses/>.
|
||||||
|
*/ |
||||||
|
|
||||||
|
#include "mw75.h" |
||||||
|
|
||||||
|
#ifdef RGB_MATRIX_ENABLE |
||||||
|
led_config_t g_led_config = { { |
||||||
|
{ 81, 80, 79, 78, 77, 76, 75, 74, 73, 72, 71, 70, 69, 68, 67 }, |
||||||
|
{ 66, 65, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52 }, |
||||||
|
{ 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37 }, |
||||||
|
{ 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, NO_LED, 24, 23 }, |
||||||
|
{ 22, NO_LED, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9 }, |
||||||
|
{ 8, 7, 6, NO_LED, NO_LED, NO_LED, 5, NO_LED, NO_LED, NO_LED, 4, 3, 2, 1, 0 }, |
||||||
|
{ 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96 } |
||||||
|
}, { |
||||||
|
{ 217, 60 }, { 203, 60 }, { 189, 60 }, { 166, 60 }, { 150, 60 }, { 95, 60 }, { 40, 60 }, { 24, 60 }, { 8, 60 }, |
||||||
|
{ 217, 50 }, { 203, 50 }, { 184, 50 }, { 165, 50 }, { 151, 50 }, { 137, 50 }, { 123, 50 }, { 109, 50 }, { 95, 50 }, { 81, 50 }, { 67, 50 }, { 53, 50 }, { 39, 50 }, { 17, 50 }, |
||||||
|
{ 217, 40 }, { 195, 40 }, { 172, 40 }, { 158, 40 }, { 144, 40 }, { 130, 40 }, { 116, 40 }, { 102, 40 }, { 88, 40 }, { 74, 40 }, { 60, 40 }, { 46, 40 }, { 32, 40 }, { 13, 40 }, |
||||||
|
{ 217, 30 }, { 199, 30 }, { 181, 30 }, { 165, 30 }, { 151, 30 }, { 137, 30 }, { 123, 30 }, { 109, 30 }, { 95, 30 }, { 81, 30 }, { 67, 30 }, { 53, 30 }, { 39, 30 }, { 25, 30 }, { 9, 30 }, |
||||||
|
{ 217, 20 }, { 196, 20 }, { 175, 20 }, { 161, 20 }, { 147, 20 }, { 133, 20 }, { 119, 20 }, { 105, 20 }, { 91, 20 }, { 77, 20 }, { 63, 20 }, { 49, 20 }, { 35, 20 }, { 21, 20 }, { 7, 20 }, |
||||||
|
{ 217, 5 }, { 196, 5 }, { 182, 5 }, { 168, 5 }, { 154, 5 }, { 133, 5 }, { 119, 5 }, { 105, 5 }, { 91, 5 }, { 70, 5 }, { 56, 5 }, { 42, 5 }, { 28, 5 }, { 7, 5 }, |
||||||
|
|
||||||
|
{ 14, 14 }, { 42, 14 }, { 98, 14 }, { 154, 14 }, { 182, 14 }, { 210, 14 }, { 210, 25 }, { 210, 40 }, |
||||||
|
{ 210, 55 },{ 182, 55 },{ 126, 55 },{ 98, 55 }, { 42, 55 }, { 14, 55 }, { 14, 40 }, { 14, 25 } |
||||||
|
}, { |
||||||
|
1, 1, 1, 1, 1, 1, 1, 1, 1, |
||||||
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
||||||
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
||||||
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
||||||
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
||||||
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
||||||
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 |
||||||
|
} }; |
||||||
|
#endif |
@ -0,0 +1,36 @@ |
|||||||
|
/* Copyright 2021 TW59420 <https://github.com/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 <http://www.gnu.org/licenses/>.
|
||||||
|
*/ |
||||||
|
|
||||||
|
#pragma once |
||||||
|
|
||||||
|
#include "quantum.h" |
||||||
|
|
||||||
|
#define LAYOUT( \ |
||||||
|
K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014,\
|
||||||
|
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114,\
|
||||||
|
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214,\
|
||||||
|
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K313, K314,\
|
||||||
|
K400, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411, K412, K413, K414,\
|
||||||
|
K500, K501, K502, K503, K504, K506, K510, K511, K512, K513, K514\
|
||||||
|
) { \
|
||||||
|
{ KC_NO, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014 },\
|
||||||
|
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114 },\
|
||||||
|
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214 },\
|
||||||
|
{ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, KC_NO, K313, K314 },\
|
||||||
|
{ K400, KC_NO, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411, K412, K413, K414 },\
|
||||||
|
{ K500, K501, K502, K503, K504, KC_NO, K506, KC_NO, KC_NO, KC_NO, K510, K511, K512, K513, K514 },\
|
||||||
|
{ KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO } \
|
||||||
|
} |
@ -0,0 +1,22 @@ |
|||||||
|
# MW75 |
||||||
|
|
||||||
|
 |
||||||
|
|
||||||
|
Support Atmega32u4 keyboard. |
||||||
|
|
||||||
|
* Keyboard Maintainer: [TW59420](https://github.com/TW59420) |
||||||
|
* Hardware Supported: Atmega32u4 |
||||||
|
|
||||||
|
Make example for this keyboard (after setting up your build environment): |
||||||
|
|
||||||
|
make mwstudio/mw75:default |
||||||
|
|
||||||
|
Flashing example for this keyboard: |
||||||
|
|
||||||
|
make mwstudio/mw75:default:flash |
||||||
|
|
||||||
|
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). |
||||||
|
|
||||||
|
## Bootloader |
||||||
|
* **Physical reset button**: Short press the button on the back of the PCB to enter the Bootloader and flash the firmware |
||||||
|
* **Keycode in layout**: Press the key mapped to RESET if it is available |
@ -0,0 +1,24 @@ |
|||||||
|
# MCU name
|
||||||
|
MCU = atmega32u4
|
||||||
|
|
||||||
|
# Bootloader selection
|
||||||
|
BOOTLOADER = atmel-dfu
|
||||||
|
|
||||||
|
# Build Options
|
||||||
|
# change yes to no to disable
|
||||||
|
#
|
||||||
|
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
||||||
|
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||||
|
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||||
|
CONSOLE_ENABLE = no # Console for debug
|
||||||
|
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||||
|
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
||||||
|
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||||
|
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
||||||
|
NKRO_ENABLE = yes # USB Nkey Rollover
|
||||||
|
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||||
|
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
||||||
|
AUDIO_ENABLE = no # Audio output
|
||||||
|
RGB_MATRIX_ENABLE = yes
|
||||||
|
RGB_MATRIX_DRIVER = WS2812
|
||||||
|
ENCODER_ENABLE = yes
|
@ -0,0 +1,5 @@ |
|||||||
|
# MWStudio pcb |
||||||
|
|
||||||
|
This is a series of PCB |
||||||
|
* MW75 The chip is ATmega32U4 |
||||||
|
|
Loading…
Reference in new issue