diff options
| author | jackytrabbit <jacky_lijun@126.com> | 2021-08-27 01:49:36 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-26 18:49:36 +0100 |
| commit | ff65185dec6f97be1eb49f17cea526a0d0bbf3d6 (patch) | |
| tree | fad23965973cd0a7b064a54c022c737cbdc00166 /keyboards/lazydesigners/cassette8/config.h | |
| parent | 3fce5e6912d78ec9fff4124b6952e3b8a0d4d3ae (diff) | |
| download | qmk_firmware-ff65185dec6f97be1eb49f17cea526a0d0bbf3d6.tar.gz qmk_firmware-ff65185dec6f97be1eb49f17cea526a0d0bbf3d6.zip | |
Add support for lazydesigners/cassette8 (#14145)
* Add support for lazydesigners/cassette8
Add support for lazydesigners/cassette8
* Update keyboards/lazydesigners/cassette8/config.h
Co-authored-by: Drashna Jaelre <drashna@live.com>
* Update keyboards/lazydesigners/cassette8/rules.mk
Co-authored-by: Drashna Jaelre <drashna@live.com>
* Update keyboards/lazydesigners/cassette8/rules.mk
Co-authored-by: Drashna Jaelre <drashna@live.com>
* Update keyboards/lazydesigners/cassette8/config.h
Co-authored-by: Drashna Jaelre <drashna@live.com>
* Update keyboards/lazydesigners/cassette8/rules.mk
Co-authored-by: Ryan <fauxpark@gmail.com>
* Update keyboards/lazydesigners/cassette8/rules.mk
Co-authored-by: Ryan <fauxpark@gmail.com>
* Update keyboards/lazydesigners/cassette8/info.json
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'keyboards/lazydesigners/cassette8/config.h')
| -rwxr-xr-x | keyboards/lazydesigners/cassette8/config.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/keyboards/lazydesigners/cassette8/config.h b/keyboards/lazydesigners/cassette8/config.h new file mode 100755 index 000000000..ee20577e3 --- /dev/null +++ b/keyboards/lazydesigners/cassette8/config.h | |||
| @@ -0,0 +1,58 @@ | |||
| 1 | /* Copyright 2021 LAZYDESIGNERS | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #include "config_common.h" | ||
| 20 | |||
| 21 | /* USB Device descriptor parameter */ | ||
| 22 | #define VENDOR_ID 0x4C44 // "LD" | ||
| 23 | #define PRODUCT_ID 0x0008 | ||
| 24 | #define DEVICE_VER 0x0001 | ||
| 25 | #define MANUFACTURER LAZYDESIGNERS | ||
| 26 | #define PRODUCT Cassette8 | ||
| 27 | |||
| 28 | /* key matrix size */ | ||
| 29 | #define MATRIX_ROWS 2 | ||
| 30 | #define MATRIX_COLS 4 | ||
| 31 | |||
| 32 | /* key matrix pins */ | ||
| 33 | #define MATRIX_ROW_PINS { B3, B2 } | ||
| 34 | #define MATRIX_COL_PINS { B5, B4, B1, B0 } | ||
| 35 | |||
| 36 | /* COL2ROW or ROW2COL */ | ||
| 37 | #define DIODE_DIRECTION COL2ROW | ||
| 38 | |||
| 39 | /* RBG underglow */ | ||
| 40 | #define RGB_DI_PIN C2 | ||
| 41 | #ifdef RGB_DI_PIN | ||
| 42 | #define RGBLIGHT_EFFECT_BREATHING | ||
| 43 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 44 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 45 | #define RGBLIGHT_EFFECT_SNAKE | ||
| 46 | #define RGBLIGHT_EFFECT_KNIGHT | ||
| 47 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 48 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 49 | #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 50 | #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 51 | #define RGBLIGHT_EFFECT_TWINKLE | ||
| 52 | #define RGBLIGHT_SLEEP | ||
| 53 | #define RGBLED_NUM 15 | ||
| 54 | /* #define RGBLIGHT_HUE_STEP 8 */ | ||
| 55 | /* #define RGBLIGHT_SAT_STEP 8 */ | ||
| 56 | /* #define RGBLIGHT_VAL_STEP 8 */ | ||
| 57 | #endif | ||
| 58 | |||
