add mkbd65

This commit is contained in:
Ricardo (XenGi) Band 2025-11-16 10:57:25 +01:00
commit ee55271bb0
No known key found for this signature in database
19 changed files with 779 additions and 0 deletions

View file

@ -0,0 +1,41 @@
![mkbd65](https://gitlab.com/mkbd65/qmk-firmware/-/raw/mkbd65/keyboards/mkbd65/mkbd65.png?inline=false)
# mkbd65
A mobile keyboard addon for modern smartphones.
- Keyboard Maintainer: [XenGi](https://xengi.de)
- Hardware Supported: [mkbd65 PCB](https://gitlab.com/mkbd65/pcb)
- Hardware Availability: -
Flashing this keyboard with `en-us-intl` layout (after setting up your build environment):
```
qmk flash -kb mkbd65:rev1 -km en-us-intl
```
Available layouts:
- en-us-intl (ansi)
- de (iso)
You can find community provided layouts here: https://gitlab.com/mkbd65/community
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).
---
Copyright 2023 XenGi mkbd65@xengi.de @XenGi
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/>.

12
keyboards/mkbd65/config.h Normal file
View file

@ -0,0 +1,12 @@
// Copyright 2023 XenGi
// SPDX-License-Identifier: GPL-2.0-or-later
// optimize firmware
#undef LOCKING_SUPPORT_ENABLE
#undef LOCKING_RESYNC_ENABLE
#define LAYER_STATE_8BIT
// disable features to save on code size
#define NO_ACTION_TAPPING
#define NO_ACTION_ONESHOT

View file

@ -0,0 +1,59 @@
# The English US International keymap for mkbd65 rev0 by XenGi
This is the default layout for the mkbd65 keyboard. You can use it as a reference for other layouts.
It is based on the "English (intl., with AltGr dead keys)" layout.
This is the key matrix (no label means the key from layer 0 will be used):
```
0: no mod
╔════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦═════════╗
║ Esc║ 1 ║ 2 ║ 3 ║ 4 ║ 5 ║ 6 ║ 7 ║ 8 ║ 9 ║ 0 ║Backspace║
╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╦════╣
║ q ║ w ║ e ║ r ║ t ║ y ║ u ║ i ║ o ║ p ║ [ ║ ] ║ \ ║
╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╩════╣
║ a ║ s ║ d ║ f ║ g ║ h ║ j ║ k ║ l ║ ; ║ ' ║ Return ║
╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬═════════╣
║ z ║ x ║ c ║ v ║ b ║ n ║ m ║ , ║ . ║ / ║ ▲ ║ Shift ║
╠════╬════╬════╬════╬════╩════╩════╬════╬════╬════╬════╬════╦════╣
║Ctrl║ Fn ║Shft║AltG║ Space ║ - ║ = ║ ◀ ║ ▼ ║ ▶ ║Ctrl║
╚════╩════╩════╩════╩══════════════╩════╩════╩════╩════╩════╩════╝
1: mod shift
╔════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦═════════╗
║ ~ ║ ! ║ @ ║ # ║ $ ║ % ║ ^ ║ & ║ * ║ ( ║ ) ║ ║
╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╦════╣
║ Q ║ W ║ E ║ R ║ T ║ Y ║ U ║ I ║ O ║ P ║ { ║ } ║ | ║
╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╩════╣
║ A ║ S ║ D ║ F ║ G ║ H ║ J ║ K ║ L ║ : ║ " ║ ║
╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬═════════╣
║ Z ║ X ║ C ║ V ║ B ║ N ║ M ║ < ║ > ║ ? ║ ║░░░░░░░░░║
╠════╬════╬════╬════╬════╩════╩════╬════╬════╬════╬════╬════╦════╣
║ ║ ║░░░░║ ║ ║ _ ║ + ║ ║ ║ ║ ║
╚════╩════╩════╩════╩══════════════╩════╩════╩════╩════╩════╩════╝
2: mod altgr
╔════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦═════════╗
║ ║ ¹ ║ ² ║ ³ ║ ║ € ║ ║ ║ ║ ║ ║ ║
╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╦════╣
║ ä ║ ║ ║ ║ ║ ü ║ ║ ║ ║ ö ║ « ║ » ║ ¬ ║
╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╩════╣
║ ║ ß ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║
╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬═════════╣
║ ║ ║ ║ ║ ║ ║ µ ║ ║ ║ ¿ ║ ║ ║
╠════╬════╬════╬════╬════╩════╩════╬════╬════╬════╬════╬════╦════╣
║ ║ ║ ║░░░░║ ║ ║ ║ ║ ║ ║ ║
╚════╩════╩════╩════╩══════════════╩════╩════╩════╩════╩════╩════╝
3: mod fn
╔════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦═════════╗
║ Esc║ F1 ║ F2 ║ F3 ║ F4 ║ F5 ║ F6 ║ F7 ║ F8 ║ F9 ║ F10║ Delete ║
╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╦════╣
║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ F11║ F12║ ║
╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╩════╣
║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ` ║ Super ║
╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬═════════╣
║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║PgUp║ ║
╠════╬════╬════╬════╬════╩════╩════╬════╬════╬════╬════╬════╦════╣
║ ║░░░░║ ║ ║ Tab ║ ║ ║Pos1║PgDn║ End║ ║
╚════╩════╩════╩════╩══════════════╩════╩════╩════╩════╩════╩════╝
```

View file

@ -0,0 +1,23 @@
// Copyright 2023 XenGi (@XenGi)
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
#include "quantum.h"
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_ansi( /* Base layer */
QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
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_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_UP, KC_RSFT,
KC_LCTL, MO(1), KC_LSFT, OSM(MOD_RALT), KC_SPC, KC_MINS, KC_EQL, KC_LEFT, KC_DOWN, KC_RGHT, KC_RCTL
),
[1] = LAYOUT_ansi( /* Function layer */
QK_BOOT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_DEL,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_F11, KC_F12, KC_APP,
_______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, KC_MSTP, KC_GRV, KC_LGUI,
_______, _______, _______, _______, _______, _______, _______, KC_VOLD, KC_VOLU, KC_MUTE, KC_PGUP, _______,
_______, _______, _______, _______, KC_TAB, _______, _______, KC_HOME, KC_PGDN, KC_END, _______
)
};

View file

@ -0,0 +1,55 @@
# The iso-like keymap for mkbd65 rev0
It's actually just ANSI but with an upright `Enter` key.
```
0: no mod
╔════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦═════════╗
║ Esc║ 1 ║ 2 ║ 3 ║ 4 ║ 5 ║ 6 ║ 7 ║ 8 ║ 9 ║ 0 ║Backspace║
╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╦════╣
║ q ║ w ║ e ║ r ║ t ║ y ║ u ║ i ║ o ║ p ║ [ ║ ] ║ ║
╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╣ Ret║
║ a ║ s ║ d ║ f ║ g ║ h ║ j ║ k ║ l ║ ; ║ ' ║ \ ║ ║
╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╩════╣
║ z ║ x ║ c ║ v ║ b ║ n ║ m ║ , ║ . ║ / ║ ▲ ║ Shift ║
╠════╬════╬════╬════╬════╩════╩════╬════╬════╬════╬════╬════╦════╣
║Ctrl║ Fn ║Shft║AltG║ SPACE ║ - ║ = ║ ◀ ║ ▼ ║ ▶ ║Ctrl║
╚════╩════╩════╩════╩══════════════╩════╩════╩════╩════╩════╩════╝
1: mod shift
╔════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦═════════╗
║ ~ ║ ! ║ @ ║ # ║ $ ║ % ║ ^ ║ & ║ * ║ ( ║ ) ║Backspace║
╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╦════╣
║ Q ║ W ║ E ║ R ║ T ║ Y ║ U ║ I ║ O ║ P ║ { ║ } ║ ║
╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╣ Ret║
║ A ║ S ║ D ║ F ║ G ║ H ║ J ║ K ║ L ║ : ║ " ║ | ║ ║
╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╩════╣
║ Z ║ X ║ C ║ V ║ B ║ N ║ M ║ < ║ > ║ ? ║ ▲ ║░░░░░░░░░║
╠════╬════╬════╬════╬════╩════╩════╬════╬════╬════╬════╬════╦════╣
║Ctrl║ Fn ║░░░░║AltG║ SPACE ║ _ ║ + ║ ◀ ║ ▼ ║ ▶ ║Ctrl║
╚════╩════╩════╩════╩══════════════╩════╩════╩════╩════╩════╩════╝
2: mod alt
╔════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦═════════╗
║ ║ ¹ ║ ² ║ ³ ║ ║ € ║ ║ ║ ║ ║ ║Backspace║
╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╦════╣
║ ä ║ ║ ║ ║ ║ ü ║ ║ ║ ║ ö ║ « ║ » ║ ║
╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╣ Ret║
║ ║ ß ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ¬ ║ ║
╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╩════╣
║ ║ ║ ║ ║ ║ ║ µ ║ ║ ║ ¿ ║ ▲ ║ Shift ║
╠════╬════╬════╬════╬════╩════╩════╬════╬════╬════╬════╬════╦════╣
║Ctrl║ Fn ║Shft║░░░░║ SPACE ║ ║ ║ ◀ ║ ▼ ║ ▶ ║Ctrl║
╚════╩════╩════╩════╩══════════════╩════╩════╩════╩════╩════╩════╝
3: mod fn
╔════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦═════════╗
║ Esc║ F1 ║ F2 ║ F3 ║ F4 ║ F5 ║ F6 ║ F7 ║ F8 ║ F9 ║ F10║ Delete ║
╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╦════╣
║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ F11║ F12║ ║
╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╣Supr║
║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║
╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╩════╣
║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║PgUp║ Shift ║
╠════╬════╬════╬════╬════╩════╩════╬════╬════╬════╬════╬════╦════╣
║Ctrl║░░░░║Shft║AltG║ Tab ║ ║ ` ║Pos1║PgDn║ End║Ctrl║
╚════╩════╩════╩════╩══════════════╩════╩════╩════╩════╩════╩════╝
```

View file

@ -0,0 +1,22 @@
// Copyright 2023 XenGi (@XenGi)
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_iso( /* Base layer */
QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
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_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT,
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_UP, KC_RSFT,
KC_LCTL, MO(1), KC_LSFT, OSM(MOD_RALT), KC_SPC, KC_MINS, KC_EQL, KC_LEFT, KC_DOWN, KC_RGHT, KC_RCTL
),
[1] = LAYOUT_iso( /* Function layer */
QK_BOOT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_DEL,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_F11, KC_F12,
_______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, KC_MSTP, KC_GRV, KC_APP, KC_LGUI,
_______, _______, _______, _______, _______, _______, _______, KC_VOLD, KC_VOLU, KC_MUTE, KC_PGUP, _______,
_______, _______, _______, _______, KC_TAB, _______, _______, KC_HOME, KC_PGDN, KC_END, _______
),
};

View file

@ -0,0 +1,9 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
#pragma once
#define VIAL_KEYBOARD_UID {0x5D, 0x8F, 0x39, 0xCE, 0xCD, 0x38, 0x3D, 0x2D}
#define VIAL_UNLOCK_COMBO_ROWS { 0, 0 }
#define VIAL_UNLOCK_COMBO_COLS { 0, 11 }

View file

@ -0,0 +1,23 @@
// Copyright 2023 XenGi (@XenGi)
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
#include "quantum.h"
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_ansi( /* Base layer */
QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
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_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_UP, KC_RSFT,
KC_LCTL, MO(1), KC_LSFT, OSM(MOD_RALT), KC_SPC, KC_MINS, KC_EQL, KC_LEFT, KC_DOWN, KC_RGHT, KC_RCTL
),
[1] = LAYOUT_ansi( /* Function layer */
QK_BOOT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_DEL,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_F11, KC_F12, KC_APP,
_______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, KC_MSTP, KC_GRV, KC_LGUI,
_______, _______, _______, _______, _______, _______, _______, KC_VOLD, KC_VOLU, KC_MUTE, KC_PGUP, _______,
_______, _______, _______, _______, KC_TAB, _______, _______, KC_HOME, KC_PGDN, KC_END, _______
)
};

