From 16e4608e3d18f500176a517fc554937507d76a39 Mon Sep 17 00:00:00 2001 From: Duncan Sutherland Date: Mon, 3 Jul 2023 11:30:50 +0100 Subject: [Keyboard] add `handwired/dactyl_maximus` keyboard (#21338) --- keyboards/handwired/dactyl_maximus/info.json | 137 +++++++++++++++++++++ .../dactyl_maximus/keymaps/default/keymap.c | 52 ++++++++ .../handwired/dactyl_maximus/keymaps/via/keymap.c | 52 ++++++++ .../handwired/dactyl_maximus/keymaps/via/rules.mk | 1 + keyboards/handwired/dactyl_maximus/readme.md | 34 +++++ keyboards/handwired/dactyl_maximus/rules.mk | 1 + 6 files changed, 277 insertions(+) create mode 100644 keyboards/handwired/dactyl_maximus/info.json create mode 100644 keyboards/handwired/dactyl_maximus/keymaps/default/keymap.c create mode 100644 keyboards/handwired/dactyl_maximus/keymaps/via/keymap.c create mode 100644 keyboards/handwired/dactyl_maximus/keymaps/via/rules.mk create mode 100644 keyboards/handwired/dactyl_maximus/readme.md create mode 100644 keyboards/handwired/dactyl_maximus/rules.mk (limited to 'keyboards') diff --git a/keyboards/handwired/dactyl_maximus/info.json b/keyboards/handwired/dactyl_maximus/info.json new file mode 100644 index 0000000000..424fde9562 --- /dev/null +++ b/keyboards/handwired/dactyl_maximus/info.json @@ -0,0 +1,137 @@ +{ + "keyboard_name": "Dactyl Maximus", + "manufacturer": "handwired", + "url": "", + "maintainer": "dunk2k", + "usb": { + "vid": "0x444D", + "pid": "0x3536", + "device_version": "0.0.1" + }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "build": { + "lto": true + }, + "matrix_pins": { + "cols": ["D0", "D4", "C6", "D7", "E6", "B4", "B5"], + "rows": ["F6", "F7", "B1", "B3", "B2", "B6"] + }, + "diode_direction": "COL2ROW", + "split": { + "enabled": true, + "soft_serial_pin": "D1" + }, + "development_board": "promicro", + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + + {"matrix": [6, 0], "x": 12, "y": 0}, + {"matrix": [6, 1], "x": 13, "y": 0}, + {"matrix": [6, 2], "x": 14, "y": 0}, + {"matrix": [6, 3], "x": 15, "y": 0}, + {"matrix": [6, 4], "x": 16, "y": 0}, + {"matrix": [6, 5], "x": 17, "y": 0}, + {"matrix": [6, 6], "x": 18, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1}, + {"matrix": [1, 5], "x": 5, "y": 1}, + {"matrix": [1, 6], "x": 6, "y": 1}, + + {"matrix": [7, 0], "x": 12, "y": 1}, + {"matrix": [7, 1], "x": 13, "y": 1}, + {"matrix": [7, 2], "x": 14, "y": 1}, + {"matrix": [7, 3], "x": 15, "y": 1}, + {"matrix": [7, 4], "x": 16, "y": 1}, + {"matrix": [7, 5], "x": 17, "y": 1}, + {"matrix": [7, 6], "x": 18, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2}, + {"matrix": [2, 1], "x": 1, "y": 2}, + {"matrix": [2, 2], "x": 2, "y": 2}, + {"matrix": [2, 3], "x": 3, "y": 2}, + {"matrix": [2, 4], "x": 4, "y": 2}, + {"matrix": [2, 5], "x": 5, "y": 2}, + {"matrix": [2, 6], "x": 6, "y": 2}, + + {"matrix": [8, 0], "x": 12, "y": 2}, + {"matrix": [8, 1], "x": 13, "y": 2}, + {"matrix": [8, 2], "x": 14, "y": 2}, + {"matrix": [8, 3], "x": 15, "y": 2}, + {"matrix": [8, 4], "x": 16, "y": 2}, + {"matrix": [8, 5], "x": 17, "y": 2}, + {"matrix": [8, 6], "x": 18, "y": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3}, + {"matrix": [3, 1], "x": 1, "y": 3}, + {"matrix": [3, 2], "x": 2, "y": 3}, + {"matrix": [3, 3], "x": 3, "y": 3}, + {"matrix": [3, 4], "x": 4, "y": 3}, + {"matrix": [3, 5], "x": 5, "y": 3}, + {"matrix": [3, 6], "x": 6, "y": 3}, + + {"matrix": [9, 0], "x": 12, "y": 3}, + {"matrix": [9, 1], "x": 13, "y": 3}, + {"matrix": [9, 2], "x": 14, "y": 3}, + {"matrix": [9, 3], "x": 15, "y": 3}, + {"matrix": [9, 4], "x": 16, "y": 3}, + {"matrix": [9, 5], "x": 17, "y": 3}, + {"matrix": [9, 6], "x": 18, "y": 3}, + + {"matrix": [4, 0], "x": 0, "y": 4}, + {"matrix": [4, 1], "x": 1, "y": 4}, + {"matrix": [4, 2], "x": 2, "y": 4}, + {"matrix": [4, 3], "x": 3, "y": 4}, + {"matrix": [4, 4], "x": 4, "y": 4}, + {"matrix": [4, 5], "x": 5, "y": 4}, + + {"matrix": [10, 1], "x": 13, "y": 4}, + {"matrix": [10, 2], "x": 14, "y": 4}, + {"matrix": [10, 3], "x": 15, "y": 4}, + {"matrix": [10, 4], "x": 16, "y": 4}, + {"matrix": [10, 5], "x": 17, "y": 4}, + {"matrix": [10, 6], "x": 18, "y": 4}, + + {"matrix": [4, 6], "x": 7, "y": 5}, + {"matrix": [5, 6], "x": 8, "y": 5}, + + {"matrix": [11, 0], "x": 10, "y": 5}, + {"matrix": [10, 0], "x": 11, "y": 5}, + + {"matrix": [5, 3], "x": 6, "y": 6}, + {"matrix": [5, 4], "x": 7, "y": 6}, + {"matrix": [5, 5], "x": 8, "y": 6}, + + {"matrix": [11, 1], "x": 10, "y": 6}, + {"matrix": [11, 2], "x": 11, "y": 6}, + {"matrix": [11, 3], "x": 12, "y": 6}, + + {"matrix": [5, 0], "x": 6, "y": 7}, + {"matrix": [5, 1], "x": 7, "y": 7}, + {"matrix": [5, 2], "x": 8, "y": 7}, + + {"matrix": [11, 4], "x": 10, "y": 7}, + {"matrix": [11, 5], "x": 11, "y": 7}, + {"matrix": [11, 6], "x": 12, "y": 7} + ] + } + } +} diff --git a/keyboards/handwired/dactyl_maximus/keymaps/default/keymap.c b/keyboards/handwired/dactyl_maximus/keymaps/default/keymap.c new file mode 100644 index 0000000000..cfd95db563 --- /dev/null +++ b/keyboards/handwired/dactyl_maximus/keymaps/default/keymap.c @@ -0,0 +1,52 @@ +// Copyright 2021 Duncan Sutherland (https://github.com/dunk2k) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +#define CUT C(KC_X) +#define COPY C(KC_C) +#define PSTE C(KC_V) +#define UNDO C(KC_Z) +#define REDO C(KC_Y) +#define SALL C(KC_A) +#define APP_N A(KC_TAB) +#define APP_P LSA(KC_TAB) +#define SLFT S(KC_HOME) +#define SRGHT S(KC_END) +#define APP_X A(KC_F4) +#define TSKMG RCS(KC_ESC) + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + APP_P, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_PSCR, APP_N, + SLFT, KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, SRGHT, + COPY, KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, PSTE, + CUT, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, SALL, + UNDO, KC_LCTL, KC_LALT, KC_LGUI, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_RGUI, KC_RALT, KC_RCTL, REDO, + KC_HOME, KC_PGUP, KC_VOLU, KC_END, + MO(1), KC_SPC, KC_DEL, KC_BSPC, KC_ENT, MO(2), + KC_UP, KC_DOWN, KC_PGDN, KC_VOLD, KC_LEFT, KC_RGHT + ), + + [1] = LAYOUT( + KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, + KC_TRNS, TSKMG, APP_X, KC_SCRL, KC_INS, KC_PAUS, KC_NO, KC_NO, KC_P7, KC_P8, KC_P9, KC_NO, KC_NO, KC_TRNS, + KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_PAST, KC_P4, KC_P5, KC_P6, KC_PMNS, KC_NUM, KC_TRNS, + KC_TRNS, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSLS, KC_P1, KC_P2, KC_P3, KC_PPLS, KC_NO, KC_TRNS, + KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_PCMM, KC_P0, KC_PDOT, KC_NO, KC_NO, KC_TRNS, + KC_NO, KC_NO, KC_NO, KC_RCTL, + KC_TRNS, KC_NO, KC_NO, KC_RSFT, KC_PENT, KC_LALT, + KC_NO, KC_NO, KC_NO, KC_NO, KC_RGUI, KC_NO + ), + + [2] = LAYOUT( + KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, + KC_TRNS, KC_NO, KC_NO, KC_ACL2, KC_ACL1, KC_ACL0, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, + KC_TRNS, KC_NO, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, KC_NO, KC_NO, KC_SLEP, KC_NO, KC_NO, QK_BOOT, KC_NO, KC_TRNS, + KC_TRNS, KC_NO, KC_WH_L, KC_WH_D, KC_WH_U, KC_WH_R, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, + KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, + KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, KC_BTN1, KC_BTN2, KC_NO, KC_NO, KC_TRNS, + KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO + ) +}; diff --git a/keyboards/handwired/dactyl_maximus/keymaps/via/keymap.c b/keyboards/handwired/dactyl_maximus/keymaps/via/keymap.c new file mode 100644 index 0000000000..cfd95db563 --- /dev/null +++ b/keyboards/handwired/dactyl_maximus/keymaps/via/keymap.c @@ -0,0 +1,52 @@ +// Copyright 2021 Duncan Sutherland (https://github.com/dunk2k) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +#define CUT C(KC_X) +#define COPY C(KC_C) +#define PSTE C(KC_V) +#define UNDO C(KC_Z) +#define REDO C(KC_Y) +#define SALL C(KC_A) +#define APP_N A(KC_TAB) +#define APP_P LSA(KC_TAB) +#define SLFT S(KC_HOME) +#define SRGHT S(KC_END) +#define APP_X A(KC_F4) +#define TSKMG RCS(KC_ESC) + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + APP_P, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_PSCR, APP_N, + SLFT, KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, SRGHT, + COPY, KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, PSTE, + CUT, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, SALL, + UNDO, KC_LCTL, KC_LALT, KC_LGUI, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_RGUI, KC_RALT, KC_RCTL, REDO, + KC_HOME, KC_PGUP, KC_VOLU, KC_END, + MO(1), KC_SPC, KC_DEL, KC_BSPC, KC_ENT, MO(2), + KC_UP, KC_DOWN, KC_PGDN, KC_VOLD, KC_LEFT, KC_RGHT + ), + + [1] = LAYOUT( + KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, + KC_TRNS, TSKMG, APP_X, KC_SCRL, KC_INS, KC_PAUS, KC_NO, KC_NO, KC_P7, KC_P8, KC_P9, KC_NO, KC_NO, KC_TRNS, + KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_PAST, KC_P4, KC_P5, KC_P6, KC_PMNS, KC_NUM, KC_TRNS, + KC_TRNS, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSLS, KC_P1, KC_P2, KC_P3, KC_PPLS, KC_NO, KC_TRNS, + KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_PCMM, KC_P0, KC_PDOT, KC_NO, KC_NO, KC_TRNS, + KC_NO, KC_NO, KC_NO, KC_RCTL, + KC_TRNS, KC_NO, KC_NO, KC_RSFT, KC_PENT, KC_LALT, + KC_NO, KC_NO, KC_NO, KC_NO, KC_RGUI, KC_NO + ), + + [2] = LAYOUT( + KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, + KC_TRNS, KC_NO, KC_NO, KC_ACL2, KC_ACL1, KC_ACL0, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, + KC_TRNS, KC_NO, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, KC_NO, KC_NO, KC_SLEP, KC_NO, KC_NO, QK_BOOT, KC_NO, KC_TRNS, + KC_TRNS, KC_NO, KC_WH_L, KC_WH_D, KC_WH_U, KC_WH_R, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, + KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, + KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, KC_BTN1, KC_BTN2, KC_NO, KC_NO, KC_TRNS, + KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO + ) +}; diff --git a/keyboards/handwired/dactyl_maximus/keymaps/via/rules.mk b/keyboards/handwired/dactyl_maximus/keymaps/via/rules.mk new file mode 100644 index 0000000000..1e5b99807c --- /dev/null +++ b/keyboards/handwired/dactyl_maximus/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes diff --git a/keyboards/handwired/dactyl_maximus/readme.md b/keyboards/handwired/dactyl_maximus/readme.md new file mode 100644 index 0000000000..d4c2d44def --- /dev/null +++ b/keyboards/handwired/dactyl_maximus/readme.md @@ -0,0 +1,34 @@ +# Dactyl Maximus + +![KeycapLess](https://i.imgur.com/OJs3bkWh.jpg) +*Thanks to [unit-5370](https://github.com/unit-5370) for image* + +The largest [Dactyl](/keyboards/handwired/dactyl/) variation available from a Dactyl generator. This variation is electronically more similar to the [Dactyl (Pro Micro)](/keyboards/handwired/dactyl_promicro/) as it requires two micro controllers, one per half, instead of the *Dactyl's* original implementation of one microcontroller and an I/O expander. + +* Keyboard Maintainer: [Duncan Sutherland](https://github.com/dunk2k) +* Hardware Supported: Pro Micro controller, of clone of +* Case Files: [Dactyl Generator](https://ryanis.cool/dactyl/#original) + +'Keys' settings for *Dactyl Generator* link: +* Number of Columns: 7 +* Use Number Row: true +* Use Bottom Row: true +* Thumb Key Count: 8 + +Make example for this keyboard (after setting up your build environment): + + make handwired/dactyl_maximus:default + +Flashing example for this keyboard: + + make handwired/dactyl_maximus:default:flash + +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). + +## Bootloader + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard +* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/handwired/dactyl_maximus/rules.mk b/keyboards/handwired/dactyl_maximus/rules.mk new file mode 100644 index 0000000000..6e7633bfe0 --- /dev/null +++ b/keyboards/handwired/dactyl_maximus/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank -- cgit v1.2.3