diff options
Diffstat (limited to 'keyboards/lily58/light/config.h')
| -rw-r--r-- | keyboards/lily58/light/config.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/keyboards/lily58/light/config.h b/keyboards/lily58/light/config.h new file mode 100644 index 000000000..1893dde8e --- /dev/null +++ b/keyboards/lily58/light/config.h | |||
| @@ -0,0 +1,53 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 3 | Copyright 2015 Jack Humbert | ||
| 4 | Copyright 2017 F_YUUCHI | ||
| 5 | Copyright 2020 Ben Roesner (keycapsss.com) | ||
| 6 | |||
| 7 | This program is free software: you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation, either version 2 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | This program is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 19 | */ | ||
| 20 | |||
| 21 | #pragma once | ||
| 22 | |||
| 23 | /* USB Device descriptor parameter */ | ||
| 24 | #define VENDOR_ID 0x7983 | ||
| 25 | #define PRODUCT_ID 0x4C4C // "LL" | ||
| 26 | #define DEVICE_VER 0x0100 | ||
| 27 | #define MANUFACTURER Keycapsss | ||
| 28 | #define PRODUCT Lily58L | ||
| 29 | |||
| 30 | /* key matrix size */ | ||
| 31 | // Rows are doubled-up | ||
| 32 | #define MATRIX_ROWS 10 | ||
| 33 | #define MATRIX_COLS 6 | ||
| 34 | |||
| 35 | // wiring of each half | ||
| 36 | #define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 } | ||
| 37 | #define MATRIX_COL_PINS { F6, F7, B1, B3, B2, B6 } | ||
| 38 | |||
| 39 | /* Set 0 if debouncing isn't needed */ | ||
| 40 | #define DEBOUNCE 5 | ||
| 41 | |||
| 42 | #define SOFT_SERIAL_PIN D2 | ||
| 43 | |||
| 44 | #define RGB_DI_PIN D3 | ||
| 45 | #define RGBLED_SPLIT { 35, 35 } | ||
| 46 | #define RGBLED_NUM 70 | ||
| 47 | #define RGBLIGHT_SPLIT | ||
| 48 | #define RGBLIGHT_LIMIT_VAL 120 | ||
| 49 | |||
| 50 | #define ENCODERS_PAD_A { F4 } | ||
| 51 | #define ENCODERS_PAD_B { F5 } | ||
| 52 | #define ENCODERS_PAD_A_RIGHT { F5 } | ||
| 53 | #define ENCODERS_PAD_B_RIGHT { F4 } | ||