View file

@ -0,0 +1,4 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes
ACTION_TAPPING_ENABLE = yes

View file

@ -0,0 +1,21 @@
{
"lighting": "none",
"name": "mkbd65",
"vendorId": "0x4803",
"productId": "0x1209",
"matrix": {
"rows": 5,
"cols": 13
},
"layouts": {
"keymap": [
["0,0","0,1","0,2","0,3","0,4","0,5","0,6","0,7","0,8","0,9","0,10",{"w":2},"0,11"],
["1,0","1,1","1,2","1,3","1,4","1,5","1,6","1,7","1,8","1,9","1,10","1,11","1,12"],
["2,0","2,1","2,2","2,3","2,4","2,5","2,6","2,7","2,8","2,9","2,10",{"w":2},"2,11"],
["3,0","3,1","3,2","3,3","3,4","3,5","3,6","3,7","3,8","3,9","3,10",{"w":2},"3,11"],
["4,0","4,1","4,2","4,3",{"w":3},"4,4","4,7","4,8","4,9","4,10","4,11","4,12"]
]
}
}

View file

@ -0,0 +1,174 @@
{
"manufacturer": "XenGi",
"keyboard_name": "mkbd65",
"maintainer": "XenGi",
"bootloader": "atmel-dfu",
"bootloader_instructions": "Press the button marked RESET on the back of the PCB",
"bootmagic": {
"enabled": true,
"matrix": [0, 0]
},
"build": {
"lto": true
},
"debounce": 5,
"diode_direction": "ROW2COL",
"encoder": {
"enabled": false
},
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true,
"rgb_matrix": false,
"rgblight": false
},
"matrix_pins": {
"cols": ["D4", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0"],
"rows": ["D5", "D3", "D2", "D1", "D0"]
},
"processor": "atmega32u4",
"split": {
"enabled": false
},
"tags": ["mobile", "65%"],
"url": "https://mkbd65.xengi.de",
"usb": {
"device_version": "0.0.1",
"pid": "0x4803",
"vid": "0x1209"
},
"layouts": {
"LAYOUT_ansi": {
"layout": [
{"label": "Esc", "matrix": [0, 0], "x": 0, "y": 0},
{"label": "1", "matrix": [0, 1], "x": 1, "y": 0},
{"label": "2", "matrix": [0, 2], "x": 2, "y": 0},
{"label": "3", "matrix": [0, 3], "x": 3, "y": 0},
{"label": "4", "matrix": [0, 4], "x": 4, "y": 0},
{"label": "5", "matrix": [0, 5], "x": 5, "y": 0},
{"label": "6", "matrix": [0, 6], "x": 6, "y": 0},
{"label": "7", "matrix": [0, 7], "x": 7, "y": 0},
{"label": "8", "matrix": [0, 8], "x": 8, "y": 0},
{"label": "9", "matrix": [0, 9], "x": 9, "y": 0},
{"label": "0", "matrix": [0, 10], "x": 10, "y": 0},
{"label": "Backspace", "matrix": [0, 11], "x": 11, "y": 0, "w": 2},
{"label": "Q", "matrix": [1, 0], "x": 1, "y": 0},
{"label": "W", "matrix": [1, 1], "x": 1, "y": 1},
{"label": "E", "matrix": [1, 2], "x": 1, "y": 2},
{"label": "R", "matrix": [1, 3], "x": 1, "y": 3},
{"label": "T", "matrix": [1, 4], "x": 1, "y": 4},
{"label": "Y", "matrix": [1, 5], "x": 1, "y": 5},
{"label": "U", "matrix": [1, 6], "x": 1, "y": 6},
{"label": "I", "matrix": [1, 7], "x": 1, "y": 7},
{"label": "O", "matrix": [1, 8], "x": 1, "y": 8},
{"label": "P", "matrix": [1, 9], "x": 1, "y": 9},
{"label": "[", "matrix": [1, 10], "x": 1, "y": 10},
{"label": "]", "matrix": [1, 11], "x": 1, "y": 11},
{"label": "\\", "matrix": [1, 12], "x": 1, "y": 12},
{"label": "A", "matrix": [2, 0], "x": 2, "y": 0},
{"label": "S", "matrix": [2, 1], "x": 2, "y": 1},
{"label": "D", "matrix": [2, 2], "x": 2, "y": 2},
{"label": "F", "matrix": [2, 3], "x": 2, "y": 3},
{"label": "G", "matrix": [2, 4], "x": 2, "y": 4},
{"label": "H", "matrix": [2, 5], "x": 2, "y": 5},
{"label": "J", "matrix": [2, 6], "x": 2, "y": 6},
{"label": "K", "matrix": [2, 7], "x": 2, "y": 7},
{"label": "L", "matrix": [2, 8], "x": 2, "y": 8},
{"label": ";", "matrix": [2, 9], "x": 2, "y": 9},
{"label": "'", "matrix": [2, 10], "x": 2, "y": 10},
{"label": "Enter", "matrix": [2, 11], "x": 2, "y": 11, "w": 2},
{"label": "Z", "matrix": [3, 0], "x": 3, "y": 0},
{"label": "X", "matrix": [3, 1], "x": 3, "y": 1},
{"label": "C", "matrix": [3, 2], "x": 3, "y": 2},
{"label": "V", "matrix": [3, 3], "x": 3, "y": 3},
{"label": "B", "matrix": [3, 4], "x": 3, "y": 4},
{"label": "N", "matrix": [3, 5], "x": 3, "y": 5},
{"label": "M", "matrix": [3, 6], "x": 3, "y": 6},
{"label": ",", "matrix": [3, 7], "x": 3, "y": 7},
{"label": ".", "matrix": [3, 8], "x": 3, "y": 8},
{"label": "/", "matrix": [3, 9], "x": 3, "y": 9},
{"label": "Up", "matrix": [3, 10], "x": 3, "y": 10},
{"label": "ShiftR", "matrix": [3, 11], "x": 3, "y": 11, "w": 2},
{"label": "CtrlL", "matrix": [4, 0], "x": 4, "y": 0},
{"label": "Fn", "matrix": [4, 1], "x": 4, "y": 1},
{"label": "ShiftL", "matrix": [4, 2], "x": 4, "y": 2},
{"label": "Alt", "matrix": [4, 3], "x": 4, "y": 3},
{"label": "Space", "matrix": [4, 4], "x": 4, "y": 4, "w": 3},
{"label": "-", "matrix": [4, 7], "x": 4, "y": 7},
{"label": "=", "matrix": [4, 8], "x": 4, "y": 8},
{"label": "Left", "matrix": [4, 9], "x": 4, "y": 9},
{"label": "Down", "matrix": [4, 10], "x": 4, "y": 10},
{"label": "Right", "matrix": [4, 11], "x": 4, "y": 11},
{"label": "CtrlR", "matrix": [4, 12], "x": 4, "y": 12}
]
},
"LAYOUT_iso": {
"layout": [
{"label": "Esc", "matrix": [0, 0], "x": 0, "y": 0},
{"label": "1", "matrix": [0, 1], "x": 1, "y": 0},
{"label": "2", "matrix": [0, 2], "x": 2, "y": 0},
{"label": "3", "matrix": [0, 3], "x": 3, "y": 0},
{"label": "4", "matrix": [0, 4], "x": 4, "y": 0},
{"label": "5", "matrix": [0, 5], "x": 5, "y": 0},
{"label": "6", "matrix": [0, 6], "x": 6, "y": 0},
{"label": "7", "matrix": [0, 7], "x": 7, "y": 0},
{"label": "8", "matrix": [0, 8], "x": 8, "y": 0},
{"label": "9", "matrix": [0, 9], "x": 9, "y": 0},
{"label": "0", "matrix": [0, 10], "x": 10, "y": 0},
{"label": "Backspace", "matrix": [0, 11], "x": 11, "y": 0, "w": 2},
{"label": "Q", "matrix": [1, 0], "x": 1, "y": 0},
{"label": "W", "matrix": [1, 1], "x": 1, "y": 1},
{"label": "E", "matrix": [1, 2], "x": 1, "y": 2},
{"label": "R", "matrix": [1, 3], "x": 1, "y": 3},
{"label": "T", "matrix": [1, 4], "x": 1, "y": 4},
{"label": "Y", "matrix": [1, 5], "x": 1, "y": 5},
{"label": "U", "matrix": [1, 6], "x": 1, "y": 6},
{"label": "I", "matrix": [1, 7], "x": 1, "y": 7},
{"label": "O", "matrix": [1, 8], "x": 1, "y": 8},
{"label": "P", "matrix": [1, 9], "x": 1, "y": 9},
{"label": "[", "matrix": [1, 10], "x": 1, "y": 10},
{"label": "]", "matrix": [1, 11], "x": 1, "y": 11},
{"label": "A", "matrix": [2, 0], "x": 2, "y": 0},
{"label": "S", "matrix": [2, 1], "x": 2, "y": 1},
{"label": "D", "matrix": [2, 2], "x": 2, "y": 2},
{"label": "F", "matrix": [2, 3], "x": 2, "y": 3},
{"label": "G", "matrix": [2, 4], "x": 2, "y": 4},
{"label": "H", "matrix": [2, 5], "x": 2, "y": 5},
{"label": "J", "matrix": [2, 6], "x": 2, "y": 6},
{"label": "K", "matrix": [2, 7], "x": 2, "y": 7},
{"label": "L", "matrix": [2, 8], "x": 2, "y": 8},
{"label": ";", "matrix": [2, 9], "x": 2, "y": 9},
{"label": "'", "matrix": [2, 10], "x": 2, "y": 10},
{"label": "\\", "matrix": [2, 11], "x": 2, "y": 11},
{"label": "Enter", "matrix": [1, 12], "x": 1, "y": 12, "h": 2},
{"label": "Z", "matrix": [3, 0], "x": 3, "y": 0},
{"label": "X", "matrix": [3, 1], "x": 3, "y": 1},
{"label": "C", "matrix": [3, 2], "x": 3, "y": 2},
{"label": "V", "matrix": [3, 3], "x": 3, "y": 3},
{"label": "B", "matrix": [3, 4], "x": 3, "y": 4},
{"label": "N", "matrix": [3, 5], "x": 3, "y": 5},
{"label": "M", "matrix": [3, 6], "x": 3, "y": 6},
{"label": ",", "matrix": [3, 7], "x": 3, "y": 7},
{"label": ".", "matrix": [3, 8], "x": 3, "y": 8},
{"label": "/", "matrix": [3, 9], "x": 3, "y": 9},
{"label": "Up", "matrix": [3, 10], "x": 3, "y": 10},
{"label": "ShiftR", "matrix": [3, 11], "x": 3, "y": 11, "w": 2},
{"label": "CtrlL", "matrix": [4, 0], "x": 4, "y": 0},
{"label": "Fn", "matrix": [4, 1], "x": 4, "y": 1},
{"label": "ShiftL", "matrix": [4, 2], "x": 4, "y": 2},
{"label": "Alt", "matrix": [4, 3], "x": 4, "y": 3},
{"label": "Space", "matrix": [4, 4], "x": 4, "y": 4, "w": 3},
{"label": "-", "matrix": [4, 7], "x": 4, "y": 7},
{"label": "=", "matrix": [4, 8], "x": 4, "y": 8},
{"label": "Left", "matrix": [4, 9], "x": 4, "y": 9},
{"label": "Down", "matrix": [4, 10], "x": 4, "y": 10},
{"label": "Right", "matrix": [4, 11], "x": 4, "y": 11},
{"label": "CtrlR", "matrix": [4, 12], "x": 4, "y": 12}
]
}
}
}

