Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Keyboard] Added MW60 #22505

Merged
merged 34 commits into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
4d33a30
Init files
Aeonstrife Nov 19, 2023
711f3ad
Update keyboards/buildakb/mw60/readme.md
Aeonstrife Nov 21, 2023
165235f
Update keyboards/buildakb/mw60/readme.md
Aeonstrife Nov 21, 2023
05e8b59
fixed stuff
Aeonstrife Nov 21, 2023
0d009e0
Update readme
Aeonstrife Nov 21, 2023
062894a
Update keyboards/buildakb/mw60/rules.mk
Aeonstrife Dec 1, 2023
9470f03
Merge branch 'master' into mw60
Aeonstrife Dec 17, 2023
3d2521f
Update keyboards/buildakb/mw60/info.json
Aeonstrife Dec 20, 2023
bf01723
Update keyboards/buildakb/mw60/keymaps/default/keymap.c
Aeonstrife Dec 20, 2023
939b564
Update keyboards/buildakb/mw60/keymaps/via/keymap.c
Aeonstrife Dec 20, 2023
5cdf720
Update keyboards/buildakb/mw60/info.json
Aeonstrife Dec 20, 2023
2ed6ee0
formatted info.json, removed config.h
Aeonstrife Dec 20, 2023
77fa015
Merge branch 'mw60' of https://github.com/Aeonstrife/qmk_firmware int…
Aeonstrife Dec 20, 2023
d94abfd
Merge branch 'master' into mw60
Aeonstrife Dec 20, 2023
909edb0
Update keyboards/buildakb/mw60/info.json
Aeonstrife Dec 20, 2023
d95c632
Update keyboards/buildakb/mw60/info.json
Aeonstrife Dec 20, 2023
936d76b
Merge branch 'master' into mw60
Aeonstrife Dec 20, 2023
3bfeb8e
Update keyboards/buildakb/mw60/info.json
Aeonstrife Dec 21, 2023
87fa2b6
Merge branch 'master' into mw60
Aeonstrife Dec 21, 2023
67c68fd
Merge branch 'master' into mw60
Aeonstrife Dec 22, 2023
c302d9e
Update keyboards/buildakb/mw60/keymaps/default/keymap.c
Aeonstrife Jan 14, 2024
ff34cec
Update keyboards/buildakb/mw60/keymaps/default/keymap.c
Aeonstrife Jan 14, 2024
fd33651
Update keyboards/buildakb/mw60/keymaps/via/keymap.c
Aeonstrife Jan 14, 2024
fca6a56
Merge branch 'master' into mw60
Aeonstrife Jan 14, 2024
a9287f2
Merge branch 'master' into mw60
Aeonstrife Jan 19, 2024
674f300
Merge branch 'master' into mw60
Aeonstrife Jan 20, 2024
8bc9917
Merge branch 'master' into mw60
Aeonstrife Jan 23, 2024
dc33d79
Merge branch 'master' into mw60
Aeonstrife Jan 31, 2024
0734f40
Merge branch 'master' into mw60
Aeonstrife Feb 1, 2024
4f96775
formatted info.json
Aeonstrife Feb 1, 2024
fd05f0d
Merge branch 'master' into mw60
Aeonstrife Feb 1, 2024
d96a9cc
Merge branch 'master' into mw60
Aeonstrife Feb 4, 2024
5c94da0
Merge branch 'master' into mw60
Aeonstrife Feb 7, 2024
73776e2
Merge branch 'master' into mw60
Aeonstrife Feb 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions keyboards/buildakb/mw60/config.h
Aeonstrife marked this conversation as resolved.
Show resolved Hide resolved
Aeonstrife marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/*
Copyright 2023 Maelkk

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

/* USB Device descriptor parameter */

/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 14

/* key matrix pins */
#define MATRIX_ROW_PINS { E6, D1, F7, F4, F1 }
#define MATRIX_COL_PINS { F0, C7, C6, B6, B5, F5, B4, D7, D6, D4, D5, D3, F6, D2 }

/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW

/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 5
Aeonstrife marked this conversation as resolved.
Show resolved Hide resolved

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE

/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE

