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

Add handwired/dactyl_lightcycle keyboard #20709

Merged
merged 15 commits into from
Jul 3, 2023
34 changes: 34 additions & 0 deletions keyboards/handwired/dactyl_lightcycle/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/*
Copyright 2020 Ralph Azucena <[email protected]>

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

/* 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

/* Enables This makes it easier for fast typists to use dual-function keys */
#define PERMISSIVE_HOLD

// Feature disable options
// These options are also useful to firmware size reduction.

/* disable print */
// #define NO_DEBUG
// #define NO_PRINT
209 changes: 209 additions & 0 deletions keyboards/handwired/dactyl_lightcycle/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
{
"keyboard_name": "Dactyl Lightcycle",
"manufacturer": "Adereth",
"url": "https://github.com/adereth/dactyl-keyboard",
"maintainer": "qmk",
"usb": {
"vid": "0xFEED",
"pid": "0x3060",
"device_version": "0.0.1"
},
"features": {
"bootmagic": true,
"command": false,
"console": false,
"mousekey": true,
"extrakey": true,
"audio": false,
"rgblight": false,
"backlight": false,
"nkro": false
},
"ws2812": {
"pin": "D3"
},
"matrix_pins": {
"cols": ["D4", "C6", "D7", "E6", "B4", "B5"],
"rows": ["F7", "B1", "B3", "B2", "B6"]
},
"diode_direction": "COL2ROW",
"split": {
"enabled": true,
"soft_serial_pin": "D0"
},
"developement_board": "pro_micro",
"community_layouts": ["split_3x6_3", "split_3x5_3"],
"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": [5, 0], "x": 11, "y": 0},
{"matrix": [5, 1], "x": 12, "y": 0},
{"matrix": [5, 2], "x": 13, "y": 0},
{"matrix": [5, 3], "x": 14, "y": 0},
{"matrix": [5, 4], "x": 15, "y": 0},
{"matrix": [5, 5], "x": 16, "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": [6, 0], "x": 11, "y": 1},
{"matrix": [6, 1], "x": 12, "y": 1},
{"matrix": [6, 2], "x": 13, "y": 1},
{"matrix": [6, 3], "x": 14, "y": 1},
{"matrix": [6, 4], "x": 15, "y": 1},
{"matrix": [6, 5], "x": 16, "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": [7, 0], "x": 11, "y": 2},
{"matrix": [7, 1], "x": 12, "y": 2},
{"matrix": [7, 2], "x": 13, "y": 2},
{"matrix": [7, 3], "x": 14, "y": 2},
{"matrix": [7, 4], "x": 15, "y": 2},
{"matrix": [7, 5], "x": 16, "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": [8, 1], "x": 12, "y": 3},
{"matrix": [8, 2], "x": 13, "y": 3},
{"matrix": [8, 3], "x": 14, "y": 3},
{"matrix": [8, 4], "x": 15, "y": 3},
{"matrix": [8, 5], "x": 16, "y": 3},

{"matrix": [3, 5], "x": 6, "y": 2, "h": 1.25},
{"matrix": [4, 5], "x": 7, "y": 2, "h": 1.5},

{"matrix": [9, 0], "x": 9, "y": 2, "h": 1.5},
{"matrix": [8, 0], "x": 10, "y": 2, "h": 1.25},

{"matrix": [4, 2], "x": 5, "y": 3, "h": 2},
{"matrix": [4, 3], "x": 6, "y": 3.25, "h": 1.75},
{"matrix": [4, 4], "x": 7, "y": 3.5, "h": 1.5},

{"matrix": [9, 1], "x": 9, "y": 3.5, "h": 1.5},
{"matrix": [9, 2], "x": 10, "y": 3.25, "h": 1.75},
{"matrix": [9, 3], "x": 11, "y": 3, "h": 2}
]
},
"LAYOUT_split_3x6_3": {
"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": [5, 0], "x":11, "y":0},
{"matrix": [5, 1], "x":12, "y":0},
{"matrix": [5, 2], "x":13, "y":0},
{"matrix": [5, 3], "x":14, "y":0},
{"matrix": [5, 4], "x":15, "y":0},
{"matrix": [5, 5], "x":16, "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": [6, 0], "x":11, "y":1},
{"matrix": [6, 1], "x":12, "y":1},
{"matrix": [6, 2], "x":13, "y":1},
{"matrix": [6, 3], "x":14, "y":1},
{"matrix": [6, 4], "x":15, "y":1},
{"matrix": [6, 5], "x":16, "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": [7, 0], "x":11, "y":2},
{"matrix": [7, 1], "x":12, "y":2},
{"matrix": [7, 2], "x":13, "y":2},
{"matrix": [7, 3], "x":14, "y":2},
{"matrix": [7, 4], "x":15, "y":2},
{"matrix": [7, 5], "x":16, "y":2},