View file

@ -0,0 +1,6 @@
// Copyright 2023 XenGi (@XenGi)
// SPDX-License-Identifier: GPL-2.0-or-later
#include "mkbd65.h"
#include "quantum.h"

View file

@ -0,0 +1,70 @@
// Copyright 2023 XenGi (@XenGi)
// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef MKBD65_H
#define MKBD65_H
/* LAYOUT_ansi
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
* │ │ │ │ │ │ │ │ │ │ │ │ 2.0U │
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┬───┤
* │ │ │ │ │ │ │ │ │ │ │ │ │ │
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┴───┤
* │ │ │ │ │ │ │ │ │ │ │ │ 2.0U │
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───────┤
* │ │ │ │ │ │ │ │ │ │ │ │ 2.0U │
* ├───┼───┼───┼───┼───┴───┴───┼───┼───┼───┼───┼───┬───┤
* │ │ │ │ │ 3.0U │ │ │ │ │ │ │
* └───┴───┴───┴───┴───────────┴───┴───┴───┴───┴───┴───┘
* This is a shortcut to help you visually see your layout.
*
* The first section contains all of the arguments representing the physical
* layout of the board and position of the keys.
*
* The second converts the arguments into a two-dimensional array which
* represents the switch matrix.
*/
#define LAYOUT_ansi( \
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K010, K011, \
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K110, K111, K112, \
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K210, K211, \
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K310, K311, \
K40, K41, K42, K43, K44, K47, K48, K49, K410, K411, K412 \
) \
{ \
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K010, K011, KC_NO }, \
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K110, K111, K112 }, \
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K210, K211, KC_NO }, \
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K310, K311, KC_NO }, \
{ K40, K41, K42, K43, K44, KC_NO, KC_NO, K47, K48, K49, K410, K411, K412 } \
}
/* LAYOUT_iso
* ╔═══╤═══╤═══╤═══╤═══╤═══╤═══╤═══╤═══╤═══╤═══╤═══════╗
* ║ │ │ │ │ │ │ │ │ │ │ │ 2.0U ║
* ╟───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┬───╢
* ║ │ │ │ │ │ │ │ │ │ │ │ │ ║
* ╟───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ ║
* ║ │ │ │ │ │ │ │ │ │ │ │ │ ║
* ╟───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┴───╢
* ║ │ │ │ │ │ │ │ │ │ │ │ 2.0U ║
* ╟───┼───┼───┼───┼───┴───┴───┼───┼───┼───┼───┼───┬───╢
* ║ │ │ │ │ 3.0U │ │ │ │ │ │ ║
* ╚═══╧═══╧═══╧═══╧═══════════╧═══╧═══╧═══╧═══╧═══╧═══╝
*/
#define LAYOUT_iso( \
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K010, K011, \
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K110, K111, \
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K210, K211, K212, \
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K310, K311, \
K40, K41, K42, K43, K44, K47, K48, K49, K410, K411, K412 \
) \
{ \
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K010, K011, KC_NO }, \
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K110, K111, KC_NO }, \
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K210, K211, K212 }, \
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K310, K311, KC_NO }, \
{ K40, K41, K42, K43, K44, KC_NO, KC_NO, K47, K48, K49, K410, K411, K412 } \
}
#endif

