diff options
author | TJ <[email protected]> | 2020-12-29 19:06:52 -0600 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-29 17:06:52 -0800 |
commit | b49c657ac1f07689fe575b901bfe080c301ab1d4 (patch) | |
tree | db203981df4fe3d5132895a6d8b0ff92a08474ca /keyboards/le_chiffre/config.h | |
parent | ac433b218d2f0652833155f5eaa6b0c287f9cdec (diff) | |
download | qmk_firmware-b49c657ac1f07689fe575b901bfe080c301ab1d4.tar.gz qmk_firmware-b49c657ac1f07689fe575b901bfe080c301ab1d4.zip |
[Keyboard] Add via support for le chiffren (#10597)
* add Via support and improve default keymap
* Update OLED widgets with Sickbabies updates. Add license headers
* Add led matrix config
* Add g_led_config
* Fix rules for matrix
* rules.mk updates
* Fix key lock state widgets
rebase on master
* Rules fixes
* remove LED_MAP
Diffstat (limited to 'keyboards/le_chiffre/config.h')
-rw-r--r-- | keyboards/le_chiffre/config.h | 39 |
1 files changed, 36 insertions, 3 deletions
diff --git a/keyboards/le_chiffre/config.h b/keyboards/le_chiffre/config.h index 1ab07a6450..e14b4665f2 100644 --- a/keyboards/le_chiffre/config.h +++ b/keyboards/le_chiffre/config.h @@ -1,9 +1,24 @@ +/* Copyright 2020 tominabox1 + * + * 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 0xFEED +#define VENDOR_ID 0x7431 #define PRODUCT_ID 0xD645 #define DEVICE_VER 0x0001 #define MANUFACTURER tominabox1 @@ -42,5 +57,23 @@ #define ENCODERS_PAD_A { D5 } #define ENCODERS_PAD_B { D3 } -/* #define RGB_DI_PIN F0 - #define RGBLED_NUM 1 */ +/* + * WS2812 Underglow Matrix options + */ +#define RGB_DI_PIN F0 +#define RGBLED_NUM 11 + +#define DRIVER_LED_TOTAL RGBLED_NUM + +#define RGBLIGHT_ANIMATIONS + +#ifdef RGB_MATRIX_ENABLE +#define RGB_MATRIX_KEYPRESSES // reacts to keypresses +#define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended +#define RGB_MATRIX_FRAMEBUFFER_EFFECTS +#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. +#define RGB_MATRIX_HUE_STEP 8 +#define RGB_MATRIX_SAT_STEP 8 +#define RGB_MATRIX_VAL_STEP 8 +#define RGB_MATRIX_SPD_STEP 10 +#endif |