forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Keyboard] add Lily58L keymap (qmk#9870)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Erovia <Erovia@users.noreply.github.com> Co-authored-by: Ryan <fauxpark@gmail.com>
- Loading branch information
1 parent
a380a26
commit 4e0718a
Showing
10 changed files
with
536 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/* | ||
This is the c configuration file for the keymap | ||
Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
Copyright 2015 Jack Humbert | ||
Copyright 2020 Ben Roesner (keycapsss.com) | ||
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 | ||
|
||
/* Select hand configuration */ | ||
#define MASTER_LEFT | ||
// #define MASTER_RIGHT | ||
// #define EE_HANDS | ||
|
||
#ifdef RGBLIGHT_ENABLE | ||
# define RGBLIGHT_ANIMATIONS | ||
# define RGBLIGHT_HUE_STEP 6 // number of steps to cycle through the hue by | ||
# define RGBLIGHT_SAT_STEP 6 // number of steps to increment the saturation by | ||
# define RGBLIGHT_VAL_STEP 6 // number of steps to increment the brightness by | ||
# define RGBLIGHT_SLEEP // the RGB lighting will be switched off when the host goes to sleep | ||
#endif | ||
|
||
// If you are using an Elite C rev3 on the slave side, uncomment the lines below: | ||
// #define SPLIT_USB_DETECT | ||
// #define NO_USB_STARTUP_CHECK |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Lily58L | ||
<img src="https://keycapsss.com/media/image/21/2b/68/lily58l-split-keyboard-rgb-led-1.jpg" width="400"> | ||
|
||
A modified Lily58 pcb, with underglow, per key rgb light and rotary encoder support. | ||
- SK6812 Mini-E per key led's (58x) for easy soldering | ||
- 6x SK6812 Mini led's per side for underglow | ||
- Support for 1 rotary encoder on each side | ||
|
||
Left encoder: volume up/down, next/previous track on RAISE layer | ||
Right encoder: cursor down/up, right/left on LOWER layer | ||
|
||
* Keyboard Maintainer: BenRoe [GitHub](https://github.com/BenRoe) / [Twitter](https://twitter.com/keycapsss) | ||
* Hardware Supported: Pro Micro, or Elite-C | ||
* Hardware Availability: [Keycapsss.com](https://keycapsss.com) | ||
|
||
Make example for this keyboard (after setting up your build environment): | ||
|
||
make lily58/light:lily58l | ||
|
||
Flashing example for this keyboard: | ||
|
||
make lily58/light:lily58l: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). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
EXTRAKEY_ENABLE = yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
/* | ||
Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
Copyright 2015 Jack Humbert | ||
Copyright 2017 F_YUUCHI | ||
Copyright 2020 Ben Roesner (keycapsss.com) | ||
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 | ||
|
||
/* USB Device descriptor parameter */ | ||
#define VENDOR_ID 0x7983 | ||
#define PRODUCT_ID 0x4C4C // "LL" | ||
#define DEVICE_VER 0x0100 | ||
#define MANUFACTURER Keycapsss | ||
#define PRODUCT Lily58L | ||
|
||
/* key matrix size */ | ||
// Rows are doubled-up | ||
#define MATRIX_ROWS 10 | ||
#define MATRIX_COLS 6 | ||
|
||
// wiring of each half | ||
#define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 } | ||
#define MATRIX_COL_PINS { F6, F7, B1, B3, B2, B6 } | ||
|
||
/* Set 0 if debouncing isn't needed */ | ||
#define DEBOUNCE 5 | ||
|
||
#define SOFT_SERIAL_PIN D2 | ||
|
||
#define RGB_DI_PIN D3 | ||
#define RGBLED_SPLIT { 35, 35 } | ||
#define RGBLED_NUM 70 | ||
#define RGBLIGHT_SPLIT | ||
#define RGBLIGHT_LIMIT_VAL 120 | ||
|
||
#define ENCODERS_PAD_A { F4 } | ||
#define ENCODERS_PAD_B { F5 } | ||
#define ENCODERS_PAD_A_RIGHT { F5 } | ||
#define ENCODERS_PAD_B_RIGHT { F4 } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"keyboard_name": "Lily58", | ||
"url": "https://keycapsss.com", | ||
"maintainer": "BenRoe", | ||
"width": 16.5, | ||
"height": 5.25, | ||
"layouts": { | ||
"LAYOUT": { | ||
"layout": [ | ||
{"x":0, "y":0.5}, {"x":1, "y":0.375}, {"x":2, "y":0.125}, {"x":3, "y":0}, {"x":4, "y":0.125}, {"x":5, "y":0.25}, {"x":10.5, "y":0.25}, {"x":11.5, "y":0.125}, {"x":12.5, "y":0}, {"x":13.5, "y":0.125}, {"x":14.5, "y":0.375}, {"x":15.5, "y":0.5}, | ||
{"x":0, "y":1.5}, {"x":1, "y":1.375}, {"x":2, "y":1.125}, {"x":3, "y":1}, {"x":4, "y":1.125}, {"x":5, "y":1.25}, {"x":10.5, "y":1.25}, {"x":11.5, "y":1.125}, {"x":12.5, "y":1}, {"x":13.5, "y":1.125}, {"x":14.5, "y":1.375}, {"x":15.5, "y":1.5}, | ||
{"x":0, "y":2.5}, {"x":1, "y":2.375}, {"x":2, "y":2.125}, {"x":3, "y":2}, {"x":4, "y":2.125}, {"x":5, "y":2.25}, {"x":10.5, "y":2.25}, {"x":11.5, "y":2.125}, {"x":12.5, "y":2}, {"x":13.5, "y":2.125}, {"x":14.5, "y":2.375}, {"x":15.5, "y":2.5}, | ||
{"x":0, "y":3.5}, {"x":1, "y":3.375}, {"x":2, "y":3.125}, {"x":3, "y":3}, {"x":4, "y":3.125}, {"x":5, "y":3.25}, {"x":6, "y":2.75}, {"x":9.5, "y":2.75}, {"x":10.5, "y":3.25}, {"x":11.5, "y":3.125}, {"x":12.5, "y":3}, {"x":13.5, "y":3.125}, {"x":14.5, "y":3.375}, {"x":15.5, "y":3.5}, | ||
{"x":2.5, "y":4.125}, {"x":3.5, "y":4.15}, {"x":4.5, "y":4.25}, {"x":6, "y":4.25, "h":1.5}, {"x":9.5, "y":4.25, "h":1.5}, {"x":11, "y":4.25}, {"x":12, "y":4.15}, {"x":13, "y":4.15} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
Copyright 2020 Ben Roesner (keycapsss.com) | ||
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/>. | ||
*/ | ||
|
||
#include "lily58.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#pragma once | ||
|
||
#include "lily58.h" | ||
|
||
#include "quantum.h" | ||
|
||
|
||
#ifndef FLIP_HALF | ||
#define LAYOUT( \ | ||
L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ | ||
L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ | ||
L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ | ||
L30, L31, L32, L33, L34, L35, L45, R40, R30, R31, R32, R33, R34, R35, \ | ||
L41, L42, L43, L44, R41, R42, R43, R44 \ | ||
) \ | ||
{ \ | ||
{ L00, L01, L02, L03, L04, L05 }, \ | ||
{ L10, L11, L12, L13, L14, L15 }, \ | ||
{ L20, L21, L22, L23, L24, L25 }, \ | ||
{ L30, L31, L32, L33, L34, L35 }, \ | ||
{ KC_NO, L41, L42, L43, L44, L45 }, \ | ||
{ R05, R04, R03, R02, R01, R00 }, \ | ||
{ R15, R14, R13, R12, R11, R10 }, \ | ||
{ R25, R24, R23, R22, R21, R20 }, \ | ||
{ R35, R34, R33, R32, R31, R30 }, \ | ||
{ KC_NO, R44, R43, R42, R41, R40 } \ | ||
} | ||
#else | ||
// Keymap with right side flipped | ||
// (TRRS jack on both halves are to the right) | ||
#define LAYOUT( \ | ||
L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ | ||
L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ | ||
L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ | ||
L30, L31, L32, L33, L34, L35, L45, R30, R31, R32, R33, R34, R35, R45, \ | ||
L41, L42, L43, L44, R41, R42, R43, R44 \ | ||
) \ | ||
{ \ | ||
{ L00, L01, L02, L03, L04, L05 }, \ | ||
{ L10, L11, L12, L13, L14, L15 }, \ | ||
{ L20, L21, L22, L23, L24, L25 }, \ | ||
{ L30, L31, L32, L33, L34, L35 }, \ | ||
{ KC_NO, L41, L42, L43, L44, L45 }, \ | ||
{ R00, R01, R02, R03, R04, R05 }, \ | ||
{ R10, R11, R12, R13, R14, R15 }, \ | ||
{ R20, R21, R22, R23, R24, R25 }, \ | ||
{ R30, R31, R32, R33, R34, R35 }, \ | ||
{ KC_NO, R41, R42, R43, R44, R45 } \ | ||
} | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ENCODER_ENABLE = yes # ENables the use of one or more encoders | ||
RGBLIGHT_ENABLE = yes # Enable keyboard RGB light | ||
LTO_ENABLE = yes # significantly reduce the compiled size, but disable the legacy TMK Macros and Functions features |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,6 @@ | |
|
||
#ifdef KEYBOARD_lily58_rev1 | ||
#include "rev1.h" | ||
#elif KEYBOARD_lily58_light | ||
#include "light.h" | ||
#endif |