View file

@ -0,0 +1,4 @@
F_CPU = 16000000
ARCH = AVR8
F_USB = $(F_CPU)
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT

View file

@ -0,0 +1,187 @@
{
"manufacturer": "XenGi",
"keyboard_name": "mkbd65",
"maintainer": "XenGi",
"bootloader": "atmel-dfu",
"diode_direction": "ROW2COL",
"debounce": 5,
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true,
"rgb_matrix": false,
"rgblight": false
},
"bootmagic": {
"enabled": true,
"matrix": [0, 0]
},
"matrix_pins": {
"cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "B2", "B10", "B11"],
"rows": ["B12", "B13", "B14", "B15", "A8"]
},
"processor": "atmega32u4",
"url": "https://mkbd65.xengi.de",
"bootloader_instructions": "Press the button marked RESET on the back of the PCB",
"tags": ["mobile", "65%"],
"usb": {
"device_version": "1.0.0",
"pid": "0x4803",
"vid": "0x1209"
},
"build": {
"lto": true
},
"layouts": {
"LAYOUT_ansi": {
"layout": [
{ "matrix": [0, 0], "x": 0, "y": 0, "label": "Esc" },
{ "matrix": [0, 1], "x": 1, "y": 0, "label": "1" },
{ "matrix": [0, 2], "x": 2, "y": 0, "label": "2" },
{ "matrix": [0, 3], "x": 3, "y": 0, "label": "3" },
{ "matrix": [0, 4], "x": 4, "y": 0, "label": "4" },
{ "matrix": [0, 5], "x": 5, "y": 0, "label": "5" },
{ "matrix": [0, 6], "x": 6, "y": 0, "label": "6" },
{ "matrix": [0, 7], "x": 7, "y": 0, "label": "7" },
{ "matrix": [0, 8], "x": 8, "y": 0, "label": "8" },
{ "matrix": [0, 9], "x": 9, "y": 0, "label": "9" },
{ "matrix": [0, 10], "x": 10, "y": 0, "label": "0" },
{ "matrix": [0, 11], "x": 11, "y": 0, "label": "Backspace" },
{ "matrix": [0, 12], "x": 12, "y": 0, "label": "Backspace" },
{ "matrix": [1, 0], "x": 1, "y": 0, "label": "Q" },
{ "matrix": [1, 1], "x": 1, "y": 1, "label": "W" },
{ "matrix": [1, 2], "x": 1, "y": 2, "label": "E" },
{ "matrix": [1, 3], "x": 1, "y": 3, "label": "R" },
{ "matrix": [1, 4], "x": 1, "y": 4, "label": "T" },
{ "matrix": [1, 5], "x": 1, "y": 5, "label": "Y" },
{ "matrix": [1, 6], "x": 1, "y": 6, "label": "U" },
{ "matrix": [1, 7], "x": 1, "y": 7, "label": "I" },
{ "matrix": [1, 8], "x": 1, "y": 8, "label": "O" },
{ "matrix": [1, 9], "x": 1, "y": 9, "label": "P" },
{ "matrix": [1, 10], "x": 1, "y": 10, "label": "[" },
{ "matrix": [1, 11], "x": 1, "y": 11, "label": "]" },
{ "matrix": [1, 12], "x": 1, "y": 12, "label": "\\" },
{ "matrix": [2, 0], "x": 2, "y": 0, "label": "A" },
{ "matrix": [2, 1], "x": 2, "y": 1, "label": "S" },
{ "matrix": [2, 2], "x": 2, "y": 2, "label": "D" },
{ "matrix": [2, 3], "x": 2, "y": 3, "label": "F" },
{ "matrix": [2, 4], "x": 2, "y": 4, "label": "G" },
{ "matrix": [2, 5], "x": 2, "y": 5, "label": "H" },
{ "matrix": [2, 6], "x": 2, "y": 6, "label": "J" },
{ "matrix": [2, 7], "x": 2, "y": 7, "label": "K" },
{ "matrix": [2, 8], "x": 2, "y": 8, "label": "L" },
{ "matrix": [2, 9], "x": 2, "y": 9, "label": ";" },
{ "matrix": [2, 10], "x": 2, "y": 10, "label": "'" },
{ "matrix": [2, 11], "x": 2, "y": 11, "label": "Enter" },
{ "matrix": [2, 12], "x": 2, "y": 12, "label": "Enter" },
{ "matrix": [3, 0], "x": 3, "y": 0, "label": "Z" },
{ "matrix": [3, 1], "x": 3, "y": 1, "label": "X" },
{ "matrix": [3, 2], "x": 3, "y": 2, "label": "C" },
{ "matrix": [3, 3], "x": 3, "y": 3, "label": "V" },
{ "matrix": [3, 4], "x": 3, "y": 4, "label": "B" },
{ "matrix": [3, 5], "x": 3, "y": 5, "label": "N" },
{ "matrix": [3, 6], "x": 3, "y": 6, "label": "M" },
{ "matrix": [3, 7], "x": 3, "y": 7, "label": "," },
{ "matrix": [3, 8], "x": 3, "y": 8, "label": "." },
{ "matrix": [3, 9], "x": 3, "y": 9, "label": "/" },
{ "matrix": [3, 10], "x": 3, "y": 10, "label": "Up" },
{ "matrix": [3, 11], "x": 3, "y": 11, "w": 2, "label": "RShift" },
{ "matrix": [3, 12], "x": 3, "y": 11, "w": 2, "label": "RShift" },
{ "matrix": [4, 0], "x": 4, "y": 0, "label": "LCtrl" },
{ "matrix": [4, 1], "x": 4, "y": 1, "label": "Fn" },
{ "matrix": [4, 2], "x": 4, "y": 2, "label": "LShift" },
{ "matrix": [4, 3], "x": 4, "y": 3, "label": "Alt" },
{ "matrix": [4, 4], "x": 4, "y": 4, "label": "Space" },
{ "matrix": [4, 5], "x": 4, "y": 5, "label": "Space" },
{ "matrix": [4, 6], "x": 4, "y": 6, "label": "Space" },
{ "matrix": [4, 7], "x": 4, "y": 7, "label": "-" },
{ "matrix": [4, 8], "x": 4, "y": 8, "label": "=" },
{ "matrix": [4, 9], "x": 4, "y": 9, "label": "Left" },
{ "matrix": [4, 10], "x": 4, "y": 10, "label": "Down" },
{ "matrix": [4, 11], "x": 4, "y": 11, "label": "Right" },
{ "matrix": [4, 12], "x": 4, "y": 12, "label": "RCtrl" }
]
},
"LAYOUT_iso": {
"layout": [
{ "matrix": [0, 0], "x": 0, "y": 0, "label": "Esc" },
{ "matrix": [0, 1], "x": 1, "y": 0, "label": "1" },
{ "matrix": [0, 2], "x": 2, "y": 0, "label": "2" },
{ "matrix": [0, 3], "x": 3, "y": 0, "label": "3" },
{ "matrix": [0, 4], "x": 4, "y": 0, "label": "4" },
{ "matrix": [0, 5], "x": 5, "y": 0, "label": "5" },
{ "matrix": [0, 6], "x": 6, "y": 0, "label": "6" },
{ "matrix": [0, 7], "x": 7, "y": 0, "label": "7" },
{ "matrix": [0, 8], "x": 8, "y": 0, "label": "8" },
{ "matrix": [0, 9], "x": 9, "y": 0, "label": "9" },
{ "matrix": [0, 10], "x": 10, "y": 0, "label": "0" },
{ "matrix": [0, 11], "x": 11, "y": 0, "label": "Backspace" },
{ "matrix": [0, 12], "x": 12, "y": 0, "label": "Backspace" },
{ "matrix": [1, 0], "x": 1, "y": 0, "label": "Q" },
{ "matrix": [1, 1], "x": 1, "y": 1, "label": "W" },
{ "matrix": [1, 2], "x": 1, "y": 2, "label": "E" },
{ "matrix": [1, 3], "x": 1, "y": 3, "label": "R" },
{ "matrix": [1, 4], "x": 1, "y": 4, "label": "T" },
{ "matrix": [1, 5], "x": 1, "y": 5, "label": "Y" },
{ "matrix": [1, 6], "x": 1, "y": 6, "label": "U" },
{ "matrix": [1, 7], "x": 1, "y": 7, "label": "I" },
{ "matrix": [1, 8], "x": 1, "y": 8, "label": "O" },
{ "matrix": [1, 9], "x": 1, "y": 9, "label": "P" },
{ "matrix": [1, 10], "x": 1, "y": 10, "label": "[" },
{ "matrix": [1, 11], "x": 1, "y": 11, "label": "]" },
{ "matrix": [1, 12], "x": 1, "y": 12, "label": "Enter" },
{ "matrix": [2, 0], "x": 2, "y": 0, "label": "A" },
{ "matrix": [2, 1], "x": 2, "y": 1, "label": "S" },
{ "matrix": [2, 2], "x": 2, "y": 2, "label": "D" },
{ "matrix": [2, 3], "x": 2, "y": 3, "label": "F" },
{ "matrix": [2, 4], "x": 2, "y": 4, "label": "G" },
{ "matrix": [2, 5], "x": 2, "y": 5, "label": "H" },
{ "matrix": [2, 6], "x": 2, "y": 6, "label": "J" },
{ "matrix": [2, 7], "x": 2, "y": 7, "label": "K" },
{ "matrix": [2, 8], "x": 2, "y": 8, "label": "L" },
{ "matrix": [2, 9], "x": 2, "y": 9, "label": ";" },
{ "matrix": [2, 10], "x": 2, "y": 10, "label": "'" },
{ "matrix": [2, 11], "x": 2, "y": 11, "label": "\\" },
{ "matrix": [2, 12], "x": 2, "y": 12, "label": "Enter" },
{ "matrix": [3, 0], "x": 3, "y": 0, "label": "Z" },
{ "matrix": [3, 1], "x": 3, "y": 1, "label": "X" },
{ "matrix": [3, 2], "x": 3, "y": 2, "label": "C" },
{ "matrix": [3, 3], "x": 3, "y": 3, "label": "V" },
{ "matrix": [3, 4], "x": 3, "y": 4, "label": "B" },
{ "matrix": [3, 5], "x": 3, "y": 5, "label": "N" },
{ "matrix": [3, 6], "x": 3, "y": 6, "label": "M" },
{ "matrix": [3, 7], "x": 3, "y": 7, "label": "," },
{ "matrix": [3, 8], "x": 3, "y": 8, "label": "." },
{ "matrix": [3, 9], "x": 3, "y": 9, "label": "/" },
{ "matrix": [3, 10], "x": 3, "y": 10, "label": "Up" },
{ "matrix": [3, 11], "x": 3, "y": 11, "label": "RShift" },
{ "matrix": [3, 12], "x": 3, "y": 12, "label": "RShift" },
{ "matrix": [4, 0], "x": 4, "y": 0, "label": "LCtrl" },
{ "matrix": [4, 1], "x": 4, "y": 1, "label": "Fn" },
{ "matrix": [4, 2], "x": 4, "y": 2, "label": "LShift" },
{ "matrix": [4, 3], "x": 4, "y": 3, "label": "Alt" },
{ "matrix": [4, 4], "x": 4, "y": 4, "label": "Space" },
{ "matrix": [4, 5], "x": 4, "y": 5, "label": "Space" },
{ "matrix": [4, 6], "x": 4, "y": 6, "label": "Space" },
{ "matrix": [4, 7], "x": 4, "y": 7, "label": "-" },
{ "matrix": [4, 8], "x": 4, "y": 8, "label": "=" },
{ "matrix": [4, 9], "x": 4, "y": 9, "label": "Left" },
{ "matrix": [4, 10], "x": 4, "y": 10, "label": "Down" },
{ "matrix": [4, 11], "x": 4, "y": 11, "label": "Right" },
{ "matrix": [4, 12], "x": 4, "y": 12, "label": "RCtrl" }
]
}
}
}

