@@ -16,20 +16,6 @@
#pragma once
-
-/* underglow */
-#define RGBLIGHT_EFFECT_BREATHING
-#define RGBLIGHT_EFFECT_RAINBOW_MOOD
-#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
-#define RGBLIGHT_EFFECT_SNAKE
-#define RGBLIGHT_EFFECT_KNIGHT
-#define RGBLIGHT_EFFECT_CHRISTMAS
-#define RGBLIGHT_EFFECT_STATIC_GRADIENT
-#define RGBLIGHT_EFFECT_RGB_TEST
-#define RGBLIGHT_EFFECT_ALTERNATING
-#define RGBLIGHT_EFFECT_TWINKLE
-#define RGBLIGHT
/*
* Feature disable options
* These options are also useful to firmware size reduction.
@@ -11,6 +11,18 @@
},
"rgblight": {
"led_count": 24,
- "max_brightness": 185
+ "max_brightness": 185,
+ "animations": {
+ "breathing": true,
+ "rainbow_mood": true,
+ "rainbow_swirl": true,
+ "snake": true,
+ "knight": true,
+ "christmas": true,
+ "static_gradient": true,
+ "rgb_test": true,
+ "alternating": true,
+ "twinkle": true
+ }
}
@@ -18,16 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// clang-format off
/* default setup after eeprom reset */
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_EFFECT_BREATHING + 2
#define RGBLIGHT_DEFAULT_HUE 152
@@ -28,7 +28,19 @@
"saturation_steps": 8,
"brightness_steps": 8,
"led_count": 4,
- "sleep": true
+ "sleep": true,
"ws2812": {
"pin": "D3"
@@ -16,17 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
-#define RGBLIGHT_EFFECT_BREATHING // Enable all additional RGB animation modes
#define OLED_TIMEOUT 20000 // Turns off OLED after said amount of milliseconds
#define OLED_BRIGHTNESS 128
#define OLED_DISPLAY_128X64
@@ -14,7 +14,19 @@
"hue_steps": 10,
@@ -16,16 +16,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.*/
#define OLED_FONT_H "./lib/glcdfont.c"
@@ -12,7 +12,19 @@
"driver": "bluefruit_le"
- "led_count": 4
+ "led_count": 4,
"pin": "B7"
@@ -17,17 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
@@ -22,7 +22,19 @@
"led_count": 14,
"pin": "F0"
@@ -23,14 +23,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LOCKING_RESYNC_ENABLE
@@ -23,7 +23,19 @@
- "led_count": 14
+ "led_count": 14,
@@ -5,14 +5,3 @@
@@ -20,7 +20,19 @@
- "led_count": 16
+ "led_count": 16,
"pin": "E2"
@@ -18,18 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define RGB_MATRIX_LED_COUNT 16
-# ifdef RGBLIGHT_ENABLE
-# define RGBLIGHT_EFFECT_BREATHING
-# define RGBLIGHT_EFFECT_RAINBOW_MOOD
-# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
-# define RGBLIGHT_EFFECT_SNAKE
-# define RGBLIGHT_EFFECT_KNIGHT
-# define RGBLIGHT_EFFECT_CHRISTMAS
-# define RGBLIGHT_EFFECT_STATIC_GRADIENT
-# define RGBLIGHT_EFFECT_RGB_TEST
-# define RGBLIGHT_EFFECT_ALTERNATING
-# define RGBLIGHT_EFFECT_TWINKLE
-# elif defined RGB_MATRIX_ENABLE
+# ifdef RGB_MATRIX_ENABLE
# define RGB_MATRIX_KEYPRESSES // reacts to keypresses
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS // reacts to keyreleases (instead of keypresses)
// RGB Matrix Animation modes. Explicitly enabled
@@ -15,7 +15,19 @@
"led_count": 16,
"rgb_matrix": {
"driver": "ws2812"
@@ -5,15 +5,3 @@
# define LED_CAPS_LOCK_PIN D5 // TXLED
# define LED_PIN_ON_STATE 0
#endif
-/* Underglow options */
@@ -6,7 +6,19 @@
- "led_count": 1
+ "led_count": 1,
"pin": "B1"
@@ -17,7 +17,19 @@
"led_count": 6,
"pin": "C7"
"led_count": 8,
"pin": "B3"
@@ -17,15 +17,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define OLED_FONT_H "keyboards/25keys/cassette42/common/glcdfont.c"
@@ -18,7 +18,19 @@
"led_count": 5,
@@ -5,17 +5,3 @@
-#ifdef RGBLIGHT_ENABLE
-#endif
@@ -19,7 +19,19 @@
]
- "led_count": 3
+ "led_count": 3,
"pin": "C6"
-/* ws2812 RGB LED */
"levels": 4
- "led_count": 8
+ "led_count": 8,
"pin": "B4"
@@ -1,30 +0,0 @@
-/*
-Copyright 2012 Jun Wako <wakojun@gmail.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
@@ -9,7 +9,19 @@
"device_version": "0.0.1"
- "led_count": 6
+ "led_count": 6,
@@ -16,18 +16,6 @@
-// enable RGB underglow
- "led_count": 10
+ "led_count": 10,
/* eliminate lag on space cadet mods */
#define PERMISSIVE_HOLD
-/* setup lighting */
@@ -11,7 +11,19 @@
- "led_count": 30
+ "led_count": 30,
"pin": "B5"
@@ -1,12 +0,0 @@
@@ -7,7 +7,19 @@
- "led_count": 12
+ "led_count": 12,
@@ -17,13 +17,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_EXTERNAL_PULLUP
"pin": "A8"
@@ -24,16 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_SPI_MOSI_PAL_MODE 0
#define WS2812_SPI_SCK_PIN A5
#define WS2812_SPI_SCK_PAL_MODE 0
@@ -21,7 +21,19 @@
"pin": "A7",
@@ -23,17 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Underglow */
@@ -26,7 +26,19 @@
@@ -1,28 +0,0 @@
-Copyright 2020 Stefan Sundin "4pplet" <4pplet@protonmail.com>
-Copyright 2022 Stefan Sundin "4pplet" <mail@4pplet.com>
-// ws2812 options
@@ -13,7 +13,19 @@
"levels": 8
"pin": "D2"
@@ -19,14 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIP_SWITCH_PINS { D0 }
-/*== choose animations ==*/
@@ -22,7 +22,15 @@
"led_count": 17,
+ "static_gradient": true
"pin": "D1"
@@ -18,10 +18,22 @@
"breathing": true
- "saturation_steps": 8,
- "brightness_steps": 8,
- "led_count": 6,
+ "saturation_steps": 8,
+ "brightness_steps": 8,
"pin": "D0"
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define WS2812_PWM_COMPLEMENTARY_OUTPUT
#define WS2812_PWM_DRIVER PWMD1
#define WS2812_PWM_CHANNEL 3
@@ -16,7 +16,19 @@
- "led_count": 34
+ "led_count": 34,
"pin": "B15"
@@ -22,16 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL+5
"pin": "D7"
@@ -21,17 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PAL_MODE 1
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 5)
"max_brightness": 200,
- "led_count": 24
+ "led_count": 24,
@@ -1,32 +0,0 @@
-/* Copyright 2022 peepeetee
- *
- * 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/>.
- */
-//TODO: implement RGB matrix when I get the hardware
-// generated by KBFirmware JSON to QMK Parser
-// https://noroadsleft.github.io/kbf_qmk_converter/
"led_count": 100,
"matrix_pins": {
"cols": ["F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "B3", "B2", "B1"],
@@ -3,17 +3,6 @@
"led_count": 107,
@@ -1,29 +0,0 @@
-Copyright 2022 adpenrose
-/* Underglow options: */
@@ -12,7 +12,18 @@
+ "alternating": true
"pin": "F1"
@@ -1,15 +0,0 @@
-// Copyright 2022 Arturo Avila (@ADPenrose)
-// SPDX-License-Identifier: GPL-2.0-or-later
@@ -11,7 +11,18 @@
"pin": "F7"
-//RGB Underglow WS2812
//SPI
#define WS2812_SPI SPID2
"pin": "B15",
@@ -18,19 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define SELECT_SOFT_SERIAL_SPEED 1
#ifdef RGB_MATRIX_ENABLE
#define RGB_MATRIX_LED_COUNT 68
#define RGB_MATRIX_SPLIT { 34, 34 }
"led_count": 68,
"max_brightness": 170,
- "split_count": [34, 34]
+ "split_count": [34, 34],
"driver": "ws2812",
- "led_count": 20
+ "led_count": 20,
"pin": "E6"
"led_count": 28,
@@ -21,14 +21,3 @@
-/* Copyright 2021 Steven Phillips (Spooknik)
-/*== all animations enable ==*/
"led_count": 22,
"max_brightness": 100,
@@ -10,7 +10,19 @@
- "led_count": 5
+ "led_count": 5,
"pin": "F4"
@@ -22,17 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
@@ -15,17 +15,6 @@
*/
- "led_count": 7
+ "led_count": 7,
"driver": "i2c"
@@ -22,20 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
-/* Underlight configuration
@@ -36,17 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
"device_version": "0.0.2"