aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Kotulski <gh@akotulski.com>2021-12-24 01:37:03 +0100
committerGitHub <noreply@github.com>2021-12-23 16:37:03 -0800
commitd563ab052e694b5fd43de6c416589877df040576 (patch)
tree510d2a719295d864c4d289bfa63824769fbd5940
parente804e28e8e54d6821737fc32f31b7f2735a5994d (diff)
downloadqmk_firmware-d563ab052e694b5fd43de6c416589877df040576.tar.gz
qmk_firmware-d563ab052e694b5fd43de6c416589877df040576.zip
[Keyboard] Add dactyl manuform 4x6 with a 5 key thumb cluster (#15516)
Co-authored-by: Drashna Jaelre <drashna@live.com>
-rw-r--r--keyboards/handwired/dactyl_manuform/4x6_5/4x6_5.c1
-rw-r--r--keyboards/handwired/dactyl_manuform/4x6_5/4x6_5.h26
-rw-r--r--keyboards/handwired/dactyl_manuform/4x6_5/config.h41
-rw-r--r--keyboards/handwired/dactyl_manuform/4x6_5/info.json72
-rw-r--r--keyboards/handwired/dactyl_manuform/4x6_5/keymaps/default/config.h24
-rw-r--r--keyboards/handwired/dactyl_manuform/4x6_5/keymaps/default/keymap.c63
-rw-r--r--keyboards/handwired/dactyl_manuform/4x6_5/keymaps/manna-harbour_miryoku/config.h24
-rw-r--r--keyboards/handwired/dactyl_manuform/4x6_5/keymaps/manna-harbour_miryoku/keymap.c5
-rw-r--r--keyboards/handwired/dactyl_manuform/4x6_5/rules.mk19
-rw-r--r--keyboards/handwired/dactyl_manuform/dactyl_manuform.h2
10 files changed, 277 insertions, 0 deletions
diff --git a/keyboards/handwired/dactyl_manuform/4x6_5/4x6_5.c b/keyboards/handwired/dactyl_manuform/4x6_5/4x6_5.c
new file mode 100644
index 000000000..a770f5ac4
--- /dev/null
+++ b/keyboards/handwired/dactyl_manuform/4x6_5/4x6_5.c
@@ -0,0 +1 @@
#include "4x6_5.h"
diff --git a/keyboards/handwired/dactyl_manuform/4x6_5/4x6_5.h b/keyboards/handwired/dactyl_manuform/4x6_5/4x6_5.h
new file mode 100644
index 000000000..f34d8be4d
--- /dev/null
+++ b/keyboards/handwired/dactyl_manuform/4x6_5/4x6_5.h
@@ -0,0 +1,26 @@
1#pragma once
2
3#include "dactyl_manuform.h"
4
5#define XXX KC_NO
6
7#define LAYOUT( \
8 L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \
9 L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \
10 L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \
11 L32, L33, R32, R33, \
12 L34, L45, L43, R42, R40, R31, \
13 L44, L42, R43, R41 \
14) { \
15 { L00, L01, L02, L03, L04, L05 }, \
16 { L10, L11, L12, L13, L14, L15 }, \
17 { L20, L21, L22, L23, L24, L25 }, \
18 { XXX, XXX, L32, L33, L34, XXX }, \
19 { XXX, XXX, L42, L43, L44, L45 }, \
20\
21 { R00, R01, R02, R03, R04, R05 }, \
22 { R10, R11, R12, R13, R14, R15 }, \
23 { R20, R21, R22, R23, R24, R25 }, \
24 { XXX, R31, R32, R33, XXX, XXX }, \
25 { R40, R41, R42, R43, XXX, XXX } \
26}
diff --git a/keyboards/handwired/dactyl_manuform/4x6_5/config.h b/keyboards/handwired/dactyl_manuform/4x6_5/config.h
new file mode 100644
index 000000000..2e79517b2
--- /dev/null
+++ b/keyboards/handwired/dactyl_manuform/4x6_5/config.h
@@ -0,0 +1,41 @@
1/*
2Copyright 2012 Jun Wako <wakojun@gmail.com>
3Copyright 2015 Jack Humbert
4
5This program is free software: you can redistribute it and/or modify
6it under the terms of the GNU General Public License as published by
7the Free Software Foundation, either version 2 of the License, or
8(at your option) any later version.
9
10This program is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License
16along with this program. If not, see <http://www.gnu.org/licenses/>.
17*/
18
19#pragma once
20
21#include "config_common.h"
22
23/* USB Device descriptor parameter */
24#define PRODUCT_ID 0x3436
25#define DEVICE_VER 0x0001
26
27/* key matrix size */
28// Rows are doubled-up
29#define MATRIX_ROWS 10
30#define MATRIX_COLS 6
31
32// row-driven
33#define MATRIX_ROW_PINS { F7, B1, B3, B2, B6 }
34#define MATRIX_COL_PINS { D4, C6, D7, E6, B4, B5 }
35
36/* COL2ROW or ROW2COL */
37#define DIODE_DIRECTION COL2ROW
38
39// WS2812 RGB LED strip input and number of LEDs
40#define RGB_DI_PIN D3
41#define RGBLED_NUM 12
diff --git a/keyboards/handwired/dactyl_manuform/4x6_5/info.json b/keyboards/handwired/dactyl_manuform/4x6_5/info.json
new file mode 100644
index 000000000..3534cc01a
--- /dev/null
+++ b/keyboards/handwired/dactyl_manuform/4x6_5/info.json
@@ -0,0 +1,72 @@
1{
2 "keyboard_name": "Dactyl Manuform 4x6 5 thumb keys",
3 "url": "",
4 "maintainer": "qmk",
5 "layouts": {
6 "LAYOUT": {
7 "layout": [
8 {"x": 0, "y": 0},
9 {"x": 1, "y": 0},
10 {"x": 2, "y": 0},
11 {"x": 3, "y": 0},
12 {"x": 4, "y": 0},
13 {"x": 5, "y": 0},
14
15 {"x": 11, "y": 0},
16 {"x": 12, "y": 0},
17 {"x": 13, "y": 0},
18 {"x": 14, "y": 0},
19 {"x": 15, "y": 0},
20 {"x": 16, "y": 0},
21
22 {"x": 0, "y": 1},
23 {"x": 1, "y": 1},
24 {"x": 2, "y": 1},
25 {"x": 3, "y": 1},
26 {"x": 4, "y": 1},
27 {"x": 5, "y": 1},
28
29 {"x": 11, "y": 1},
30 {"x": 12, "y": 1},
31 {"x": 13, "y": 1},
32 {"x": 14, "y": 1},
33 {"x": 15, "y": 1},
34 {"x": 16, "y": 1},
35
36 {"x": 0, "y": 2},
37 {"x": 1, "y": 2},
38 {"x": 2, "y": 2},
39 {"x": 3, "y": 2},
40 {"x": 4, "y": 2},
41 {"x": 5, "y": 2},
42
43 {"x": 11, "y": 2},
44 {"x": 12, "y": 2},
45 {"x": 13, "y": 2},
46 {"x": 14, "y": 2},
47 {"x": 15, "y": 2},
48 {"x": 16, "y": 2},
49
50 {"x": 2, "y": 3},
51 {"x": 3, "y": 3},
52
53 {"x": 13, "y": 3},
54 {"x": 14, "y": 3},
55
56 {"x": 4, "y": 4},
57 {"x": 5, "y": 4},
58 {"x": 6, "y": 4},
59
60 {"x": 10, "y": 4},
61 {"x": 11, "y": 4},
62 {"x": 12, "y": 4},
63
64 {"x": 5, "y": 5},
65 {"x": 6, "y": 5},
66
67 {"x": 10, "y": 5},
68 {"x": 11, "y": 5}
69 ]
70 }
71 }
72}
diff --git a/keyboards/handwired/dactyl_manuform/4x6_5/keymaps/default/config.h b/keyboards/handwired/dactyl_manuform/4x6_5/keymaps/default/config.h
new file mode 100644
index 000000000..38dfa5cb3
--- /dev/null
+++ b/keyboards/handwired/dactyl_manuform/4x6_5/keymaps/default/config.h
@@ -0,0 +1,24 @@
1/*
2This is the c configuration file for the keymap
3
4Copyright 2012 Jun Wako <wakojun@gmail.com>
5Copyright 2015 Jack Humbert
6
7This program is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 2 of the License, or
10(at your option) any later version.
11
12This program is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with this program. If not, see <http://www.gnu.org/licenses/>.
19*/
20
21#pragma once
22
23
24#define EE_HANDS
diff --git a/keyboards/handwired/dactyl_manuform/4x6_5/keymaps/default/keymap.c b/keyboards/handwired/dactyl_manuform/4x6_5/keymaps/default/keymap.c
new file mode 100644
index 000000000..3036986f2
--- /dev/null
+++ b/keyboards/handwired/dactyl_manuform/4x6_5/keymaps/default/keymap.c
@@ -0,0 +1,63 @@
1// Copyright 2021 Andrzej Kotulski (@akotulski)
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#include QMK_KEYBOARD_H
5
6#define RAISE MO(_RAISE)
7#define LOWER MO(_LOWER)
8
9enum layer_names {
10 _BASE,
11 _RAISE,
12 _LOWER
13};
14
15const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
16 /* Base (qwerty)
17 * +-----------------------------------------+ +-----------------------------------------+
18 * | ESC | q | w | e | r | t | | y | u | i | o | p | |
19 * |------+------+------+------+------+------| |------+------+------+------+------+------|
20 * | TAB | a | s | d | f | g | | h | j | k | l | ; | |
21 * |------+------+------+------+------+------| |------+------+------+------+------+------|
22 * | SHFT | z | x | c | v | b | | n | m | , | . | / | |
23 * +------+------+------+------+-------------+ +-------------+------+------+------+------+
24 * | [ | ] | | | |
25 * +-------------+-------------+ +-------------+-------------+
26 * | | | | | |
27 * |------+------| |------+------|
28 * | | | | | |
29 * +-------------+ +-------------+
30 * +-------------+ +-------------+
31 * | | | | | |
32 * |------+------| |------+------|
33 * | | | | | |
34 * +-------------+ +-------------+
35 */
36 [_BASE] = LAYOUT(
37 KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS,
38 KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
39 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_BSLS,
40 KC_LBRC, KC_RBRC, KC_PLUS, KC_EQL,
41 KC_SPC, RAISE, KC_HOME, KC_END, LOWER, KC_ENT,
42 KC_BSPC, KC_LALT, KC_LGUI, KC_DEL
43 ),
44
45 [_LOWER] = LAYOUT(
46 _______, _______, _______, _______, _______, KC_LBRC, KC_RBRC, KC_P7, KC_P8, KC_P9, RESET, KC_PLUS,
47 _______, KC_HOME, KC_PGUP, KC_PGDN, KC_END , KC_LPRN, KC_RPRN, KC_P4, KC_P5, KC_P6, KC_MINS, KC_PIPE,
48 _______, _______, _______, _______, _______, _______, _______, KC_P1, KC_P2, KC_P3, KC_EQL, KC_UNDS,
49 _______, KC_PSCR, _______, KC_P0,
50 _______, _______, _______, _______, _______, _______,
51 _______, _______, _______, _______
52 ),
53
54 [_RAISE] = LAYOUT(
55 _______, RESET, _______, _______, _______, KC_LBRC, KC_RBRC, _______, KC_NLCK, KC_INS, KC_SLCK, KC_MUTE,
56 _______, KC_LEFT, KC_UP , KC_DOWN, KC_RGHT, KC_LPRN, KC_RPRN, KC_MPRV, KC_MPLY, KC_MNXT, _______, KC_VOLU,
57 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD,
58 _______, _______, KC_EQL, _______,
59 _______, _______, _______, _______, _______, _______,
60 _______, _______, _______, _______
61 )
62};
63
diff --git a/keyboards/handwired/dactyl_manuform/4x6_5/keymaps/manna-harbour_miryoku/config.h b/keyboards/handwired/dactyl_manuform/4x6_5/keymaps/manna-harbour_miryoku/config.h
new file mode 100644
index 000000000..9532d1f67
--- /dev/null
+++ b/keyboards/handwired/dactyl_manuform/4x6_5/keymaps/manna-harbour_miryoku/config.h
@@ -0,0 +1,24 @@
1// Copyright 2019 Manna Harbour
2// https://github.com/manna-harbour/miryoku
3// generated -*- buffer-read-only: t -*-
4
5// 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/>.
6
7#pragma once
8
9#define XXX KC_NO
10
11#define LAYOUT_miryoku(\
12K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\
13K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\
14K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\
15N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\
16)\
17LAYOUT( \
18XXX, K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, XXX, \
19XXX, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, XXX, \
20XXX, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, XXX, \
21 XXX, XXX, XXX, XXX, \
22 K32, K33, K34, K35, K36, K37, \
23 XXX, XXX, XXX, XXX \
24)
diff --git a/keyboards/handwired/dactyl_manuform/4x6_5/keymaps/manna-harbour_miryoku/keymap.c b/keyboards/handwired/dactyl_manuform/4x6_5/keymaps/manna-harbour_miryoku/keymap.c
new file mode 100644
index 000000000..7c5717a0f
--- /dev/null
+++ b/keyboards/handwired/dactyl_manuform/4x6_5/keymaps/manna-harbour_miryoku/keymap.c
@@ -0,0 +1,5 @@
1// Copyright 2019 Manna Harbour
2// https://github.com/manna-harbour/miryoku
3// generated -*- buffer-read-only: t -*-
4
5// 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/>.
diff --git a/keyboards/handwired/dactyl_manuform/4x6_5/rules.mk b/keyboards/handwired/dactyl_manuform/4x6_5/rules.mk
new file mode 100644
index 000000000..041537982
--- /dev/null
+++ b/keyboards/handwired/dactyl_manuform/4x6_5/rules.mk
@@ -0,0 +1,19 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5BOOTLOADER = caterina
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
11MOUSEKEY_ENABLE = yes # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug
14COMMAND_ENABLE = yes # Commands for debug and configuration
15NKRO_ENABLE = no # Enable N-Key Rollover
16BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
17RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
18AUDIO_ENABLE = no # Audio output
19SPLIT_KEYBOARD = yes
diff --git a/keyboards/handwired/dactyl_manuform/dactyl_manuform.h b/keyboards/handwired/dactyl_manuform/dactyl_manuform.h
index 11c999777..7a4ca6ea1 100644
--- a/keyboards/handwired/dactyl_manuform/dactyl_manuform.h
+++ b/keyboards/handwired/dactyl_manuform/dactyl_manuform.h
@@ -4,6 +4,8 @@
4# include "4x5.h" 4# include "4x5.h"
5#elif defined(KEYBOARD_handwired_dactyl_manuform_4x6) 5#elif defined(KEYBOARD_handwired_dactyl_manuform_4x6)
6# include "4x6.h" 6# include "4x6.h"
7#elif defined(KEYBOARD_handwired_dactyl_manuform_4x6_5)
8# include "4x6_5.h"
7#elif defined(KEYBOARD_handwired_dactyl_manuform_5x6) 9#elif defined(KEYBOARD_handwired_dactyl_manuform_5x6)
8# include "5x6.h" 10# include "5x6.h"
9#elif defined(KEYBOARD_handwired_dactyl_manuform_5x6_5) 11#elif defined(KEYBOARD_handwired_dactyl_manuform_5x6_5)