View file

@ -0,0 +1,4 @@
// Copyright 2023 XenGi (@XenGi)
// SPDX-License-Identifier: GPL-2.0-or-later
#include "mkbd65.h"

View file

@ -0,0 +1,44 @@
// Copyright 2023 XenGi (@XenGi)
// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef MKBD65_H
#define MKBD65_H
#include "quantum.h"
/* LAYOUT
* ╔═══╤═══╤═══╤═══╤═══╤═══╤═══╤═══╤═══╤═══╤═══╤═══╤═══╗
* ║ │ │ │ │ │ │ │ │ │ │ │ │ ║
* ╟───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───╢
* ║ │ │ │ │ │ │ │ │ │ │ │ │ ║
* ╟───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───╢
* ║ │ │ │ │ │ │ │ │ │ │ │ │ ║
* ╟───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───╢
* ║ │ │ │ │ │ │ │ │ │ │ │ │ ║
* ╟───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───╢
* ║ │ │ │ │ │ │ │ │ │ │ │ │ ║
* ╚═══╧═══╧═══╧═══╧═══╧═══╧═══╧═══╧═══╧═══╧═══╧═══╧═══╝
* This is a shortcut to help you visually see your layout.
*
* The first section contains all of the arguments representing the physical
* layout of the board and position of the keys.
*
* The second converts the arguments into a two-dimensional array which
* represents the switch matrix.
*/
#define LAYOUT_all( \
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K010, K011, K012, \
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K110, K111, K112, \
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K210, K211, K212, \
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K310, K311, K312, \
K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K410, K411, K412 \
) \
{ \
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K010, K011, K012 }, \
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K110, K111, K112 }, \
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K210, K211, K212 }, \
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K310, K311, K312 }, \
{ K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K410, K411, K412 } \
}
#endif

View file

@ -0,0 +1,2 @@
MCU = STM32F072
BOOTLOADER = stm32-dfu

19
keyboards/mkbd65/rules.mk Normal file
View file

@ -0,0 +1,19 @@
# AVR MCU Options
F_CPU = 16000000
ARCH = AVR8
F_USB = $(F_CPU)
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
# Feature Options
MAGIC_ENABLE = no
AUDIO_ENABLE = no
KEY_OVERRIDE_ENABLE = no
LEADER_ENABLE = no
MIDI_ENABLE = no
UNICODE_ENABLE = no
BLUETOOTH_ENABLE = no
MUSIC_ENABLE = no
SPACE_CADET_ENABLE = no
GRAVE_ESC_ENABLE = yes
AVR_USE_MINIMAL_PRINTF = yes