{"matrix": [4, 2], "x":5, "y":3, "h":2},
{"matrix": [4, 3], "x":6, "y":3.25, "h":1.75},
{"matrix": [4, 4], "x":7, "y":3.5, "h":1.5},

{"matrix": [9, 1], "x": 9, "y": 3.5, "h":1.5},
{"matrix": [9, 2], "x": 10, "y": 3.25, "h": 1.75},
{"matrix": [9, 3], "x": 11, "y": 3, "h": 2}
]
},
"LAYOUT_split_3x5_3": {
"layout": [
{"matrix": [0, 1], "x":0, "y":0},
{"matrix": [0, 2], "x":1, "y":0},
{"matrix": [0, 3], "x":2, "y":0},
{"matrix": [0, 4], "x":3, "y":0},
{"matrix": [0, 5], "x":4, "y":0},

{"matrix": [5, 0], "x":10, "y":0},
{"matrix": [5, 1], "x":11, "y":0},
{"matrix": [5, 2], "x":12, "y":0},
{"matrix": [5, 3], "x":13, "y":0},
{"matrix": [5, 4], "x":14, "y":0},

{"matrix": [1, 1], "x":0, "y":1},
{"matrix": [1, 2], "x":1, "y":1},
{"matrix": [1, 3], "x":2, "y":1},
{"matrix": [1, 4], "x":3, "y":1},
{"matrix": [1, 5], "x":4, "y":1},

{"matrix": [6, 0], "x":10, "y":1},
{"matrix": [6, 1], "x":11, "y":1},
{"matrix": [6, 2], "x":12, "y":1},
{"matrix": [6, 3], "x":13, "y":1},
{"matrix": [6, 4], "x":14, "y":1},

{"matrix": [2, 1], "x":0, "y":2},
{"matrix": [2, 2], "x":1, "y":2},
{"matrix": [2, 3], "x":2, "y":2},
{"matrix": [2, 4], "x":3, "y":2},
{"matrix": [2, 5], "x":4, "y":2},

{"matrix": [7, 0], "x":10, "y":2},
{"matrix": [7, 1], "x":11, "y":2},
{"matrix": [7, 2], "x":12, "y":2},
{"matrix": [7, 3], "x":13, "y":2},
{"matrix": [7, 4], "x":14, "y":2},

{"matrix": [4, 2], "x": 4, "y": 3, "h": 2},
{"matrix": [4, 3], "x": 5, "y": 3.25, "h": 1.75},
{"matrix": [4, 4], "x": 6, "y": 3.5, "h": 1.5},

{"matrix": [9, 1], "x": 8, "y": 3.5, "h": 1.5},
{"matrix": [9, 2], "x": 9, "y": 3.25, "h": 1.75},
{"matrix": [9, 3], "x": 10, "y": 5, "h": 2}
]
}
}
}
33 changes: 33 additions & 0 deletions keyboards/handwired/dactyl_lightcycle/keymaps/default/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
Copyright 2020 Ralph Azucena <[email protected]>

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

/* mouse config */
#define MOUSEKEY_DELAY 0
// Lowering MOUSEKEY_INTERVAL raises the cursor speed significantly, you may want to lower MOUSEKEY_MAX_SPEED (default: 10)
#define MOUSEKEY_INTERVAL 20
#define MOUSEKEY_MAX_SPEED 7
#define MOUSEKEY_WHEEL_DELAY 0

/* layer config */
#define TAPPING_TOGGLE 1

