aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/mtbkeys/mtb60/hotswap/config.h79
-rw-r--r--keyboards/mtbkeys/mtb60/hotswap/hotswap.c17
-rw-r--r--keyboards/mtbkeys/mtb60/hotswap/hotswap.h33
-rw-r--r--keyboards/mtbkeys/mtb60/hotswap/info.json72
-rw-r--r--keyboards/mtbkeys/mtb60/hotswap/keymaps/default/keymap.c39
-rw-r--r--keyboards/mtbkeys/mtb60/hotswap/readme.md26
-rw-r--r--keyboards/mtbkeys/mtb60/hotswap/rules.mk21
-rw-r--r--keyboards/mtbkeys/mtb60/solder/config.h79
-rw-r--r--keyboards/mtbkeys/mtb60/solder/info.json75
-rw-r--r--keyboards/mtbkeys/mtb60/solder/keymaps/default/keymap.c40
-rw-r--r--keyboards/mtbkeys/mtb60/solder/readme.md26
-rw-r--r--keyboards/mtbkeys/mtb60/solder/rules.mk21
-rw-r--r--keyboards/mtbkeys/mtb60/solder/solder.c17
-rw-r--r--keyboards/mtbkeys/mtb60/solder/solder.h33
14 files changed, 578 insertions, 0 deletions
diff --git a/keyboards/mtbkeys/mtb60/hotswap/config.h b/keyboards/mtbkeys/mtb60/hotswap/config.h
new file mode 100644
index 000000000..6cfc31224
--- /dev/null
+++ b/keyboards/mtbkeys/mtb60/hotswap/config.h
@@ -0,0 +1,79 @@
1/*
2Copyright 2021 MTBKeys
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#include "config_common.h"
21
22/* USB Device descriptor parameter */
23#define VENDOR_ID 0xFEED
24#define PRODUCT_ID 0x0001
25#define DEVICE_VER 0x0001
26#define MANUFACTURER MTBKeys
27#define PRODUCT honeyboard60
28
29/* key matrix size */
30#define MATRIX_ROWS 5
31#define MATRIX_COLS 15
32
33/* key matrix pinout */
34#define MATRIX_ROW_PINS { D6, D7, B4, B5, D5 }
35#define MATRIX_COL_PINS { D0, D1, D2, D3, B7, B6, F7, C6, C7, F6, F4, F1, F0, F5, E6 }
36#define UNUSED_PINS
37
38/* diode direction: COL2ROW or ROW2COL */
39#define DIODE_DIRECTION ROW2COL
40
41/* Pin WS2812 RGB LEDs are connected to */
42#define RGB_DI_PIN D4
43
44#ifdef RGB_DI_PIN
45# define RGBLED_NUM 16
46# define RGBLIGHT_HUE_STEP 8
47# define RGBLIGHT_SAT_STEP 8
48# define RGBLIGHT_VAL_STEP 8
49# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
50# define RGBLIGHT_SLEEP /* Turn RGB light off when the host goes to sleep */
51# define RGBLIGHT_EFFECT_ALTERNATING
52# define RGBLIGHT_EFFECT_BREATHING
53# define RGBLIGHT_EFFECT_CHRISTMAS
54# define RGBLIGHT_EFFECT_KNIGHT
55# define RGBLIGHT_EFFECT_RAINBOW_MOOD
56# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
57# define RGBLIGHT_EFFECT_RGB_TEST
58# define RGBLIGHT_EFFECT_SNAKE
59# define RGBLIGHT_EFFECT_STATIC_GRADIENT
60# define RGBLIGHT_EFFECT_TWINKLE
61# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL /* Set default RGB */
62#endif /* RGB_DI_PIN */
63
64/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
65#define DEBOUNCE 5
66
67/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
68#define LOCKING_SUPPORT_ENABLE
69
70/* Locking resynchronize hack */
71#define LOCKING_RESYNC_ENABLE
72
73/* disable these deprecated features by default */
74#define NO_ACTION_MACRO
75#define NO_ACTION_FUNCTION
76
77/* Bootmagic Lite key configuration */
78#define BOOTMAGIC_LITE_ROW 0
79#define BOOTMAGIC_LITE_COLUMN 0
diff --git a/keyboards/mtbkeys/mtb60/hotswap/hotswap.c b/keyboards/mtbkeys/mtb60/hotswap/hotswap.c
new file mode 100644
index 000000000..f23de6af5
--- /dev/null
+++ b/keyboards/mtbkeys/mtb60/hotswap/hotswap.c
@@ -0,0 +1,17 @@
1/* Copyright 2021 MTBKeys
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "hotswap.h"
diff --git a/keyboards/mtbkeys/mtb60/hotswap/hotswap.h b/keyboards/mtbkeys/mtb60/hotswap/hotswap.h
new file mode 100644
index 000000000..7dae44b5d
--- /dev/null
+++ b/keyboards/mtbkeys/mtb60/hotswap/hotswap.h
@@ -0,0 +1,33 @@
1/* Copyright 2021 MTBKeys
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21#define LAYOUT( \
22 k00, k10, k20, k30, k40, k50, k60, k70, k80, k90, ka0, kb0, kc0, ke0, \
23 k11, k21, k31, k41, k51, k61, k71, k81, k91, ka1, kb1, kc1, kd1, ke1, \
24 k02, k22, k32, k42, k52, k62, k72, k82, k92, ka2, kb2, kc2, kd2, \
25 k03, k23, k33, k43, k53, k63, k73, k83, k93, ka3, kb3, kd3, \
26 k04, k14, k24, k64, ka4, kb4, kd4, ke4 \
27) { \
28 { k00, k10, k20, k30, k40, k50, k60, k70, k80, k90, ka0, kb0, kc0, KC_NO, ke0 }, \
29 { KC_NO, k11, k21, k31, k41, k51, k61, k71, k81, k91, ka1, kb1, kc1, kd1, ke1 }, \
30 { k02, KC_NO, k22, k32, k42, k52, k62, k72, k82, k92, ka2, kb2, kc2, kd2, KC_NO }, \
31 { k03, KC_NO, k23, k33, k43, k53, k63, k73, k83, k93, ka3, kb3, KC_NO, kd3, KC_NO }, \
32 { k04, k14, k24, KC_NO, KC_NO, KC_NO, k64, KC_NO, KC_NO, KC_NO, ka4, kb4, kd4, KC_NO, ke4 } \
33}
diff --git a/keyboards/mtbkeys/mtb60/hotswap/info.json b/keyboards/mtbkeys/mtb60/hotswap/info.json
new file mode 100644
index 000000000..5718d7050
--- /dev/null
+++ b/keyboards/mtbkeys/mtb60/hotswap/info.json
@@ -0,0 +1,72 @@
1{
2 "keyboard_name": "MTB60",
3 "url": "mtbkeys.com",
4 "maintainer": "MTBKeys",
5 "layouts": {
6 "LAYOUT_all": {
7 "layout": [
8 {"label": "Esc" , "x": 0, "y": 0 },
9 {"label": "!" , "x": 1, "y": 0 },
10 {"label": "@" , "x": 2, "y": 0 },
11 {"label": "#" , "x": 3, "y": 0 },
12 {"label": "$" , "x": 4, "y": 0 },
13 {"label": "%" , "x": 5, "y": 0 },
14 {"label": "^" , "x": 6, "y": 0 },
15 {"label": "&" , "x": 7, "y": 0 },
16 {"label": "*" , "x": 8, "y": 0 },
17 {"label": "(" , "x": 9, "y": 0 },
18 {"label": ")" , "x": 10, "y": 0 },
19 {"label": "_" , "x": 11, "y": 0 },
20 {"label": "+" , "x": 12, "y": 0 },
21 {"label": "Back Space", "x": 13, "y": 0, "w": 2},
22 {"label": "Tab", "x": 0 , "y": 1, "w": 1.5},
23 {"label": "Q" , "x": 1.5, "y": 1 },
24 {"label": "W" , "x": 2.5, "y": 1 },
25 {"label": "E" , "x": 3.5, "y": 1 },
26 {"label": "R" , "x": 4.5, "y": 1 },
27 {"label": "T" , "x": 5.5, "y": 1 },
28 {"label": "Y" , "x": 6.5, "y": 1 },
29 {"label": "U" , "x": 7.5, "y": 1 },
30 {"label": "I" , "x": 8.5, "y": 1 },
31 {"label": "O" , "x": 9.5, "y": 1 },
32 {"label": "P" , "x": 10.5, "y": 1 },
33 {"label": "{" , "x": 11.5, "y": 1 },
34 {"label": "}" , "x": 12.5, "y": 1 },
35 {"label": "|" , "x": 13.5, "y": 1, "w": 1.5},
36 {"label": "Caps Lock", "x": 0 , "y": 2, "w": 1.75},
37 {"label": "A" , "x": 1.75, "y": 2 },
38 {"label": "S" , "x": 2.75, "y": 2 },
39 {"label": "D" , "x": 3.75, "y": 2 },
40 {"label": "F" , "x": 4.75, "y": 2 },
41 {"label": "G" , "x": 5.75, "y": 2 },
42 {"label": "H" , "x": 6.75, "y": 2 },
43 {"label": "J" , "x": 7.75, "y": 2 },
44 {"label": "K" , "x": 8.75, "y": 2 },
45 {"label": "L" , "x": 9.75, "y": 2 },
46 {"label": ":" , "x": 10.75, "y": 2 },
47 {"label": "\"" , "x": 11.75, "y": 2 },
48 {"label": "Enter" , "x": 12.75, "y": 2, "w": 2.25},
49 {"label": "Left Shift" , "x": 0 , "y": 3, "w": 2.25},
50 {"label": "Z" , "x": 2.25, "y": 3 },
51 {"label": "X" , "x": 3.25, "y": 3 },
52 {"label": "C" , "x": 4.25, "y": 3 },
53 {"label": "V" , "x": 5.25, "y": 3 },
54 {"label": "B" , "x": 6.25, "y": 3 },
55 {"label": "N" , "x": 7.25, "y": 3 },
56 {"label": "M" , "x": 8.25, "y": 3 },
57 {"label": "<" , "x": 9.25, "y": 3 },
58 {"label": ">" , "x": 10.25, "y": 3 },
59 {"label": "?" , "x": 11.25, "y": 3 },
60 {"label": "Right Shift", "x": 12.25, "y": 3, "w": 2.75},
61 {"label": "Left Ctrl" , "x": 0 , "y": 4, "w": 1.25},
62 {"label": "GUI" , "x": 1.25, "y": 4, "w": 1.25},
63 {"label": "Left Alt" , "x": 2.5 , "y": 4, "w": 1.25},
64 {"label": "Space" , "x": 3.75, "y": 4, "w": 6.25},
65 {"label": "Right Ctrl", "x": 10 , "y": 4, "w": 1.25},
66 {"label": "GUI" , "x": 11.25, "y": 4, "w": 1.25},
67 {"label": "MO(1)" , "x": 12.5 , "y": 4, "w": 1.25},
68 {"label": "Right Ctrl", "x": 13.75, "y": 4, "w": 1.25}
69 ]
70 }
71 }
72}
diff --git a/keyboards/mtbkeys/mtb60/hotswap/keymaps/default/keymap.c b/keyboards/mtbkeys/mtb60/hotswap/keymaps/default/keymap.c
new file mode 100644
index 000000000..648c8201f
--- /dev/null
+++ b/keyboards/mtbkeys/mtb60/hotswap/keymaps/default/keymap.c
@@ -0,0 +1,39 @@
1/* Copyright 2021 MTBKeys
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include QMK_KEYBOARD_H
17
18// Defines names for use in layer keycodes and the keymap
19enum layer_names {
20 _BASE, ///< Default Layer
21 _FN ///< Function Layer
22};
23
24const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
25 [_BASE] = LAYOUT(
26 KC_ESC, 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,
27 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,
28 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,
29 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
30 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(_FN), KC_RCTL
31 ),
32 [_FN] = LAYOUT(
33 KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL,
34 _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, _______,
35 _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, _______, _______, _______,
36 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
37 _______, _______, _______, _______, _______, _______, _______, RGB_TOG
38 )
39};
diff --git a/keyboards/mtbkeys/mtb60/hotswap/readme.md b/keyboards/mtbkeys/mtb60/hotswap/readme.md
new file mode 100644
index 000000000..7afa26bbd
--- /dev/null
+++ b/keyboards/mtbkeys/mtb60/hotswap/readme.md
@@ -0,0 +1,26 @@
1# MTB60 (Hotswap Edition)
2
3## Details
4
5* Keyboard Maintainer: [MTBKeys](https://mtbkeys.com/)
6* Hardware Supported: MTB60 PCB (Hotswap edition)
7* Hardware Availability: [HB60 on MTBKeys Website](https://mtbkeys.com/)
8
9## Building Firmware
10
11Make example for this keyboard (after setting up your build environment):
12
13 make mtbkeys/mtb60/hotswap:default
14
15Flashing example for this keyboard:
16
17 make mtbkeys/mtb60/hotswap:default:flash
18
19## Bootloader
20
21Enter the bootloader in 2 ways:
22
231. **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
242. **Physical reset button**: Briefly press the button on the back of the PCB
25
26See 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).
diff --git a/keyboards/mtbkeys/mtb60/hotswap/rules.mk b/keyboards/mtbkeys/mtb60/hotswap/rules.mk
new file mode 100644
index 000000000..02ae23670
--- /dev/null
+++ b/keyboards/mtbkeys/mtb60/hotswap/rules.mk
@@ -0,0 +1,21 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5BOOTLOADER = atmel-dfu
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
11MOUSEKEY_ENABLE = yes # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug
14COMMAND_ENABLE = no # Commands for debug and configuration
15# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
16SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
17# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
18NKRO_ENABLE = no # USB Nkey Rollover
19BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
20RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
21AUDIO_ENABLE = no # Audio output
diff --git a/keyboards/mtbkeys/mtb60/solder/config.h b/keyboards/mtbkeys/mtb60/solder/config.h
new file mode 100644
index 000000000..02037e83d
--- /dev/null
+++ b/keyboards/mtbkeys/mtb60/solder/config.h
@@ -0,0 +1,79 @@
1/*
2Copyright 2021 MTBKeys
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#include "config_common.h"
21
22/* USB Device descriptor parameter */
23#define VENDOR_ID 0xFEED
24#define PRODUCT_ID 0x0000
25#define DEVICE_VER 0x0001
26#define MANUFACTURER MTBKeys
27#define PRODUCT MTB60
28
29/* key matrix size */
30#define MATRIX_ROWS 5
31#define MATRIX_COLS 15
32
33/* key matrix pinout */
34#define MATRIX_ROW_PINS { D0, D1, F4, F1, D2 }
35#define MATRIX_COL_PINS { E6, F0, F5, F6, F7, D5, D3, C7, C6, B6, B5, B4, D7, D6, D4 }
36#define UNUSED_PINS
37
38/* diode direction: COL2ROW or ROW2COL */
39#define DIODE_DIRECTION ROW2COL
40
41/* Pin WS2812 RGB LEDs are connected to */
42#define RGB_DI_PIN B0
43
44#ifdef RGB_DI_PIN
45# define RGBLED_NUM 16
46# define RGBLIGHT_HUE_STEP 8
47# define RGBLIGHT_SAT_STEP 8
48# define RGBLIGHT_VAL_STEP 8
49# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
50# define RGBLIGHT_SLEEP /* Turn RGB light off when the host goes to sleep */
51# define RGBLIGHT_EFFECT_ALTERNATING
52# define RGBLIGHT_EFFECT_BREATHING
53# define RGBLIGHT_EFFECT_CHRISTMAS
54# define RGBLIGHT_EFFECT_KNIGHT
55# define RGBLIGHT_EFFECT_RAINBOW_MOOD
56# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
57# define RGBLIGHT_EFFECT_RGB_TEST
58# define RGBLIGHT_EFFECT_SNAKE
59# define RGBLIGHT_EFFECT_STATIC_GRADIENT
60# define RGBLIGHT_EFFECT_TWINKLE
61# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL /* Set default RGB */
62#endif /* RGB_DI_PIN */
63
64/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
65#define DEBOUNCE 5
66
67/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
68#define LOCKING_SUPPORT_ENABLE
69
70/* Locking resynchronize hack */
71#define LOCKING_RESYNC_ENABLE
72
73/* disable these deprecated features by default */
74#define NO_ACTION_MACRO
75#define NO_ACTION_FUNCTION
76
77/* Bootmagic Lite key configuration */
78#define BOOTMAGIC_LITE_ROW 0
79#define BOOTMAGIC_LITE_COLUMN 0
diff --git a/keyboards/mtbkeys/mtb60/solder/info.json b/keyboards/mtbkeys/mtb60/solder/info.json
new file mode 100644
index 000000000..e60d3eee2
--- /dev/null
+++ b/keyboards/mtbkeys/mtb60/solder/info.json
@@ -0,0 +1,75 @@
1{
2 "keyboard_name": "MTB60",
3 "url": "mtbkeys.com",
4 "maintainer": "MTBKeys",
5 "layouts": {
6 "LAYOUT_all": {
7 "layout": [
8 {"label": "Esc" , "x": 0, "y": 0},
9 {"label": "!" , "x": 1, "y": 0},
10 {"label": "@" , "x": 2, "y": 0},
11 {"label": "#" , "x": 3, "y": 0},
12 {"label": "$" , "x": 4, "y": 0},
13 {"label": "%" , "x": 5, "y": 0},
14 {"label": "^" , "x": 6, "y": 0},
15 {"label": "&" , "x": 7, "y": 0},
16 {"label": "*" , "x": 8, "y": 0},
17 {"label": "(" , "x": 9, "y": 0},
18 {"label": ")" , "x": 10, "y": 0},
19 {"label": "_" , "x": 11, "y": 0},
20 {"label": "+" , "x": 12, "y": 0},
21 {"label": "Back Space", "x": 13, "y": 0},
22 {"label": "Delete" , "x": 14, "y": 0},
23 {"label": "Tab", "x": 0 , "y": 1, "w": 1.5},
24 {"label": "Q" , "x": 1.5, "y": 1 },
25 {"label": "W" , "x": 2.5, "y": 1 },
26 {"label": "E" , "x": 3.5, "y": 1 },
27 {"label": "R" , "x": 4.5, "y": 1 },
28 {"label": "T" , "x": 5.5, "y": 1 },
29 {"label": "Y" , "x": 6.5, "y": 1 },
30 {"label": "U" , "x": 7.5, "y": 1 },
31 {"label": "I" , "x": 8.5, "y": 1 },
32 {"label": "O" , "x": 9.5, "y": 1 },
33 {"label": "P" , "x": 10.5, "y": 1 },
34 {"label": "{" , "x": 11.5, "y": 1 },
35 {"label": "}" , "x": 12.5, "y": 1 },
36 {"label": "|" , "x": 13.5, "y": 1, "w": 1.5},
37 {"label": "Caps Lock", "x": 0 , "y": 2, "w": 1.75},
38 {"label": "A" , "x": 1.75, "y": 2 },
39 {"label": "S" , "x": 2.75, "y": 2 },
40 {"label": "D" , "x": 3.75, "y": 2 },
41 {"label": "F" , "x": 4.75, "y": 2 },
42 {"label": "G" , "x": 5.75, "y": 2 },
43 {"label": "H" , "x": 6.75, "y": 2 },
44 {"label": "J" , "x": 7.75, "y": 2 },
45 {"label": "K" , "x": 8.75, "y": 2 },
46 {"label": "L" , "x": 9.75, "y": 2 },
47 {"label": ":" , "x": 10.75, "y": 2 },
48 {"label": "\"" , "x": 11.75, "y": 2 },
49 {"label": "Enter" , "x": 12.75, "y": 2, "w": 2.25},
50 {"label": "Left Shift" , "x": 0 , "y": 3, "w": 2.25},
51 {"label": "Z" , "x": 2.25, "y": 3 },
52 {"label": "X" , "x": 3.25, "y": 3 },
53 {"label": "C" , "x": 4.25, "y": 3 },
54 {"label": "V" , "x": 5.25, "y": 3 },
55 {"label": "B" , "x": 6.25, "y": 3 },
56 {"label": "N" , "x": 7.25, "y": 3 },
57 {"label": "M" , "x": 8.25, "y": 3 },
58 {"label": "<" , "x": 9.25, "y": 3 },
59 {"label": ">" , "x": 10.25, "y": 3 },
60 {"label": "?" , "x": 11.25, "y": 3 },
61 {"label": "Right Shift", "x": 12.25, "y": 3, "w": 2.75},
62 {"label": "Left Ctrl" , "x": 0 , "y": 4, "w": 1.25},
63 {"label": "GUI" , "x": 1.25, "y": 4, "w": 1.25},
64 {"label": "Left Alt" , "x": 2.5 , "y": 4, "w": 1.25},
65 {"label": "Space" , "x": 3.75, "y": 4, "w": 2.25},
66 {"label": "Space" , "x": 6 , "y": 4, "w": 1.25},
67 {"label": "Space" , "x": 7.25, "y": 4, "w": 2.75},
68 {"label": "Right Ctrl", "x": 10 , "y": 4, "w": 1.25},
69 {"label": "GUI" , "x": 11.25, "y": 4, "w": 1.25},
70 {"label": "MO(1)" , "x": 12.5 , "y": 4, "w": 1.25},
71 {"label": "Right Ctrl", "x": 13.75, "y": 4, "w": 1.25}
72 ]
73 }
74 }
75}
diff --git a/keyboards/mtbkeys/mtb60/solder/keymaps/default/keymap.c b/keyboards/mtbkeys/mtb60/solder/keymaps/default/keymap.c
new file mode 100644
index 000000000..6ed34b643
--- /dev/null
+++ b/keyboards/mtbkeys/mtb60/solder/keymaps/default/keymap.c
@@ -0,0 +1,40 @@
1/* Copyright 2021 MTBKeys
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include QMK_KEYBOARD_H
17
18// Defines names for use in layer keycodes and the keymap
19enum layer_names {
20 _BASE,
21 _FN
22};
23
24const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
25 /* Base */
26 [_BASE] = LAYOUT(
27 KC_ESC, 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_BSPC,
28 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,
29 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,
30 KC_LSFT, 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_RSFT, KC_RSFT,
31 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, MO(_FN), KC_RGUI, KC_RCTL
32 ),
33 [_FN] = LAYOUT(
34 KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______,
35 _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, _______,
36 _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, _______, _______, _______,
37 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
38 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
39 )
40};
diff --git a/keyboards/mtbkeys/mtb60/solder/readme.md b/keyboards/mtbkeys/mtb60/solder/readme.md
new file mode 100644
index 000000000..adaa94244
--- /dev/null
+++ b/keyboards/mtbkeys/mtb60/solder/readme.md
@@ -0,0 +1,26 @@
1# MTB60 (Solder Edition)
2
3## Details
4
5* Keyboard Maintainer: [MTBKeys](https://mtbkeys.com/)
6* Hardware Supported: MTB60 PCB (Solder edition)
7* Hardware Availability: [HB60 on MTBKeys Website](https://mtbkeys.com/)
8
9## Building Firmware
10
11Make example for this keyboard (after setting up your build environment):
12
13 make mtbkeys/mtb60/solder:default
14
15Flashing example for this keyboard:
16
17 make mtbkeys/mtb60/solder:default:flash
18
19## Bootloader
20
21Enter the bootloader in 2 ways:
22
231. **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
242. **Physical reset button**: Briefly press the button on the back of the PCB
25
26See 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).
diff --git a/keyboards/mtbkeys/mtb60/solder/rules.mk b/keyboards/mtbkeys/mtb60/solder/rules.mk
new file mode 100644
index 000000000..33e176337
--- /dev/null
+++ b/keyboards/mtbkeys/mtb60/solder/rules.mk
@@ -0,0 +1,21 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5BOOTLOADER = atmel-dfu
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
11MOUSEKEY_ENABLE = yes # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug
14COMMAND_ENABLE = no # Commands for debug and configuration
15# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
16SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
17# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
18NKRO_ENABLE = no # USB Nkey Rollover
19BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
20RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
21AUDIO_ENABLE = no # Audio output
diff --git a/keyboards/mtbkeys/mtb60/solder/solder.c b/keyboards/mtbkeys/mtb60/solder/solder.c
new file mode 100644
index 000000000..9bb7f2b98
--- /dev/null
+++ b/keyboards/mtbkeys/mtb60/solder/solder.c
@@ -0,0 +1,17 @@
1/* Copyright 2021 MTBKeys
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "solder.h"
diff --git a/keyboards/mtbkeys/mtb60/solder/solder.h b/keyboards/mtbkeys/mtb60/solder/solder.h
new file mode 100644
index 000000000..31756e7af
--- /dev/null
+++ b/keyboards/mtbkeys/mtb60/solder/solder.h
@@ -0,0 +1,33 @@
1/* Copyright 2021 MTBKeys
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21#define LAYOUT( \
22 k00, k10, k20, k30, k40, k50, k60, k70, k80, k90, ka0, kb0, kc0, kd0, ke0, \
23 k11, k21, k31, k41, k51, k61, k71, k81, k91, ka1, kb1, kc1, kd1, ke1, \
24 k02, k22, k32, k42, k52, k62, k72, k82, k92, ka2, kb2, kc2, kd2, \
25 k03, k13, k23, k33, k43, k53, k63, k73, k83, k93, ka3, kb3, kc3, kd3, ke3, \
26 k04, k14, k34, k44, k64, k84, ka4, kb4, kc4, kd4, ke4 \
27) { \
28 { k00, k10, k20, k30, k40, k50, k60, k70, k80, k90, ka0, kb0, kc0, kd0, ke0 }, \
29 { KC_NO, k11, k21, k31, k41, k51, k61, k71, k81, k91, ka1, kb1, kc1, kd1, ke1 }, \
30 { k02, KC_NO, k22, k32, k42, k52, k62, k72, k82, k92, ka2, kb2, kc2, kd2, KC_NO }, \
31 { k03, k13, k23, k33, k43, k53, k63, k73, k83, k93, ka3, kb3, kc3, kd3, ke3 }, \
32 { k04, k14, KC_NO, k34, k44, KC_NO, k64, KC_NO, k84, KC_NO, ka4, kb4, kc4, kd4, ke4 } \
33}