aboutsummaryrefslogtreecommitdiff
path: root/keyboards/handwired
diff options
context:
space:
mode:
authorBartosz Nowak <bartosz.nowak@vimn.com>2022-01-10 11:31:51 +0100
committerGitHub <noreply@github.com>2022-01-10 02:31:51 -0800
commitd7eb09949d426af891dd9cf85ad789285422490e (patch)
tree17edf63f84cbea74bbb01e4c6d310fa1024c7200 /keyboards/handwired
parentf59cbfb75c0b161187d22d07b58e242ef225611a (diff)
downloadqmk_firmware-d7eb09949d426af891dd9cf85ad789285422490e.tar.gz
qmk_firmware-d7eb09949d426af891dd9cf85ad789285422490e.zip
[Keyboard] Add keymap and settings for dactyl_manuform 6x6_5 thumb (#15526)
* Add dactyl manu 6x6 with stm32 support and 5thumb cluster * Add review changes * Add license to new files * Fix enums for custom keymap * Readme update * Fix readme to follow one from template * Add missing licence to files * Update keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/rules.mk * Update keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/rules.mk * Remove readme from onekey keyboard * Make separate macro for 5thumb
Diffstat (limited to 'keyboards/handwired')
-rw-r--r--keyboards/handwired/dactyl_manuform/6x6/6x6.h23
-rw-r--r--keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/chconf.h22
-rw-r--r--keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/config.h54
-rw-r--r--keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/halconf.h24
-rw-r--r--keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/mcuconf.h22
-rw-r--r--keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/rules.mk30
-rw-r--r--keyboards/handwired/dactyl_manuform/6x6/config.h18
-rw-r--r--keyboards/handwired/dactyl_manuform/6x6/keymaps/default/keymap.c13
-rw-r--r--keyboards/handwired/dactyl_manuform/6x6/keymaps/default_5_thumb/keymap.c51
-rw-r--r--keyboards/handwired/dactyl_manuform/6x6/keymaps/dumam/keymap.c59
-rw-r--r--keyboards/handwired/dactyl_manuform/6x6/promicro/config.h29
-rw-r--r--keyboards/handwired/dactyl_manuform/6x6/promicro/rules.mk8
-rw-r--r--keyboards/handwired/dactyl_manuform/6x6/readme.md63
-rw-r--r--keyboards/handwired/dactyl_manuform/6x6/rules.mk8
14 files changed, 401 insertions, 23 deletions
diff --git a/keyboards/handwired/dactyl_manuform/6x6/6x6.h b/keyboards/handwired/dactyl_manuform/6x6/6x6.h
index 821abe030..097d1095e 100644
--- a/keyboards/handwired/dactyl_manuform/6x6/6x6.h
+++ b/keyboards/handwired/dactyl_manuform/6x6/6x6.h
@@ -31,3 +31,26 @@
31 { R50, R51, R52, R53, XXX, XXX }, \ 31 { R50, R51, R52, R53, XXX, XXX }, \
32 { R60, R61, R62, R63, XXX, XXX } \ 32 { R60, R61, R62, R63, XXX, XXX } \
33} 33}
34
35
36#define LAYOUT_6x6_5_thumb( \
37 L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \
38 L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \
39 L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \
40 L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35, \
41 L40, L41, L42, L43, L44, L45, R40, R41, R42, R43, R44, R45, \
42 L52, L53, R52, R53, \
43 L54, R51, \
44 L64, L65, R60, R61, \
45 L62, L63, R62, R63 \
46) LAYOUT_6x6( \
47 L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \
48 L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \
49 L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \
50 L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35, \
51 L40, L41, L42, L43, L44, L45, R40, R41, R42, R43, R44, R45, \
52 L52, L53, R52, R53, \
53 L54, XXX, XXX, R51, \
54 L64, L65, R60, R61, \
55 L62, L63, R62, R63 \
56)
diff --git a/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/chconf.h b/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/chconf.h
new file mode 100644
index 000000000..f0c98d3b9
--- /dev/null
+++ b/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/chconf.h
@@ -0,0 +1,22 @@
1/* Copyright 2021 QMK
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#define CH_CFG_ST_FREQUENCY 10000
20
21#include_next <chconf.h>
22
diff --git a/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/config.h b/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/config.h
new file mode 100644
index 000000000..93e1ed844
--- /dev/null
+++ b/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/config.h
@@ -0,0 +1,54 @@
1/* Copyright 2021 QMK
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 "config_common.h"
20
21#undef SOFT_SERIAL_PIN
22
23#define MATRIX_ROW_PINS { B12, B13, B14, B15, A8 , A9, A10}
24#define MATRIX_COL_PINS { B1, B0, A7, A6, A5, A4}
25/* COL2ROW, ROW2COL */
26#define DIODE_DIRECTION COL2ROW
27
28#define BOOTMAGIC_LITE_ROW 0
29#define BOOTMAGIC_LITE_COLUMN 0
30#define BOOTMAGIC_LITE_ROW_RIGHT 7
31#define BOOTMAGIC_LITE_COLUMN_RIGHT 0
32
33// in col2row col is input, and row is output
34// #define SPLIT_HAND_MATRIX_GRID A10, A4
35// 68kohm
36#define SPLIT_HAND_PIN B10
37
38/* connection */
39#define SERIAL_USART_FULL_DUPLEX // Enable full duplex operation mode.
40#define SOFT_SERIAL_PIN B6 // USART TX pin
41#define SERIAL_USART_RX_PIN B7 // USART RX pin
42#define SERIAL_USART_TX_PIN SOFT_SERIAL_PIN // USART TX pin
43
44#define SELECT_SOFT_SERIAL_SPEED 1 // or 0, 2, 3, 4, 5
45 // 0: 460800 baud
46 // 1: 230400 baud (default)
47 // 2: 115200 baud
48 // 3: 57600 baud
49 // 4: 38400 baud
50 // 5: 19200 baud
51#define SERIAL_USART_DRIVER SD1 // USART driver of TX and RX pin. default: SD1
52#define SERIAL_USART_TX_PAL_MODE 7 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 7
53#define SERIAL_USART_RX_PAL_MODE 7 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 7
54#define SERIAL_USART_TIMEOUT 20 // USART driver timeout. default 20
diff --git a/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/halconf.h b/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/halconf.h
new file mode 100644
index 000000000..9068139df
--- /dev/null
+++ b/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/halconf.h
@@ -0,0 +1,24 @@
1/* Copyright 2021 QMK
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#define HAL_USE_SERIAL TRUE
20
21#define PAL_USE_CALLBACKS TRUE
22#define PAL_USE_WAIT TRUE
23
24#include_next <halconf.h>
diff --git a/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/mcuconf.h b/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/mcuconf.h
new file mode 100644
index 000000000..b8bb363d9
--- /dev/null
+++ b/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/mcuconf.h
@@ -0,0 +1,22 @@
1/* Copyright 2021 QMK
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 3 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 <https://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include_next "mcuconf.h"
20
21#undef STM32_SERIAL_USE_USART1
22#define STM32_SERIAL_USE_USART1 TRUE
diff --git a/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/rules.mk b/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/rules.mk
new file mode 100644
index 000000000..af3cc4929
--- /dev/null
+++ b/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/rules.mk
@@ -0,0 +1,30 @@
1# Copyright 2021 Bartosz Nowak (@dumam)
2# SPDX-License-Identifier: GPL-2.0-or-later
3
4# MCU name
5MCU = STM32F411
6
7# Bootloader selection
8BOOTLOADER = tinyuf2
9
10# Build Options
11# change yes to no to disable
12#
13BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
14MOUSEKEY_ENABLE = yes # Mouse keys
15EXTRAKEY_ENABLE = yes # Audio control and System control
16CONSOLE_ENABLE = yes # Console for debug
17COMMAND_ENABLE = yes # Commands for debug and configuration
18NKRO_ENABLE = no # Enable N-Key Rollover
19BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
20RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
21AUDIO_ENABLE = no # Audio output
22
23
24# Build Options
25# change yes to no to disable
26#
27SPLIT_KEYBOARD = yes
28# split settings
29# https://beta.docs.qmk.fm/developing-qmk/c-development/hardware_drivers/serial_driver
30SERIAL_DRIVER = usart
diff --git a/keyboards/handwired/dactyl_manuform/6x6/config.h b/keyboards/handwired/dactyl_manuform/6x6/config.h
index 9323e3302..15682fcad 100644
--- a/keyboards/handwired/dactyl_manuform/6x6/config.h
+++ b/keyboards/handwired/dactyl_manuform/6x6/config.h
@@ -20,21 +20,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
20 20
21#include "config_common.h" 21#include "config_common.h"
22 22
23#define PRODUCT_ID 0x3636 23#define PRODUCT_ID 0x3636
24#define DEVICE_VER 0x0001 24#define DEVICE_VER 0x0001
25#define PRODUCT Dactyl-Manuform (6x6) 25#define PRODUCT "Dactyl-Manuform (6x6)"
26
27/* USB Device descriptor parameter */
26 28
27/* key matrix size */ 29/* key matrix size */
28// Rows are doubled-up 30// Rows are doubled-up
29#define MATRIX_ROWS 14 31#define MATRIX_ROWS 14
30#define MATRIX_COLS 6 32#define MATRIX_COLS 6
31
32// wiring of each half
33#define MATRIX_COL_PINS { D4, C6, D7, E6, B4, B5 }
34#define MATRIX_ROW_PINS { F5, F6, F7, B1, B3, B2, B6 }
35
36#define DIODE_DIRECTION COL2ROW
37
38// WS2812 RGB LED strip input and number of LEDs
39#define RGB_DI_PIN D3
40#define RGBLED_NUM 12
diff --git a/keyboards/handwired/dactyl_manuform/6x6/keymaps/default/keymap.c b/keyboards/handwired/dactyl_manuform/6x6/keymaps/default/keymap.c
index 41e96b53d..8c8574698 100644
--- a/keyboards/handwired/dactyl_manuform/6x6/keymaps/default/keymap.c
+++ b/keyboards/handwired/dactyl_manuform/6x6/keymaps/default/keymap.c
@@ -1,8 +1,13 @@
1// Copyright 2021 david@impstyle.com (@zwnk)
2// SPDX-License-Identifier: GPL-2.0-or-later
3
1#include QMK_KEYBOARD_H 4#include QMK_KEYBOARD_H
2 5
3#define _QWERTY 0 6enum custom_layers {
4#define _LOWER 1 7 _QWERTY,
5#define _RAISE 2 8 _LOWER,
9 _RAISE,
10};
6 11
7#define RAISE MO(_RAISE) 12#define RAISE MO(_RAISE)
8#define LOWER MO(_LOWER) 13#define LOWER MO(_LOWER)
@@ -15,7 +20,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
15 KC_LSFT, KC_A , KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K , KC_L ,KC_SCLN,KC_QUOT, 20 KC_LSFT, KC_A , KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K , KC_L ,KC_SCLN,KC_QUOT,
16 KC_LCTL, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M ,KC_COMM,KC_DOT ,KC_SLSH,KC_BSLASH, 21 KC_LCTL, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M ,KC_COMM,KC_DOT ,KC_SLSH,KC_BSLASH,
17 KC_LBRC,KC_RBRC, KC_PLUS, KC_EQL, 22 KC_LBRC,KC_RBRC, KC_PLUS, KC_EQL,
18 RAISE,KC_SPC, KC_ENT, LOWER, 23 RAISE ,KC_SPC, KC_ENT, LOWER,
19 KC_TAB,KC_HOME, KC_END, KC_DEL, 24 KC_TAB,KC_HOME, KC_END, KC_DEL,
20 KC_BSPC, KC_GRV, KC_LGUI, KC_LALT 25 KC_BSPC, KC_GRV, KC_LGUI, KC_LALT
21 ), 26 ),
diff --git a/keyboards/handwired/dactyl_manuform/6x6/keymaps/default_5_thumb/keymap.c b/keyboards/handwired/dactyl_manuform/6x6/keymaps/default_5_thumb/keymap.c
new file mode 100644
index 000000000..b68ec078e
--- /dev/null
+++ b/keyboards/handwired/dactyl_manuform/6x6/keymaps/default_5_thumb/keymap.c
@@ -0,0 +1,51 @@
1// Copyright 2021 Bartosz Nowak (@dumam)
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#include QMK_KEYBOARD_H
5
6enum custom_layers {
7 _QWERTY,
8 _LOWER,
9 _RAISE,
10};
11
12#define RAISE LT(_RAISE, KC_SPC)
13#define LOWER LT(_LOWER, KC_ENT)
14
15const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
16 [_QWERTY] = LAYOUT_6x6_5_thumb(
17 KC_F1 ,KC_F2 ,KC_F3 ,KC_F4 ,KC_F5 ,KC_F6 , KC_F7 ,KC_F8 ,KC_F9 ,KC_F10 ,KC_F11 ,KC_F12 ,
18 KC_ESC ,KC_1 ,KC_2 ,KC_3 ,KC_4 ,KC_5 , KC_6 ,KC_7 ,KC_8 ,KC_9 ,KC_0 ,KC_BSPC,
19 KC_TAB ,KC_Q ,KC_W ,KC_E ,KC_R ,KC_T , KC_Y ,KC_U ,KC_I ,KC_O ,KC_P ,KC_MINS,
20 KC_LSFT,KC_A ,KC_S ,KC_D ,KC_F ,KC_G , KC_H ,KC_J ,KC_K ,KC_L ,KC_SCLN,KC_QUOT,
21 KC_LCTL,KC_Z ,KC_X ,KC_C ,KC_V ,KC_B , KC_N ,KC_M ,KC_COMM,KC_DOT ,KC_SLSH,KC_BSLASH,
22 KC_LBRC,KC_RBRC, KC_PLUS,KC_EQL ,
23 RAISE , LOWER ,
24 KC_TAB ,KC_HOME, KC_END ,KC_DEL,
25 KC_BSPC,KC_GRV , KC_LGUI ,KC_LALT
26 ),
27
28 [_LOWER] = LAYOUT_6x6_5_thumb(
29 KC_F1 ,KC_F2 ,KC_F3 ,KC_F4 ,KC_F5 ,KC_F6 , KC_F7 , KC_F8 , KC_F9 ,KC_F10 ,KC_F11 ,KC_F12 ,
30 KC_TILD,KC_EXLM,KC_AT ,KC_HASH,KC_DLR ,KC_PERC, KC_CIRC,KC_AMPR,KC_ASTR,KC_LPRN,KC_RPRN,KC_DEL,
31 _______,_______,_______,_______,_______,KC_LBRC, KC_RBRC,KC_P7 ,KC_P8 ,KC_P9 ,_______,KC_PLUS,
32 _______,KC_HOME,KC_PGUP,KC_PGDN,KC_END ,KC_LPRN, KC_RPRN,KC_P4 ,KC_P5 ,KC_P6 ,KC_MINS,KC_PIPE,
33 _______,_______,_______,_______,_______,_______, _______,KC_P1 ,KC_P2 ,KC_P3 ,KC_EQL ,KC_UNDS,
34 _______,KC_PSCR, _______,KC_P0 ,
35 _______, _______,
36 _______,_______, _______,_______,
37 _______,_______, _______,_______
38 ),
39
40 [_RAISE] = LAYOUT_6x6_5_thumb(
41 KC_F12 ,KC_F1 ,KC_F2 ,KC_F3 ,KC_F4 ,KC_F5 , KC_F6 ,KC_F7 ,KC_F8 ,KC_F9 ,KC_F10 ,KC_F11 ,
42 _______,_______,_______,_______,_______,KC_LBRC, KC_RBRC,_______,KC_NLCK,KC_INS ,KC_SLCK,KC_MUTE,
43 _______,KC_LEFT,KC_UP ,KC_DOWN,KC_RGHT,KC_LPRN, KC_RPRN,KC_MPRV,KC_MPLY,KC_MNXT,_______,KC_VOLU,
44 _______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,KC_VOLD,
45 _______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______,
46 _______,_______, KC_EQL ,_______,
47 _______, _______,
48 _______,_______, _______,_______,
49 _______,_______, _______,_______
50 )
51};
diff --git a/keyboards/handwired/dactyl_manuform/6x6/keymaps/dumam/keymap.c b/keyboards/handwired/dactyl_manuform/6x6/keymaps/dumam/keymap.c
new file mode 100644
index 000000000..2fb783e0b
--- /dev/null
+++ b/keyboards/handwired/dactyl_manuform/6x6/keymaps/dumam/keymap.c
@@ -0,0 +1,59 @@
1// Copyright 2021 Bartosz Nowak (@dumam)
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#include QMK_KEYBOARD_H
5
6enum custom_layers {
7 _QWERTY, // daily use and coding
8 _MOVE, // mouse, arrows, browsing useful keys
9 _CONF, // machine settings, keyboard settings, backlight
10};
11#define _KC_SPC LT(_CONF, KC_SPC)
12#define _KC_ENT LT(_MOVE, KC_ENT)
13
14#define KC_SPEC KC_SFTENT //KC_SFTENT - Right Shift when held, Enter when tapped
15#define KC_INS_ KC_INS
16#define KC_TAB_ KC_TAB
17#define RESET__ RESET
18
19const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20
21 [_QWERTY] = LAYOUT_6x6_5_thumb(
22
23 KC_F1 ,KC_F2 ,KC_F3 ,KC_F4 ,KC_F5 ,KC_F6 , KC_F7 ,KC_F8 ,KC_F9 ,KC_F10 ,KC_F11 ,KC_F12 ,
24 KC_GRV ,KC_1 ,KC_2 ,KC_3 ,KC_4 ,KC_5 , KC_6 ,KC_7 ,KC_8 ,KC_9 ,KC_0 ,KC_MINS,
25 KC_BSLS,KC_Q ,KC_W ,KC_E ,KC_R ,KC_T , KC_Y ,KC_U ,KC_I ,KC_O ,KC_P ,KC_EQL ,
26 KC_SLSH,KC_A ,KC_S ,KC_D ,KC_F ,KC_G , KC_H ,KC_J ,KC_K ,KC_L ,KC_LBRC,KC_RBRC,
27 KC_LSFT,KC_Z ,KC_X ,KC_C ,KC_V ,KC_B , KC_N ,KC_M ,KC_COMM,KC_DOT ,KC_SCLN,KC_QUOT,
28 KC_LGUI,KC_ESC , KC_HOME,KC_END ,
29 _KC_SPC, _KC_ENT,
30 KC_TAB_,KC_BSPC, KC_DEL ,KC_RSFT,
31 KC_LCTL,KC_LALT, KC_RALT,KC_RCTL
32 ),
33
34 [_CONF] = LAYOUT_6x6_5_thumb(
35
36 RESET__,XXXXXXX,XXXXXXX,XXXXXXX,KC_SLEP,KC_WAKE, XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,RESET__,
37 XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX, XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,
38 XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX, XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,
39 XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,KC_PGUP,XXXXXXX, XXXXXXX,KC_PGUP,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,
40 XXXXXXX,KC_CAPS,KC_MENU,XXXXXXX,KC_PGDN,KC_LGUI, KC_LGUI,KC_PGDN,XXXXXXX,KC_INS_,KC_PSCR,XXXXXXX,
41 _______,_______, _______,_______,
42 _______, _______,
43 _______,_______, _______,_______,
44 _______,_______, _______,_______
45 ),
46
47 [_MOVE] = LAYOUT_6x6_5_thumb(
48
49 RESET__,XXXXXXX,XXXXXXX,KC_MPRV,KC_MPLY,KC_MPLY, KC_MUTE,KC_VOLD,KC_VOLU,XXXXXXX,XXXXXXX,RESET__,
50 XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX, XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,
51 XXXXXXX,XXXXXXX,XXXXXXX,KC_MS_U,XXXXXXX,XXXXXXX, XXXXXXX,XXXXXXX,KC_UP ,XXXXXXX,XXXXXXX,XXXXXXX,
52 XXXXXXX,XXXXXXX,KC_MS_L,KC_MS_D,KC_MS_R,XXXXXXX, XXXXXXX,KC_LEFT,KC_DOWN,KC_RGHT,XXXXXXX,XXXXXXX,
53 XXXXXXX,XXXXXXX,KC_BTN1,KC_BTN3,KC_BTN2,XXXXXXX, XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,
54 _______,_______, _______,_______,
55 _______, _______,
56 _______,_______, _______,_______,
57 _______,_______, _______,_______
58 ),
59};
diff --git a/keyboards/handwired/dactyl_manuform/6x6/promicro/config.h b/keyboards/handwired/dactyl_manuform/6x6/promicro/config.h
new file mode 100644
index 000000000..953d94a1a
--- /dev/null
+++ b/keyboards/handwired/dactyl_manuform/6x6/promicro/config.h
@@ -0,0 +1,29 @@
1/* Copyright 2019
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 "config_common.h"
20
21// wiring of each half
22#define MATRIX_COL_PINS { D4, C6, D7, E6, B4, B5 }
23#define MATRIX_ROW_PINS { F5, F6, F7, B1, B3, B2, B6 }
24
25#define DIODE_DIRECTION COL2ROW
26
27// WS2812 RGB LED strip input and number of LEDs
28#define RGB_DI_PIN D3
29#define RGBLED_NUM 12
diff --git a/keyboards/handwired/dactyl_manuform/6x6/promicro/rules.mk b/keyboards/handwired/dactyl_manuform/6x6/promicro/rules.mk
new file mode 100644
index 000000000..d47d8e75f
--- /dev/null
+++ b/keyboards/handwired/dactyl_manuform/6x6/promicro/rules.mk
@@ -0,0 +1,8 @@
1# Copyright 2021 Bartosz Nowak (@dumam)
2# SPDX-License-Identifier: GPL-2.0-or-later
3
4# MCU name
5MCU = atmega32u4
6
7# Bootloader selection
8BOOTLOADER = caterina
diff --git a/keyboards/handwired/dactyl_manuform/6x6/readme.md b/keyboards/handwired/dactyl_manuform/6x6/readme.md
new file mode 100644
index 000000000..9b079be46
--- /dev/null
+++ b/keyboards/handwired/dactyl_manuform/6x6/readme.md
@@ -0,0 +1,63 @@
1# Dactyl Manuform (6x6) optional 5thumb cluster
2
3## Dactyl Manufrom 6x6
4
5![Dactyl Manufrom 6x6](https://i.imgur.com/j8dsBgs.jpeg)
6
7## Dactyl Manufrom 6x6 with 5 key thumb cluster
8
9![Dactyl Manufrom 6x6 with thumb](https://i.imgur.com/C7FRiwd.jpeg)
10
11## Description
12
13* Keyboard Maintainer: [dumam for 5thumb](https://github.com/DuMaM) and others
14* Hardware Supported: STM32F4BlackPill, Promicro and clones
15
16Basic guide how to build 6x6 board is in root keyboard dir. This will help you to to create your own board with 6key based cluster with promicro. [For more click here](../readme.md).
17
18If you want to use 5thumb cluster or stm32, you also should read base guide, but please came back here after you finish 😉.
19
20For my build I used stm32f411 black pill. It's pretty cheap board and I highly recommend you to buy one from official distributors, to support board creators. [To buy it, please go into designer site](https://github.com/WeActTC/MiniSTM32F4x1).
21
22I recommend using stm32 boards for this project, because QMK recently added support for [tinyuf2 bootloader](https://github.com/adafruit/tinyuf2). This bootloader is great for cases where you are going to use QMK Configurator and don't want to use any command line interface. This way when you need change keyboard layout, you only need an UF2 file. Setting up board in boot mode will allow you to drag and drop it on to created STM32F flash drive.
23![BlackPill Schematic](blackpill_f411/STM32F4x1_PinoutDiagram_RichardBalint.png "Schematic of stm32f4 blackpill")
24
25For case I used 3D models form here. Big thanks to creators.
26
27- [dactyl-manuform-mini-keyboard](https://github.com/l4u/dactyl-manuform-mini-keyboard)
28- [dactyl-manuform](https://github.com/carbonfet/dactyl-manuform)
29- [Good build guide](https://medium.com/swlh/complete-idiot-guide-for-building-a-dactyl-manuform-keyboard-53454845b065)
30
31## STM32 Usage
32
33![BlackPill](https://raw.githubusercontent.com/WeActTC/MiniSTM32F4x1/master/images/STM32F4x1_PinoutDiagram_RichardBalint.png)
34
35My fixes allows for using STM32 with all keymaps located in this dir. Please note that you need to pull down and up B10 pin. I used here 68kohm resistor. Don't use bigger one then 100kohm and lower then 10kohm. Pin you should use for this it B10. [More can be found here](https://beta.docs.qmk.fm/using-qmk/hardware-features/feature_split_keyboard#setting-handedness).
36
37### Features
38
39- any board could be master one, and they can be used separately from each other
40- it's using full usart (4 cables), mostly due to some stability and half detection problems
41- easy keymaps update -> drag and drop file
42- pin used for rows (B12, B13, B14, B15, A8 , A9, A10) and for cols (B1, B0, A7, A6, A5, A4)
43
44## Build
45
46See 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).
47After setting up your build environment you can try to build it with those commands.
48
49Make Promicro based img:
50
51 qmk compile -kb keyboards/handwired/dactyl_manuform/6x6 -km default
52
53Make BlackPill one:
54
55 qmk compile -kb keyboards/handwired/dactyl_manuform/6x6/blackpill_f411 -km default
56
57## Bootloader for BlackPill
58
59Enter the bootloader in 3 ways:
60
61* **Bootmagic reset**: Hold down the key at F1 for left side, and F7 for right side.
62* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
63* **Keycode in layout**: Press the key mapped to `RESET`, in dumam keymap it's assigned to F1 and F12 keys on mod layers.
diff --git a/keyboards/handwired/dactyl_manuform/6x6/rules.mk b/keyboards/handwired/dactyl_manuform/6x6/rules.mk
index 041537982..84645084d 100644
--- a/keyboards/handwired/dactyl_manuform/6x6/rules.mk
+++ b/keyboards/handwired/dactyl_manuform/6x6/rules.mk
@@ -1,9 +1,3 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5BOOTLOADER = caterina
6
7# Build Options 1# Build Options
8# change yes to no to disable 2# change yes to no to disable
9# 3#
@@ -17,3 +11,5 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
17RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow 11RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
18AUDIO_ENABLE = no # Audio output 12AUDIO_ENABLE = no # Audio output
19SPLIT_KEYBOARD = yes 13SPLIT_KEYBOARD = yes
14
15DEFAULT_FOLDER = handwired/dactyl_manuform/6x6/promicro