/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
38 changes: 38 additions & 0 deletions keyboards/handwired/dactyl_lightcycle/keymaps/default/keymap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"keyboard": "handwired/dactyl_lightcycle",
"version": 1,
"author": "dunk2k",
"notes": "This file is a keymap(.json) file for handwired/dactyl_lightcycle",
"keymap": "default",
"layout": "LAYOUT",
"layers": [
[
"KC_ESC", "KC_Q", "KC_W", "KC_E", "KC_R", "KC_T", "KC_Y", "KC_U", "KC_I", "KC_O", "KC_P", "KC_BSLS",
"KC_TAB", "KC_A", "KC_S", "KC_D", "KC_F", "KC_G", "KC_H", "KC_J", "KC_K", "KC_L", "KC_SCLN", "KC_QUOT",
"KC_LALT", "KC_Z", "KC_X", "KC_C", "KC_V", "KC_B", "KC_DEL", "KC_LGUI", "KC_RGUI", "KC_BSPC", "KC_N", "KC_M", "KC_COMM", "KC_DOT", "KC_SLSH", "KC_LALT",
"KC_LCTL", "KC_MINS", "KC_EQL", "KC_LEFT", "KC_RGHT", "KC_UP", "KC_DOWN", "KC_LBRC", "KC_RBRC", "KC_RSFT",
"LT(1, KC_HOME)", "KC_SPC", "KC_LSFT", "KC_RCTL", "KC_ENT", "LT(2, KC_END)"
],
[
"RCS(KC_ESC)", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NLCK", "KC_P7", "KC_P8", "KC_P9", "KC_PMNS", "KC_TRNS",
"KC_CAPS", "KC_SLCK", "KC_INS", "KC_PAUS", "KC_PSCR", "KC_NO", "KC_PAST", "KC_P4", "KC_P5", "KC_P6", "KC_PPLS", "KC_TRNS",
"KC_TRNS", "KC_NO", "KC_NO", "S(KC_HOME)", "S(KC_END)", "KC_NO", "KC_TRNS", "KC_TRNS", "C(KC_BSPC)", "KC_PSLS", "KC_P1", "KC_P2", "KC_P3", "KC_PENT", "KC_TRNS",
"KC_TRNS", "KC_NO", "KC_NO", "LSG(KC_TAB)", "G(KC_TAB)", "KC_PCMM", "KC_P0", "KC_PDOT", "KC_PEQL", "KC_TRNS",
"KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_RSFT", "MO(3)"
],
[
"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_GRV", "KC_1", "KC_2", "KC_3", "KC_4", "KC_5", "KC_6", "KC_7", "KC_8", "KC_9", "KC_0", "KC_TILD",
"KC_TRNS", "KC_EXLM", "KC_AT", "KC_HASH", "KC_DLR", "KC_LPRN", "C(KC_DEL)", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_RPRN", "KC_PERC", "KC_CIRC", "KC_AMPR", "KC_ASTR", "KC_TRNS",
"KC_TRNS", "KC_UNDS", "KC_PLUS", "KC_NO", "A(KC_TAB)", "KC_PGUP", "KC_PGDN", "KC_LCBR", "KC_RCBR", "KC_TRNS",
"MO(3)", "KC_LCTL", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"
],
[
"KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_VOLU", "KC_NO", "KC_NO", "KC_NO", "KC_NO",
"KC_NO", "QK_BOOT", "KC_SLEP", "KC_MSTP", "KC_MPLY", "KC_NO", "KC_NO", "KC_MUTE", "KC_NO", "KC_NO", "AG_TOGG", "KC_NO",
"KC_NO", "KC_NO", "KC_NO", "KC_MRWD", "KC_MFFD", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_VOLD", "KC_NO", "KC_NO", "KC_NO", "KC_NO",
"KC_NO", "KC_NO", "KC_NO", "KC_MNXT", "KC_MNXT", "KC_BRIU", "KC_BRID", "KC_NO", "KC_NO", "KC_NO",
"KC_TRNS", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_TRNS"
]
]
}
33 changes: 33 additions & 0 deletions keyboards/handwired/dactyl_lightcycle/keymaps/via/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
Copyright 2020 Ralph Azucena <[email protected]>

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

/* mouse config */
#define MOUSEKEY_DELAY 0
// Lowering MOUSEKEY_INTERVAL raises the cursor speed significantly, you may want to lower MOUSEKEY_MAX_SPEED (default: 10)
#define MOUSEKEY_INTERVAL 20
#define MOUSEKEY_MAX_SPEED 7
#define MOUSEKEY_WHEEL_DELAY 0

