From a8a4e1d06631b692e5545f6ac9f63a9f62b3f4ee Mon Sep 17 00:00:00 2001 From: jackytrabbit Date: Sun, 16 Aug 2020 01:41:47 +0800 Subject: [PATCH 01/14] Add support for keyboard 'Bolt' Add support for keyboard 'Bolt' --- keyboards/lazydesigners/bolt/bolt.c | 1 + keyboards/lazydesigners/bolt/bolt.h | 32 ++++++++++ keyboards/lazydesigners/bolt/config.h | 48 +++++++++++++++ keyboards/lazydesigners/bolt/info.json | 60 +++++++++++++++++++ .../bolt/keymaps/default/keymap.c | 40 +++++++++++++ keyboards/lazydesigners/bolt/readme.md | 13 ++++ keyboards/lazydesigners/bolt/rules.mk | 26 ++++++++ 7 files changed, 220 insertions(+) create mode 100644 keyboards/lazydesigners/bolt/bolt.c create mode 100644 keyboards/lazydesigners/bolt/bolt.h create mode 100644 keyboards/lazydesigners/bolt/config.h create mode 100644 keyboards/lazydesigners/bolt/info.json create mode 100644 keyboards/lazydesigners/bolt/keymaps/default/keymap.c create mode 100644 keyboards/lazydesigners/bolt/readme.md create mode 100644 keyboards/lazydesigners/bolt/rules.mk diff --git a/keyboards/lazydesigners/bolt/bolt.c b/keyboards/lazydesigners/bolt/bolt.c new file mode 100644 index 000000000000..074d6bfd5ae0 --- /dev/null +++ b/keyboards/lazydesigners/bolt/bolt.c @@ -0,0 +1 @@ +#include "bolt.h" diff --git a/keyboards/lazydesigners/bolt/bolt.h b/keyboards/lazydesigners/bolt/bolt.h new file mode 100644 index 000000000000..e06f10338b52 --- /dev/null +++ b/keyboards/lazydesigners/bolt/bolt.h @@ -0,0 +1,32 @@ +/* +Copyright 2020 LAZYDESIGNERS + +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 . +*/ + +#pragma once + +#include "quantum.h" + +#define LAYOUT( \ + K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \ + K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \ + K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \ + K300, K301, K303, K304, K306, K307, K308, K309, K310, K311 \ +) { \ + { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \ + { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111 }, \ + { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211 }, \ + { K300, K301, KC_NO, K303, K304, KC_NO, K306, K307, K308, K309, K310, K311 } \ +} diff --git a/keyboards/lazydesigners/bolt/config.h b/keyboards/lazydesigners/bolt/config.h new file mode 100644 index 000000000000..0b11706cd2dc --- /dev/null +++ b/keyboards/lazydesigners/bolt/config.h @@ -0,0 +1,48 @@ +/* +Copyright 2020 LAZYDESIGNERS + +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 . +*/ + +#pragma once + +#include "config_common.h" + +/* USB Device descriptor parameter */ +#define VENDOR_ID 0x4C44 // "LD" +#define PRODUCT_ID 0x0041 +#define DEVICE_VER 0x0001 +#define MANUFACTURER LAZYDESIGNERS +#define PRODUCT Bolt +#define DESCRIPTION A 40% ergo keyboard + +/* key matrix size */ +#define MATRIX_ROWS 4 +#define MATRIX_COLS 12 + +#define MATRIX_ROW_PINS { F0, C7, B6, D5 } +#define MATRIX_COL_PINS { F1, F4, F5, F6, F7, C6, B3, B7, D0, D3, D2, D1 } + +#define DIODE_DIRECTION COL2ROW + +/* RBG underglow */ +#define RGB_DI_PIN E6 +#ifdef RGB_DI_PIN + #define RGBLIGHT_ANIMATIONS + #define RGBLIGHT_SLEEP + #define RGBLED_NUM 13 + /* #define RGBLIGHT_HUE_STEP 8 */ + /* #define RGBLIGHT_SAT_STEP 8 */ + /* #define RGBLIGHT_VAL_STEP 8 */ +#endif diff --git a/keyboards/lazydesigners/bolt/info.json b/keyboards/lazydesigners/bolt/info.json new file mode 100644 index 000000000000..547226c52fc3 --- /dev/null +++ b/keyboards/lazydesigners/bolt/info.json @@ -0,0 +1,60 @@ +{ + "keyboard_name": "Bolt", + "url": "http://lazydesigners.cn", + "maintainer": "LAZYDESIGNERS", + "width": 14.4, + "height": 4.639663807406788, + "layouts": { + "LAYOUT": { + "key_count": 46, + "layout": [ + {"label":"K000 (F0,F1)", "x":0.8, "y":0.44999999999999996}, + {"label":"K001 (F0,F4)", "x":1.8, "y":0.44999999999999996}, + {"label":"K002 (F0,F5)", "x":3, "y":0}, + {"label":"K003 (F0,F6)", "x":4, "y":0}, + {"label":"K004 (F0,F7)", "x":5, "y":0}, + {"label":"K005 (F0,C6)", "x":6, "y":0}, + {"label":"K006 (F0,B3)", "x":7.5, "y":2.06}, + {"label":"K007 (F0,B7)", "x":8.5, "y":2.06}, + {"label":"K008 (F0,D0)", "x":9.5, "y":2.06}, + {"label":"K009 (F0,D3)", "x":10.5, "y":2.06}, + {"label":"K010 (F0,D2)", "x":11.8, "y":0.4}, + {"label":"K011 (F0,D1)", "x":12.8, "y":0.4, "w":1.75}, + {"label":"K100 (C7,F1)", "x":0.65, "y":1.45, "w":1.25}, + {"label":"K101 (C7,F4)", "x":1.9, "y":1.45}, + {"label":"K102 (C7,F5)", "x":3.25, "y":1}, + {"label":"K103 (C7,F6)", "x":4.25, "y":1}, + {"label":"K104 (C7,F7)", "x":5.25, "y":1}, + {"label":"K105 (C7,C6)", "x":6.25, "y":1}, + {"label":"K106 (C7,B3)", "x":7.75, "y":3.06}, + {"label":"K107 (C7,B7)", "x":8.75, "y":3.06}, + {"label":"K108 (C7,D0)", "x":9.75, "y":3.06}, + {"label":"K109 (C7,D3)", "x":10.75, "y":3.06}, + {"label":"K110 (C7,D2)", "x":12.2, "y":1.4}, + {"label":"K111 (C7,D1)", "x":13.2, "y":1.4, "w":1.5}, + {"label":"K200 (B6,F1)", "x":0.45, "y":2.45, "w":1.75}, + {"label":"K201 (B6,F4)", "x":2.2, "y":2.45}, + {"label":"K202 (B6,F5)", "x":3.75, "y":2}, + {"label":"K203 (B6,F6)", "x":4.75, "y":2}, + {"label":"K204 (B6,F7)", "x":5.75, "y":2}, + {"label":"K205 (B6,C6)", "x":6.75, "y":2}, + {"label":"K206 (B6,B3)", "x":7.25, "y":4.0600000000000005}, + {"label":"K207 (B6,B7)", "x":8.25, "y":4.0600000000000005}, + {"label":"K208 (B6,D0)", "x":9.25, "y":4.0600000000000005}, + {"label":"K209 (B6,D3)", "x":10.25, "y":4.0600000000000005}, + {"label":"K210 (B6,D2)", "x":11.85, "y":2.4000000000000004}, + {"label":"K211 (B6,D1)", "x":12.85, "y":2.4000000000000004}, + {"label":"K300 (D5,F1)", "x":0.45, "y":3.45, "w":1.25}, + {"label":"K301 (D5,F4)", "x":1.7, "y":3.45, "w":1.25}, + {"label":"K303 (D5,F6)", "x":4.25, "y":3, "w":1.25}, + {"label":"K304 (D5,F7)", "x":5.5, "y":3, "w":2.25}, + {"label":"K306 (D5,B3)", "x":7.25, "y":5.0600000000000005, "w":2.25}, + {"label":"K307 (D5,B7)", "x":9.5, "y":5.0600000000000005} + {"label":"K308 (D5,D0)", "x":11.85, "y":3.4000000000000004}, + {"label":"K309 (D5,D3)", "x":12.85, "y":3.4000000000000004}, + {"label":"K310 (D5,D2)", "x":13.85, "y":3.4000000000000004}, + {"label":"K311 (D5,D1)", "x":13.85, "y":2.4000000000000004}, + ] + } + } +} diff --git a/keyboards/lazydesigners/bolt/keymaps/default/keymap.c b/keyboards/lazydesigners/bolt/keymaps/default/keymap.c new file mode 100644 index 000000000000..f4054858643a --- /dev/null +++ b/keyboards/lazydesigners/bolt/keymaps/default/keymap.c @@ -0,0 +1,40 @@ +/* Copyright 2020 LAZYDESIGNERS + * + * 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 . + */ +#include QMK_KEYBOARD_H + +#define LT2_TAB LT(2, KC_TAB) +#define LT1_SPC LT(1, KC_SPC) + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + KC_GESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, + LT2_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, + KC_LCTL, KC_LALT, KC_LGUI, LT1_SPC, KC_SPC, LT1_SPC, KC_LEFT, KC_DOWN, KC_RGHT, MO(2) + ), + [1] = LAYOUT( + RESET, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_NO, + KC_INS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, + KC_NO, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_VOLD, KC_MUTE, KC_VOLU, KC_TRNS, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO + ), + [2] = LAYOUT( + RESET, 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_NO, 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_NO, 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_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO + ), +}; diff --git a/keyboards/lazydesigners/bolt/readme.md b/keyboards/lazydesigners/bolt/readme.md new file mode 100644 index 000000000000..f8ef0283b364 --- /dev/null +++ b/keyboards/lazydesigners/bolt/readme.md @@ -0,0 +1,13 @@ +# Bolt + +![bolt](https://i.loli.net/2020/07/15/whZWXe1Il2cEftR.jpg) + +A 40% ergo keyboard designed and produced by [LAZYDESIGNERS](http://lazydesigners.cn). + +Keyboard Maintainer: [LAZYDESIGNERS](https://github.com/jackytrabbit) + +Hardware Supported: Bolt + +Hardware Availability: Check [LAZYDESIGNERS's homepage.](http://lazydesigners.cn) + +To enter the bootloader, either push the RESET button on the PCB or the RESET button on the FN layer. diff --git a/keyboards/lazydesigners/bolt/rules.mk b/keyboards/lazydesigners/bolt/rules.mk new file mode 100644 index 000000000000..265d1138c4de --- /dev/null +++ b/keyboards/lazydesigners/bolt/rules.mk @@ -0,0 +1,26 @@ + +# MCU name +MCU = atmega32u4 + +# Bootloader selection +BOOTLOADER = atmel-dfu + +# Build Options +# change yes to no to disable +# +BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration +MOUSEKEY_ENABLE = yes # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and System control +CONSOLE_ENABLE = no # Console for debug +COMMAND_ENABLE = no # Commands for debug and configuration +# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE +SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend +# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work +NKRO_ENABLE = no # USB Nkey Rollover +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow +MIDI_ENABLE = no # MIDI support +UNICODE_ENABLE = no # Unicode +BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID +AUDIO_ENABLE = no # Audio output on port C6 +FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches From 8560ca15985f3421001380a5d1dc23ebd2984725 Mon Sep 17 00:00:00 2001 From: jackytrabbit Date: Sun, 16 Aug 2020 03:17:41 +0800 Subject: [PATCH 02/14] Update info.json --- keyboards/lazydesigners/bolt/info.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keyboards/lazydesigners/bolt/info.json b/keyboards/lazydesigners/bolt/info.json index 547226c52fc3..8160b6bf6617 100644 --- a/keyboards/lazydesigners/bolt/info.json +++ b/keyboards/lazydesigners/bolt/info.json @@ -49,11 +49,11 @@ {"label":"K303 (D5,F6)", "x":4.25, "y":3, "w":1.25}, {"label":"K304 (D5,F7)", "x":5.5, "y":3, "w":2.25}, {"label":"K306 (D5,B3)", "x":7.25, "y":5.0600000000000005, "w":2.25}, - {"label":"K307 (D5,B7)", "x":9.5, "y":5.0600000000000005} + {"label":"K307 (D5,B7)", "x":9.5, "y":5.0600000000000005}, {"label":"K308 (D5,D0)", "x":11.85, "y":3.4000000000000004}, {"label":"K309 (D5,D3)", "x":12.85, "y":3.4000000000000004}, {"label":"K310 (D5,D2)", "x":13.85, "y":3.4000000000000004}, - {"label":"K311 (D5,D1)", "x":13.85, "y":2.4000000000000004}, + {"label":"K311 (D5,D1)", "x":13.85, "y":2.4000000000000004} ] } } From a7c36d8db002645733a8e89135ce27105ca1577f Mon Sep 17 00:00:00 2001 From: jackytrabbit Date: Sun, 16 Aug 2020 20:36:15 +0800 Subject: [PATCH 03/14] Update info.json --- keyboards/lazydesigners/bolt/info.json | 92 +++++++++++++------------- 1 file changed, 46 insertions(+), 46 deletions(-) diff --git a/keyboards/lazydesigners/bolt/info.json b/keyboards/lazydesigners/bolt/info.json index 8160b6bf6617..049f2c9f110d 100644 --- a/keyboards/lazydesigners/bolt/info.json +++ b/keyboards/lazydesigners/bolt/info.json @@ -8,52 +8,52 @@ "LAYOUT": { "key_count": 46, "layout": [ - {"label":"K000 (F0,F1)", "x":0.8, "y":0.44999999999999996}, - {"label":"K001 (F0,F4)", "x":1.8, "y":0.44999999999999996}, - {"label":"K002 (F0,F5)", "x":3, "y":0}, - {"label":"K003 (F0,F6)", "x":4, "y":0}, - {"label":"K004 (F0,F7)", "x":5, "y":0}, - {"label":"K005 (F0,C6)", "x":6, "y":0}, - {"label":"K006 (F0,B3)", "x":7.5, "y":2.06}, - {"label":"K007 (F0,B7)", "x":8.5, "y":2.06}, - {"label":"K008 (F0,D0)", "x":9.5, "y":2.06}, - {"label":"K009 (F0,D3)", "x":10.5, "y":2.06}, - {"label":"K010 (F0,D2)", "x":11.8, "y":0.4}, - {"label":"K011 (F0,D1)", "x":12.8, "y":0.4, "w":1.75}, - {"label":"K100 (C7,F1)", "x":0.65, "y":1.45, "w":1.25}, - {"label":"K101 (C7,F4)", "x":1.9, "y":1.45}, - {"label":"K102 (C7,F5)", "x":3.25, "y":1}, - {"label":"K103 (C7,F6)", "x":4.25, "y":1}, - {"label":"K104 (C7,F7)", "x":5.25, "y":1}, - {"label":"K105 (C7,C6)", "x":6.25, "y":1}, - {"label":"K106 (C7,B3)", "x":7.75, "y":3.06}, - {"label":"K107 (C7,B7)", "x":8.75, "y":3.06}, - {"label":"K108 (C7,D0)", "x":9.75, "y":3.06}, - {"label":"K109 (C7,D3)", "x":10.75, "y":3.06}, - {"label":"K110 (C7,D2)", "x":12.2, "y":1.4}, - {"label":"K111 (C7,D1)", "x":13.2, "y":1.4, "w":1.5}, - {"label":"K200 (B6,F1)", "x":0.45, "y":2.45, "w":1.75}, - {"label":"K201 (B6,F4)", "x":2.2, "y":2.45}, - {"label":"K202 (B6,F5)", "x":3.75, "y":2}, - {"label":"K203 (B6,F6)", "x":4.75, "y":2}, - {"label":"K204 (B6,F7)", "x":5.75, "y":2}, - {"label":"K205 (B6,C6)", "x":6.75, "y":2}, - {"label":"K206 (B6,B3)", "x":7.25, "y":4.0600000000000005}, - {"label":"K207 (B6,B7)", "x":8.25, "y":4.0600000000000005}, - {"label":"K208 (B6,D0)", "x":9.25, "y":4.0600000000000005}, - {"label":"K209 (B6,D3)", "x":10.25, "y":4.0600000000000005}, - {"label":"K210 (B6,D2)", "x":11.85, "y":2.4000000000000004}, - {"label":"K211 (B6,D1)", "x":12.85, "y":2.4000000000000004}, - {"label":"K300 (D5,F1)", "x":0.45, "y":3.45, "w":1.25}, - {"label":"K301 (D5,F4)", "x":1.7, "y":3.45, "w":1.25}, - {"label":"K303 (D5,F6)", "x":4.25, "y":3, "w":1.25}, - {"label":"K304 (D5,F7)", "x":5.5, "y":3, "w":2.25}, - {"label":"K306 (D5,B3)", "x":7.25, "y":5.0600000000000005, "w":2.25}, - {"label":"K307 (D5,B7)", "x":9.5, "y":5.0600000000000005}, - {"label":"K308 (D5,D0)", "x":11.85, "y":3.4000000000000004}, - {"label":"K309 (D5,D3)", "x":12.85, "y":3.4000000000000004}, - {"label":"K310 (D5,D2)", "x":13.85, "y":3.4000000000000004}, - {"label":"K311 (D5,D1)", "x":13.85, "y":2.4000000000000004} + {"label":"K000 (F0,F1)", "x":0, "y":0}, + {"label":"K001 (F0,F4)", "x":1, "y":0}, + {"label":"K002 (F0,F5)", "x":2, "y":0}, + {"label":"K003 (F0,F6)", "x":3, "y":0}, + {"label":"K004 (F0,F7)", "x":4, "y":0}, + {"label":"K005 (F0,C6)", "x":5, "y":0}, + {"label":"K006 (F0,B3)", "x":7.5, "y":0}, + {"label":"K007 (F0,B7)", "x":8.5, "y":0}, + {"label":"K008 (F0,D0)", "x":9.5, "y":0}, + {"label":"K009 (F0,D3)", "x":10.5, "y":0}, + {"label":"K010 (F0,D2)", "x":11.5, "y":0}, + {"label":"K011 (F0,D1)", "x":12.5, "y":0, "w":1.75}, + {"label":"K100 (C7,F1)", "x":0, "y":1, "w":1.25}, + {"label":"K101 (C7,F4)", "x":1, "y":1}, + {"label":"K102 (C7,F5)", "x":2, "y":1}, + {"label":"K103 (C7,F6)", "x":3, "y":1}, + {"label":"K104 (C7,F7)", "x":4, "y":1}, + {"label":"K105 (C7,C6)", "x":5, "y":1}, + {"label":"K106 (C7,B3)", "x":7.75, "y":1}, + {"label":"K107 (C7,B7)", "x":8.75, "y":1}, + {"label":"K108 (C7,D0)", "x":9.75, "y":1}, + {"label":"K109 (C7,D3)", "x":10.75, "y":1}, + {"label":"K110 (C7,D2)", "x":11.75, "y":1}, + {"label":"K111 (C7,D1)", "x":12.75, "y":1, "w":1.5}, + {"label":"K200 (B6,F1)", "x":0, "y":2, "w":1.75}, + {"label":"K201 (B6,F4)", "x":1.75, "y":2}, + {"label":"K202 (B6,F5)", "x":2.75, "y":2}, + {"label":"K203 (B6,F6)", "x":3.75, "y":2}, + {"label":"K204 (B6,F7)", "x":4.75, "y":2}, + {"label":"K205 (B6,C6)", "x":5.75, "y":2}, + {"label":"K206 (B6,B3)", "x":7.25, "y":2}, + {"label":"K207 (B6,B7)", "x":8.25, "y":2}, + {"label":"K208 (B6,D0)", "x":9.25, "y":2}, + {"label":"K209 (B6,D3)", "x":10.25, "y":2}, + {"label":"K210 (B6,D2)", "x":11.25, "y":2}, + {"label":"K211 (B6,D1)", "x":12.25, "y":2}, + {"label":"K300 (D5,F1)", "x":0, "y":3, "w":1.25}, + {"label":"K301 (D5,F4)", "x":1.25, "y":3, "w":1.25}, + {"label":"K303 (D5,F6)", "x":3.25, "y":3, "w":1.25}, + {"label":"K304 (D5,F7)", "x":4.5, "y":3, "w":2.25}, + {"label":"K306 (D5,B3)", "x":7.25, "y":3, "w":2.25}, + {"label":"K307 (D5,B7)", "x":9.5, "y":3}, + {"label":"K308 (D5,D0)", "x":11.25, "y":3}, + {"label":"K309 (D5,D3)", "x":12.25, "y":3}, + {"label":"K310 (D5,D2)", "x":13.25, "y":3}, + {"label":"K311 (D5,D1)", "x":13.25, "y":2} ] } } From 7c17904873abadd687bad3b18275cd0f3fcbb666 Mon Sep 17 00:00:00 2001 From: jackytrabbit Date: Sun, 16 Aug 2020 20:40:10 +0800 Subject: [PATCH 04/14] Update keyboards/lazydesigners/bolt/config.h Co-authored-by: Joel Challis --- keyboards/lazydesigners/bolt/config.h | 1 - 1 file changed, 1 deletion(-) diff --git a/keyboards/lazydesigners/bolt/config.h b/keyboards/lazydesigners/bolt/config.h index 0b11706cd2dc..37006c19e3d6 100644 --- a/keyboards/lazydesigners/bolt/config.h +++ b/keyboards/lazydesigners/bolt/config.h @@ -25,7 +25,6 @@ along with this program. If not, see . #define DEVICE_VER 0x0001 #define MANUFACTURER LAZYDESIGNERS #define PRODUCT Bolt -#define DESCRIPTION A 40% ergo keyboard /* key matrix size */ #define MATRIX_ROWS 4 From 48354f873342eeda2dd2ce459c0c568398089500 Mon Sep 17 00:00:00 2001 From: jackytrabbit Date: Sun, 16 Aug 2020 20:40:44 +0800 Subject: [PATCH 05/14] Update keyboards/lazydesigners/bolt/rules.mk Co-authored-by: Joel Challis --- keyboards/lazydesigners/bolt/rules.mk | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/keyboards/lazydesigners/bolt/rules.mk b/keyboards/lazydesigners/bolt/rules.mk index 265d1138c4de..38ce53e3096f 100644 --- a/keyboards/lazydesigners/bolt/rules.mk +++ b/keyboards/lazydesigners/bolt/rules.mk @@ -1,4 +1,3 @@ - # MCU name MCU = atmega32u4 @@ -11,16 +10,13 @@ BOOTLOADER = atmel-dfu BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration MOUSEKEY_ENABLE = yes # Mouse keys EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration +CONSOLE_ENABLE = no # Console for debug +COMMAND_ENABLE = no # Commands for debug and configuration # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work NKRO_ENABLE = no # USB Nkey Rollover BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -MIDI_ENABLE = no # MIDI support -UNICODE_ENABLE = no # Unicode -BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID -AUDIO_ENABLE = no # Audio output on port C6 -FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches +BLUETOOTH_ENABLE = no # Enable Bluetooth +AUDIO_ENABLE = no # Audio output From 131ab624a17fb7d86ef1c1885c7a96a655d49ae5 Mon Sep 17 00:00:00 2001 From: jackytrabbit Date: Sun, 16 Aug 2020 20:41:05 +0800 Subject: [PATCH 06/14] Update keyboards/lazydesigners/bolt/readme.md Co-authored-by: Joel Challis --- keyboards/lazydesigners/bolt/readme.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/keyboards/lazydesigners/bolt/readme.md b/keyboards/lazydesigners/bolt/readme.md index f8ef0283b364..d89bca097e8e 100644 --- a/keyboards/lazydesigners/bolt/readme.md +++ b/keyboards/lazydesigners/bolt/readme.md @@ -4,10 +4,18 @@ A 40% ergo keyboard designed and produced by [LAZYDESIGNERS](http://lazydesigners.cn). -Keyboard Maintainer: [LAZYDESIGNERS](https://github.com/jackytrabbit) +* Keyboard Maintainer: [LAZYDESIGNERS](https://github.com/jackytrabbit) +* Hardware Supported: Bolt +* Hardware Availability: Check [LAZYDESIGNERS's homepage.](http://lazydesigners.cn) -Hardware Supported: Bolt +Make example for this keyboard (after setting up your build environment): -Hardware Availability: Check [LAZYDESIGNERS's homepage.](http://lazydesigners.cn) + make lazydesigners/bolt:default -To enter the bootloader, either push the RESET button on the PCB or the RESET button on the FN layer. +Flashing example for this keyboard: + + make lazydesigners/bolt:default:flash + +**Reset Key:** To enter the bootloader, either push the RESET button on the PCB or the RESET button on the FN layer. + +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). From d1f0b9b2e743cc46c8f9d83fdd24cd615dbfe114 Mon Sep 17 00:00:00 2001 From: jackytrabbit Date: Sun, 16 Aug 2020 21:12:19 +0800 Subject: [PATCH 07/14] Update info.json --- keyboards/lazydesigners/bolt/info.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keyboards/lazydesigners/bolt/info.json b/keyboards/lazydesigners/bolt/info.json index 049f2c9f110d..3d3dd693366e 100644 --- a/keyboards/lazydesigners/bolt/info.json +++ b/keyboards/lazydesigners/bolt/info.json @@ -2,8 +2,8 @@ "keyboard_name": "Bolt", "url": "http://lazydesigners.cn", "maintainer": "LAZYDESIGNERS", - "width": 14.4, - "height": 4.639663807406788, + "width": 14.25, + "height": 4, "layouts": { "LAYOUT": { "key_count": 46, From 30e5331e0c09100a12ea692d5d78ac5c800b32e6 Mon Sep 17 00:00:00 2001 From: jackytrabbit Date: Mon, 17 Aug 2020 10:17:20 +0800 Subject: [PATCH 08/14] Update keyboards/lazydesigners/bolt/info.json Co-authored-by: Ryan --- keyboards/lazydesigners/bolt/info.json | 1 - 1 file changed, 1 deletion(-) diff --git a/keyboards/lazydesigners/bolt/info.json b/keyboards/lazydesigners/bolt/info.json index 3d3dd693366e..51c978178443 100644 --- a/keyboards/lazydesigners/bolt/info.json +++ b/keyboards/lazydesigners/bolt/info.json @@ -6,7 +6,6 @@ "height": 4, "layouts": { "LAYOUT": { - "key_count": 46, "layout": [ {"label":"K000 (F0,F1)", "x":0, "y":0}, {"label":"K001 (F0,F4)", "x":1, "y":0}, From 24feeed9c280804ce15f629c2c3759239d38f8e5 Mon Sep 17 00:00:00 2001 From: jackytrabbit Date: Wed, 19 Aug 2020 09:13:09 +0800 Subject: [PATCH 09/14] Update keyboards/lazydesigners/bolt/bolt.h Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> --- keyboards/lazydesigners/bolt/bolt.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/keyboards/lazydesigners/bolt/bolt.h b/keyboards/lazydesigners/bolt/bolt.h index e06f10338b52..412ed7b09966 100644 --- a/keyboards/lazydesigners/bolt/bolt.h +++ b/keyboards/lazydesigners/bolt/bolt.h @@ -20,10 +20,10 @@ along with this program. If not, see . #include "quantum.h" #define LAYOUT( \ - K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \ - K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \ - K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \ - K300, K301, K303, K304, K306, K307, K308, K309, K310, K311 \ + K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \ + K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \ + K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K311, \ + K300, K301, K303, K304, K306, K307, K308, K309, K310 \ ) { \ { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \ { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111 }, \ From ba9b0bac2901a56569af381b0a21b4d15c3927d8 Mon Sep 17 00:00:00 2001 From: jackytrabbit Date: Wed, 19 Aug 2020 09:13:28 +0800 Subject: [PATCH 10/14] Update keyboards/lazydesigners/bolt/info.json Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> --- keyboards/lazydesigners/bolt/info.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keyboards/lazydesigners/bolt/info.json b/keyboards/lazydesigners/bolt/info.json index 51c978178443..1ebedbceda2f 100644 --- a/keyboards/lazydesigners/bolt/info.json +++ b/keyboards/lazydesigners/bolt/info.json @@ -43,6 +43,7 @@ {"label":"K209 (B6,D3)", "x":10.25, "y":2}, {"label":"K210 (B6,D2)", "x":11.25, "y":2}, {"label":"K211 (B6,D1)", "x":12.25, "y":2}, + {"label":"K311 (D5,D1)", "x":13.25, "y":2}, {"label":"K300 (D5,F1)", "x":0, "y":3, "w":1.25}, {"label":"K301 (D5,F4)", "x":1.25, "y":3, "w":1.25}, {"label":"K303 (D5,F6)", "x":3.25, "y":3, "w":1.25}, @@ -51,8 +52,7 @@ {"label":"K307 (D5,B7)", "x":9.5, "y":3}, {"label":"K308 (D5,D0)", "x":11.25, "y":3}, {"label":"K309 (D5,D3)", "x":12.25, "y":3}, - {"label":"K310 (D5,D2)", "x":13.25, "y":3}, - {"label":"K311 (D5,D1)", "x":13.25, "y":2} + {"label":"K310 (D5,D2)", "x":13.25, "y":3} ] } } From cd65cc7d9f2448a34aad316d0b7970192c90b4b0 Mon Sep 17 00:00:00 2001 From: jackytrabbit Date: Wed, 19 Aug 2020 09:14:22 +0800 Subject: [PATCH 11/14] Update keyboards/lazydesigners/bolt/keymaps/default/keymap.c Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> --- keyboards/lazydesigners/bolt/keymaps/default/keymap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/keyboards/lazydesigners/bolt/keymaps/default/keymap.c b/keyboards/lazydesigners/bolt/keymaps/default/keymap.c index f4054858643a..ffd4597ba93d 100644 --- a/keyboards/lazydesigners/bolt/keymaps/default/keymap.c +++ b/keyboards/lazydesigners/bolt/keymaps/default/keymap.c @@ -20,10 +20,10 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [0] = LAYOUT( - KC_GESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - LT2_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, - KC_LCTL, KC_LALT, KC_LGUI, LT1_SPC, KC_SPC, LT1_SPC, KC_LEFT, KC_DOWN, KC_RGHT, MO(2) + KC_GESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, + LT2_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, MO(2), + KC_LCTL, KC_LALT, KC_LGUI, LT1_SPC, KC_SPC, LT1_SPC, KC_LEFT, KC_DOWN, KC_RGHT ), [1] = LAYOUT( RESET, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_NO, From 500e86e73323b5b2cc320a467c6eb6f59c9b89e4 Mon Sep 17 00:00:00 2001 From: jackytrabbit Date: Wed, 19 Aug 2020 09:14:36 +0800 Subject: [PATCH 12/14] Update keyboards/lazydesigners/bolt/info.json Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> --- keyboards/lazydesigners/bolt/info.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/keyboards/lazydesigners/bolt/info.json b/keyboards/lazydesigners/bolt/info.json index 1ebedbceda2f..ee2756bbe7a6 100644 --- a/keyboards/lazydesigners/bolt/info.json +++ b/keyboards/lazydesigners/bolt/info.json @@ -20,11 +20,11 @@ {"label":"K010 (F0,D2)", "x":11.5, "y":0}, {"label":"K011 (F0,D1)", "x":12.5, "y":0, "w":1.75}, {"label":"K100 (C7,F1)", "x":0, "y":1, "w":1.25}, - {"label":"K101 (C7,F4)", "x":1, "y":1}, - {"label":"K102 (C7,F5)", "x":2, "y":1}, - {"label":"K103 (C7,F6)", "x":3, "y":1}, - {"label":"K104 (C7,F7)", "x":4, "y":1}, - {"label":"K105 (C7,C6)", "x":5, "y":1}, + {"label":"K101 (C7,F4)", "x":1.25, "y":1}, + {"label":"K102 (C7,F5)", "x":2.25, "y":1}, + {"label":"K103 (C7,F6)", "x":3.25, "y":1}, + {"label":"K104 (C7,F7)", "x":4.25, "y":1}, + {"label":"K105 (C7,C6)", "x":5.25, "y":1}, {"label":"K106 (C7,B3)", "x":7.75, "y":1}, {"label":"K107 (C7,B7)", "x":8.75, "y":1}, {"label":"K108 (C7,D0)", "x":9.75, "y":1}, From 855be0526a936dc6fcd8605987b3b0765f3e484f Mon Sep 17 00:00:00 2001 From: jackytrabbit Date: Wed, 19 Aug 2020 09:14:45 +0800 Subject: [PATCH 13/14] Update keyboards/lazydesigners/bolt/keymaps/default/keymap.c Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> --- keyboards/lazydesigners/bolt/keymaps/default/keymap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/keyboards/lazydesigners/bolt/keymaps/default/keymap.c b/keyboards/lazydesigners/bolt/keymaps/default/keymap.c index ffd4597ba93d..e5d3d30a54c9 100644 --- a/keyboards/lazydesigners/bolt/keymaps/default/keymap.c +++ b/keyboards/lazydesigners/bolt/keymaps/default/keymap.c @@ -26,10 +26,10 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_LCTL, KC_LALT, KC_LGUI, LT1_SPC, KC_SPC, LT1_SPC, KC_LEFT, KC_DOWN, KC_RGHT ), [1] = LAYOUT( - RESET, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_NO, - KC_INS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, - KC_NO, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - KC_VOLD, KC_MUTE, KC_VOLU, KC_TRNS, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO + RESET, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_NO, + KC_INS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, + KC_NO, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_VOLD, KC_MUTE, KC_VOLU, KC_TRNS, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO ), [2] = LAYOUT( RESET, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, From 8c5918ddd7a48b3da1a8f783c8903fbfb7c4bc15 Mon Sep 17 00:00:00 2001 From: jackytrabbit Date: Wed, 19 Aug 2020 09:15:01 +0800 Subject: [PATCH 14/14] Update keyboards/lazydesigners/bolt/keymaps/default/keymap.c Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> --- keyboards/lazydesigners/bolt/keymaps/default/keymap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/keyboards/lazydesigners/bolt/keymaps/default/keymap.c b/keyboards/lazydesigners/bolt/keymaps/default/keymap.c index e5d3d30a54c9..d410e60a530b 100644 --- a/keyboards/lazydesigners/bolt/keymaps/default/keymap.c +++ b/keyboards/lazydesigners/bolt/keymaps/default/keymap.c @@ -32,9 +32,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_VOLD, KC_MUTE, KC_VOLU, KC_TRNS, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO ), [2] = LAYOUT( - RESET, 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_NO, 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_NO, 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_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO + RESET, 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_NO, 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_NO, 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_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO ), };