summaryrefslogtreecommitdiffstats
path: root/keyboards/le_chiffre/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/le_chiffre/config.h')
-rw-r--r--keyboards/le_chiffre/config.h39
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