#define USB_POLLING_INTERVAL_MS 1
Aeonstrife marked this conversation as resolved.
Show resolved Hide resolved
297 changes: 297 additions & 0 deletions keyboards/buildakb/mw60/info.json
Aeonstrife marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,297 @@
{
"keyboard_name": "mw60",
"usb": {
"device_version": "0.0.1",
"pid": "0x0004",
"vid": "0x4A56"
},
"url": "",
"manufacturer": "Maelkworks",
"maintainer": "Maelkk",
"layouts": {
drashna marked this conversation as resolved.
Show resolved Hide resolved
"LAYOUT": {
"layout": [
{
"x": 0,
"y": 0
},
{
"x": 1,
"y": 0
},
{
"x": 2,
"y": 0
},
{
"x": 3,
"y": 0
},
{
"x": 4,
"y": 0
},
{
"x": 5,
"y": 0
},
{
"x": 6,
"y": 0
},
{
"x": 7,
"y": 0
},
{
"x": 8,
"y": 0
},
{
"x": 9,
"y": 0
},
{
"x": 10,
"y": 0
},
{
"x": 11,
"y": 0
},
{
"x": 12,
"y": 0
},
{
"x": 13,
"y": 0
},
{
"x": 14,
"y": 0
},
{
"x": 0,
"y": 1,
"w": 1.5
},
{
"x": 1.5,
"y": 1
},
{
"x": 2.5,
"y": 1
},
{
"x": 3.5,
"y": 1
},
{
"x": 4.5,
"y": 1
},
{
"x": 5.5,
"y": 1
},
{
"x": 6.5,
"y": 1
},
{
"x": 7.5,
"y": 1
},
{
"x": 8.5,
"y": 1
},
{
"x": 9.5,
"y": 1
},
{
"x": 10.5,
"y": 1
},
{
"x": 11.5,
"y": 1
},
{
"x": 12.5,
"y": 1
},
{
"x": 13.5,
"y": 1,
"w": 1.5
},
{
"x": 0,
"y": 2,
"w": 1.75
},
{
"x": 1.75,
"y": 2
},
{
"x": 2.75,
"y": 2
},
{
"x": 3.75,
"y": 2
},
{
"x": 4.75,
"y": 2
},
{
"x": 5.75,
"y": 2
},
{
"x": 6.75,
"y": 2
},
{
"x": 7.75,
"y": 2
},
{
"x": 8.75,
"y": 2
},
{
"x": 9.75,
"y": 2
},
{
"x": 10.75,
"y": 2
},
{
"x": 11.75,
"y": 2
},
{
"x": 12.75,
"y": 2,
"w": 2.25
},
{
"x": 0,
"y": 3,
"w": 1.25
},
{
"x": 1.25,
"y": 3
},
{
"x": 2.25,
"y": 3
},
{
"x": 3.25,
"y": 3
},
{
"x": 4.25,
"y": 3
},
{
"x": 5.25,
"y": 3
},
{
"x": 6.25,
"y": 3
},
{
"x": 7.25,
"y": 3
},
{
"x": 8.25,
"y": 3
},
{
"x": 9.25,
"y": 3
},
{
"x": 10.25,
"y": 3
},
{
"x": 11.25,
"y": 3
},
{
"x": 12.25,
"y": 3,
"w": 1.75
},
{
"x": 14,
"y": 3
},
{
"x": 0,
"y": 4,
"w": 1.25
},
{
"x": 1.25,
"y": 4,
"w": 1.25
},
{
"x": 2.5,
"y": 4,
"w": 1.25
},
{
"x": 4,
"y": 4,
"w": 2.75
},
{
"x": 6.75,
"y": 4,
"w": 1.5
},
{
"x": 8.25,
"y": 4,
"w": 2.75
},
{
"x": 10,
"y": 4,
"w": 1.25
},
{
"x": 11.25,
"y": 4,
"w": 1.25
},
{
"x": 12.5,
"y": 4,
"w": 1.25
},
{
"x": 13.75,
"y": 4,
"w": 1.25
}
]
}
}
}
Aeonstrife marked this conversation as resolved.
Show resolved Hide resolved
37 changes: 37 additions & 0 deletions keyboards/buildakb/mw60/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/* Copyright 2023 Maelkk
*
* 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

enum layer_names {
_BASE,
_FN
};

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_BASE] = LAYOUT(
Aeonstrife marked this conversation as resolved.
Show resolved Hide resolved
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_BSLS, KC_BSPC,
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_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_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1),
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, MO(1), KC_RGUI, KC_RCTL),
[_FN] = LAYOUT(
Aeonstrife marked this conversation as resolved.
Show resolved Hide resolved
KC_TRNS, 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_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, QK_BOOT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS)
};
3 changes: 3 additions & 0 deletions keyboards/buildakb/mw60/keymaps/default/readme.md
Aeonstrife marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Default MW60 Hotswap Layout

This is the default layout for the MW60 PCB. Largely based on the H60 layout.
Loading