Skip to content

Commit

Permalink
Add support for LAZYDESIGNERS/THE60/rev2 (qmk#13015)
Browse files Browse the repository at this point in the history
Co-authored-by: Erovia <[email protected]>
Co-authored-by: Drashna Jaelre <[email protected]>
  • Loading branch information
3 people authored and nhongooi committed Dec 5, 2021
1 parent 46c38dc commit 7bef430
Show file tree
Hide file tree
Showing 19 changed files with 823 additions and 20 deletions.
19 changes: 10 additions & 9 deletions keyboards/lazydesigners/the60/readme.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
# THE60

![THE60](https://cdn.discordapp.com/attachments/536190211240099840/549506683064287243/image0.jpg)
60% keyboards designed by LAZYDESIGNERS

A 60% custom PCB and case designed and produced by [LazyDesigners](http://lazydesigners.cn).
The PCB allows one to test a 40% layout in a 60% case.
1. [Rev1](rev1/): A special layout PCB for tray mounted case released in early 2019.
2. [Rev2](rev2/): THE60 Round 2 released in 2021. Top mounted.

Keyboard Maintainer: QMK Community
Hardware Supported: THE60 PCB
Hardware Availability: Check for GBs on [Geekhack](https://geekhack.org) and on [LazyDesigner's homepage.](http://lazydesigners.cn)
**Firmware files are SPECIFIC to each board. Firmware files from one, will not work on the other.** Please use the appropriate rev for your board.

Make example for this keyboard (after setting up your build environment):
* Keyboard Maintainer: [Jacky@LAZYDESIGNERS] (https://github.com/jackytrabbit)
* Hardware Supported: THE60 rev1, THE60 rev2
* Hardware Availability: www.lazydesigners.cn

make lazydesigners/the60:default:dfu
Make examples for this keyboard (after setting up your build environment):

To enter the bootloader, either short the pins on the PCB, use the RESET button on the FN layer or hold the Esc key while plugging in your keyboard.
make lazydesigners/the60/rev1:default
make lazydesigners/the60/rev2:default

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).
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#define PRODUCT_ID 0x0060
#define DEVICE_VER 0x0001
#define MANUFACTURER LazyDesigners
#define PRODUCT THE60
#define PRODUCT THE60 rev1

/* key matrix size */
#define MATRIX_ROWS 5
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"keyboard_name": "THE60",
"keyboard_name": "THE60 rev1",
"url": "http://lazydesigners.cn",
"maintainer": "qmk",
"width": 15,
Expand Down
File renamed without changes.
File renamed without changes.
18 changes: 18 additions & 0 deletions keyboards/lazydesigners/the60/rev1/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# THE60

![THE60](https://cdn.discordapp.com/attachments/536190211240099840/549506683064287243/image0.jpg)

A 60% custom PCB and case designed and produced by [LazyDesigners](http://lazydesigners.cn).
The PCB allows one to test a 40% layout in a 60% case.

Keyboard Maintainer: QMK Community
Hardware Supported: THE60 PCB
Hardware Availability: Check for GBs on [Geekhack](https://geekhack.org) and on [LazyDesigner's homepage.](http://lazydesigners.cn)

Make example for this keyboard (after setting up your build environment):

make lazydesigners/the60/rev1:default

To enter the bootloader, either short the pins on the PCB, use the RESET button on the FN layer or hold the Esc key while plugging in your keyboard.

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).
2 changes: 2 additions & 0 deletions keyboards/lazydesigners/the60/rev1/rev1.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include "rev1.h"

File renamed without changes.
7 changes: 0 additions & 7 deletions keyboards/lazydesigners/the60/rules.mk → keyboards/lazydesigners/the60/rev1/rules.mk
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@
MCU = atmega32u4

# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu

# Build Options
Expand Down
51 changes: 51 additions & 0 deletions keyboards/lazydesigners/the60/rev2/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
/*
Copyright 2021 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 <http://www.gnu.org/licenses/>.
*/

#pragma once

#include "config_common.h"

/* USB Device descriptor parameter */
#define VENDOR_ID 0x4c44 // "LD"
#define PRODUCT_ID 0x0062
#define DEVICE_VER 0x0001
#define MANUFACTURER LAZYDESIGNERS
#define PRODUCT THE60 rev2

/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 14

#define MATRIX_ROW_PINS { B1, B2, B3, F0, F1 }
#define MATRIX_COL_PINS { F4, F7, F5, F6, C7, C6, B6, B5, B4, D7, D6, D4, D5, D3 }

#define DIODE_DIRECTION COL2ROW

#define BACKLIGHT_PIN B7
#define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 5

#define RGB_DI_PIN D1
#ifdef RGB_DI_PIN
#define RGBLED_NUM 10
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
#define RGBLIGHT_SLEEP
#define RGBLIGHT_ANIMATIONS
#endif

Loading

0 comments on commit 7bef430

Please sign in to comment.