/* layer config */
#define TAPPING_TOGGLE 1

/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
38 changes: 38 additions & 0 deletions keyboards/handwired/dactyl_lightcycle/keymaps/via/keymap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"keyboard": "handwired/dactyl_lightcycle",
"version": 1,
"author": "dunk2k",
"notes": "This file is a keymap(.json) file for handwired/dactyl_lightcycle",
"keymap": "via",
"layout": "LAYOUT",
"layers": [
[
"KC_ESC", "KC_Q", "KC_W", "KC_E", "KC_R", "KC_T", "KC_Y", "KC_U", "KC_I", "KC_O", "KC_P", "KC_BSLS",
"KC_TAB", "KC_A", "KC_S", "KC_D", "KC_F", "KC_G", "KC_H", "KC_J", "KC_K", "KC_L", "KC_SCLN", "KC_QUOT",
"KC_LALT", "KC_Z", "KC_X", "KC_C", "KC_V", "KC_B", "KC_DEL", "KC_LGUI", "KC_RGUI", "KC_BSPC", "KC_N", "KC_M", "KC_COMM", "KC_DOT", "KC_SLSH", "KC_LALT",
"KC_LCTL", "KC_MINS", "KC_EQL", "KC_LEFT", "KC_RGHT", "KC_UP", "KC_DOWN", "KC_LBRC", "KC_RBRC", "KC_RSFT",
"LT(1, KC_HOME)", "KC_SPC", "KC_LSFT", "KC_RCTL", "KC_ENT", "LT(2, KC_END)"
],
[
"RCS(KC_ESC)", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NLCK", "KC_P7", "KC_P8", "KC_P9", "KC_PMNS", "KC_TRNS",
"KC_CAPS", "KC_SLCK", "KC_INS", "KC_PAUS", "KC_PSCR", "KC_NO", "KC_PAST", "KC_P4", "KC_P5", "KC_P6", "KC_PPLS", "KC_TRNS",
"KC_TRNS", "KC_NO", "KC_NO", "S(KC_HOME)", "S(KC_END)", "KC_NO", "KC_TRNS", "KC_TRNS", "C(KC_BSPC)", "KC_PSLS", "KC_P1", "KC_P2", "KC_P3", "KC_PENT", "KC_TRNS",
"KC_TRNS", "KC_NO", "KC_NO", "LSG(KC_TAB)", "G(KC_TAB)", "KC_PCMM", "KC_P0", "KC_PDOT", "KC_PEQL", "KC_TRNS",
"KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_RSFT", "MO(3)"
],
[
"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_GRV", "KC_1", "KC_2", "KC_3", "KC_4", "KC_5", "KC_6", "KC_7", "KC_8", "KC_9", "KC_0", "KC_TILD",
"KC_TRNS", "KC_EXLM", "KC_AT", "KC_HASH", "KC_DLR", "KC_LPRN", "C(KC_DEL)", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_RPRN", "KC_PERC", "KC_CIRC", "KC_AMPR", "KC_ASTR", "KC_TRNS",
"KC_TRNS", "KC_UNDS", "KC_PLUS", "KC_NO", "A(KC_TAB)", "KC_PGUP", "KC_PGDN", "KC_LCBR", "KC_RCBR", "KC_TRNS",
"MO(3)", "KC_LCTL", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"
],
[
"KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_VOLU", "KC_NO", "KC_NO", "KC_NO", "KC_NO",
"KC_NO", "QK_BOOT", "KC_SLEP", "KC_MSTP", "KC_MPLY", "KC_NO", "KC_NO", "KC_MUTE", "KC_NO", "KC_NO", "AG_TOGG", "KC_NO",
"KC_NO", "KC_NO", "KC_NO", "KC_MRWD", "KC_MFFD", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_VOLD", "KC_NO", "KC_NO", "KC_NO", "KC_NO",
"KC_NO", "KC_NO", "KC_NO", "KC_MNXT", "KC_MNXT", "KC_BRIU", "KC_BRID", "KC_NO", "KC_NO", "KC_NO",
"KC_TRNS", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_TRNS"
]
]
}
1 change: 1 addition & 0 deletions keyboards/handwired/dactyl_lightcycle/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VIA_ENABLE = yes
Loading