mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 11:30:30 +08:00
Migrate lighting defaults to info.json (#22920)
This commit is contained in:
parent
7d5b4adc50
commit
2f37a7854d
|
@ -16,15 +16,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
// clang-format off
|
||||
|
||||
/* default setup after eeprom reset */
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_EFFECT_BREATHING + 2
|
||||
#define RGBLIGHT_DEFAULT_HUE 152
|
||||
#define RGBLIGHT_DEFAULT_SAT 232
|
||||
#define RGBLIGHT_DEFAULT_VAR 255
|
||||
#define RGBLIGHT_DEFAULT_SPD 2
|
||||
// clang-format on
|
||||
/* default setup after eeprom reset */
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_EFFECT_BREATHING + 2
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -40,6 +40,11 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"hue": 152,
|
||||
"sat": 232,
|
||||
"speed": 2
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
|
|
|
@ -3,8 +3,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD
|
||||
|
||||
/* Double tap reset button to enter bootloader */
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
|
||||
|
|
|
@ -35,6 +35,9 @@
|
|||
"snake": true,
|
||||
"static_gradient": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"animation": "rainbow_mood"
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
|
|
|
@ -3,14 +3,11 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#define RGBLIGHT_DEFAULT_MODE 9
|
||||
|
||||
/* Double tap reset button to enter bootloader */
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
|
||||
|
||||
|
||||
#define I2C_DRIVER I2CD1
|
||||
#define I2C1_SDA_PIN GP6
|
||||
#define I2C1_SCL_PIN GP7
|
||||
|
|
|
@ -17,9 +17,6 @@
|
|||
"rgblight": {
|
||||
"led_count": 1,
|
||||
"hue_steps": 10,
|
||||
"saturation_steps": 17,
|
||||
"brightness_steps": 17,
|
||||
"max_brightness": 255,
|
||||
"animations": {
|
||||
"alternating": true,
|
||||
"breathing": true,
|
||||
|
@ -31,6 +28,9 @@
|
|||
"snake": true,
|
||||
"static_gradient": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"animation": "rainbow_swirl"
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
|
|
|
@ -3,8 +3,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD
|
||||
|
||||
/* Double tap reset button to enter bootloader */
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
|
||||
|
|
|
@ -34,6 +34,9 @@
|
|||
"snake": true,
|
||||
"static_gradient": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"animation": "rainbow_mood"
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
#pragma once
|
||||
|
||||
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6)
|
||||
#define RGBLIGHT_DEFAULT_SPD 15
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -25,6 +25,9 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"speed": 15
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
|
|
|
@ -16,4 +16,3 @@
|
|||
#pragma once
|
||||
|
||||
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6)
|
||||
#define RGBLIGHT_DEFAULT_SPD 10
|
||||
|
|
|
@ -37,6 +37,9 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"speed": 10
|
||||
}
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
|
|
|
@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#pragma once
|
||||
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_STATIC_LIGHT
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
|
|
|
@ -21,7 +21,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
#define RGBLIGHT_DEFAULT_SPD 144
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL
|
||||
|
||||
|
|
|
@ -30,6 +30,10 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"animation": "rainbow_swirl",
|
||||
"speed": 144
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
|
|
|
@ -22,9 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
#define RGBLIGHT_DEFAULT_SPD 144
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL
|
||||
|
||||
/* Define less important options */
|
||||
|
||||
/*
|
||||
|
|
|
@ -26,6 +26,10 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"animation": "rainbow_swirl",
|
||||
"speed": 144
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
|
|
|
@ -22,9 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
#define RGBLIGHT_DEFAULT_SPD 144
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL
|
||||
|
||||
/* Define less important options */
|
||||
|
||||
/*
|
||||
|
|
|
@ -30,6 +30,10 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"animation": "rainbow_swirl",
|
||||
"speed": 144
|
||||
}
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
|
|
|
@ -22,9 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
#define RGBLIGHT_DEFAULT_SPD 144
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL
|
||||
|
||||
/* Define less important options */
|
||||
|
||||
/*
|
||||
|
|
|
@ -30,6 +30,10 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"animation": "rainbow_swirl",
|
||||
"speed": 144
|
||||
}
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
|
|
|
@ -22,9 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
#define RGBLIGHT_DEFAULT_SPD 144
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL
|
||||
|
||||
/* Define less important options */
|
||||
|
||||
/*
|
||||
|
|
|
@ -30,6 +30,10 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"animation": "rainbow_swirl",
|
||||
"speed": 144
|
||||
}
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
|
|
|
@ -22,9 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
#define RGBLIGHT_DEFAULT_SPD 144
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL
|
||||
|
||||
/* Define less important options */
|
||||
|
||||
/*
|
||||
|
|
|
@ -30,6 +30,10 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"animation": "rainbow_swirl",
|
||||
"speed": 144
|
||||
}
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
|
|
|
@ -16,8 +16,4 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#define RGBLIGHT_DEFAULT_HUE 234
|
||||
|
||||
#define RGBLIGHT_DEFAULT_VAL 190
|
||||
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD + 2
|
||||
|
|
|
@ -35,6 +35,10 @@
|
|||
"rainbow_swirl": true,
|
||||
"snake": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"hue": 234,
|
||||
"val": 190
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
|
|
|
@ -3,10 +3,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#define RGBLIGHT_LAYERS
|
||||
#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
|
|
|
@ -28,6 +28,13 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"animation": "rainbow_mood"
|
||||
},
|
||||
"layers": {
|
||||
"enabled": true,
|
||||
"override_rgb": true
|
||||
}
|
||||
},
|
||||
"matrix_pins": {
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
/* Copyright 2020 Demo Studio <https://www.instagram.com/demostudio01>
|
||||
|
||||
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
|
||||
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD
|
|
@ -28,6 +28,9 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"animation": "rainbow_mood"
|
||||
}
|
||||
},
|
||||
"matrix_pins": {
|
||||
|
|
|
@ -2,10 +2,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#pragma once
|
||||
|
||||
#define RGBLIGHT_LAYERS
|
||||
#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
|
|
|
@ -28,6 +28,13 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"animation": "rainbow_mood"
|
||||
},
|
||||
"layers": {
|
||||
"enabled": true,
|
||||
"override_rgb": true
|
||||
}
|
||||
},
|
||||
"matrix_pins": {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright 2023 Yizhen Liu (@edwardslau)
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
#pragma once
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
|
|
|
@ -46,6 +46,9 @@
|
|||
"snake": true,
|
||||
"static_gradient": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"animation": "rainbow_mood"
|
||||
}
|
||||
},
|
||||
"layout_aliases": {
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
/*
|
||||
* Copyright 2022 Uthol
|
||||
*
|
||||
* 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
|
||||
|
||||
//RGB Stuff
|
||||
#define RGBLIGHT_DEFAULT_HUE 201
|
|
@ -4,7 +4,10 @@
|
|||
"device_version": "0.0.2"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 39
|
||||
"led_count": 39,
|
||||
"default": {
|
||||
"hue": 201
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "E6"
|
||||
|
|
|
@ -32,5 +32,3 @@
|
|||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
#define PERMISSIVE_HOLD
|
||||
|
||||
#define RGBLIGHT_DEFAULT_HUE 201
|
||||
|
|
|
@ -16,6 +16,9 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"hue": 201
|
||||
}
|
||||
},
|
||||
"tapping": {
|
||||
|
|
|
@ -8,5 +8,3 @@
|
|||
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
#define RGBLIGHT_DEFAULT_VAL 50
|
||||
|
|
|
@ -41,6 +41,9 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"val": 50
|
||||
}
|
||||
},
|
||||
"indicators": {
|
||||
|
|
|
@ -41,6 +41,9 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"val": 50
|
||||
}
|
||||
},
|
||||
"indicators": {
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#define RGBLIGHT_DEFAULT_VAL 0
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
|
|
|
@ -31,6 +31,9 @@
|
|||
"snake": true,
|
||||
"static_gradient": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"val": 0
|
||||
}
|
||||
},
|
||||
"indicators": {
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#define RGBLIGHT_DEFAULT_VAL 0 // start off
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
|
|
|
@ -34,6 +34,9 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"val": 0
|
||||
}
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
// Backlight configuration
|
||||
#define BACKLIGHT_PWM_DRIVER PWMD3
|
||||
#define BACKLIGHT_PWM_CHANNEL 2
|
||||
#define BACKLIGHT_DEFAULT_LEVEL 6
|
||||
|
||||
// Timeout configuration
|
||||
#define QUANTUM_PAINTER_DISPLAY_TIMEOUT 10000
|
||||
|
|
|
@ -31,7 +31,9 @@
|
|||
"backlight": {
|
||||
"pin": "GP7",
|
||||
"levels": 7,
|
||||
"breathing": false
|
||||
"default": {
|
||||
"brightness": 6
|
||||
}
|
||||
},
|
||||
"rgblight": {
|
||||
"driver": "ws2812",
|
||||
|
|
|
@ -17,6 +17,5 @@
|
|||
#pragma once
|
||||
|
||||
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD +8 )
|
||||
#define RGBLIGHT_DEFAULT_SPD 15
|
||||
|
||||
#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2
|
|
@ -33,6 +33,9 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"speed": 15
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
|
|
|
@ -17,6 +17,5 @@
|
|||
#pragma once
|
||||
|
||||
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD +8 )
|
||||
#define RGBLIGHT_DEFAULT_SPD 15
|
||||
|
||||
#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2
|
|
@ -34,6 +34,9 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"speed": 15
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
|
|
|
@ -17,6 +17,5 @@
|
|||
#pragma once
|
||||
|
||||
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6)
|
||||
#define RGBLIGHT_DEFAULT_SPD 15
|
||||
|
||||
#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2
|
||||
|
|
|
@ -33,6 +33,9 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"speed": 15
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
/* Copyright 2022 lexbrugman
|
||||
*
|
||||
* 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
|
||||
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL
|
|
@ -34,6 +34,9 @@
|
|||
"snake": true,
|
||||
"christmas": true,
|
||||
"static_gradient": true
|
||||
},
|
||||
"default": {
|
||||
"animation": "rainbow_swirl"
|
||||
}
|
||||
},
|
||||
"processor": "STM32F072",
|
||||
|
|
|
@ -22,6 +22,5 @@
|
|||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6)
|
||||
#define RGBLIGHT_DEFAULT_SPD 15
|
||||
|
||||
#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2
|
|
@ -35,6 +35,9 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"speed": 15
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
|
|
|
@ -17,6 +17,5 @@
|
|||
#pragma once
|
||||
|
||||
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6)
|
||||
#define RGBLIGHT_DEFAULT_SPD 15
|
||||
|
||||
#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2
|
||||
|
|
|
@ -42,6 +42,9 @@
|
|||
"snake": true,
|
||||
"static_gradient": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"speed": 15
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#define RGBLIGHT_DEFAULT_VAL 120
|
||||
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
|
|
|
@ -70,6 +70,9 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"val": 120
|
||||
}
|
||||
},
|
||||
"matrix_pins": {
|
||||
|
|
|
@ -19,7 +19,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#define SPLIT_HAND_PIN D5
|
||||
|
||||
#define BACKLIGHT_DEFAULT_LEVEL 3
|
||||
|
||||
#define RGBLIGHT_DEFAULT_VAL 128
|
||||
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)
|
||||
|
|
|
@ -16,7 +16,10 @@
|
|||
},
|
||||
"backlight": {
|
||||
"pin": "B5",
|
||||
"levels": 5
|
||||
"levels": 5,
|
||||
"default": {
|
||||
"brightness": 3
|
||||
}
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 12,
|
||||
|
@ -32,6 +35,9 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"val": 128
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
|
|
|
@ -19,5 +19,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#define SPLIT_HAND_PIN D5
|
||||
|
||||
#define RGBLIGHT_DEFAULT_VAL 120
|
||||
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)
|
||||
|
|
|
@ -78,6 +78,9 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"val": 120
|
||||
}
|
||||
},
|
||||
"split": {
|
||||
|
|
|
@ -19,5 +19,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#define SPLIT_HAND_PIN D5
|
||||
|
||||
#define RGBLIGHT_DEFAULT_VAL 120
|
||||
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)
|
||||
|
|
|
@ -77,6 +77,9 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"val": 120
|
||||
}
|
||||
},
|
||||
"split": {
|
||||
|
|
|
@ -22,9 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
#define RGBLIGHT_DEFAULT_SPD 144
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL
|
||||
|
||||
/* Define less important options */
|
||||
|
||||
/*
|
||||
|
|
|
@ -25,6 +25,10 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"animation": "rainbow_swirl",
|
||||
"speed": 144
|
||||
}
|
||||
},
|
||||
"matrix_pins": {
|
||||
|
|
|
@ -22,9 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
#define RGBLIGHT_DEFAULT_SPD 144
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL
|
||||
|
||||
/* Define less important options */
|
||||
|
||||
/*
|
||||
|
|
|
@ -25,6 +25,10 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"animation": "rainbow_swirl",
|
||||
"speed": 144
|
||||
}
|
||||
},
|
||||
"matrix_pins": {
|
||||
|
|
|
@ -15,8 +15,6 @@
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD
|
||||
|
||||
#define IS31FL3733_I2C_ADDRESS_1 IS31FL3733_I2C_ADDRESS_GND_GND
|
||||
#define IS31FL3733_LED_COUNT 63
|
||||
|
||||
|
|
|
@ -71,6 +71,9 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"animation": "rainbow_mood"
|
||||
}
|
||||
},
|
||||
"matrix_pins": {
|
||||
|
|
|
@ -15,8 +15,6 @@
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD
|
||||
|
||||
#define IS31FL3733_I2C_ADDRESS_1 IS31FL3733_I2C_ADDRESS_GND_GND
|
||||
|
||||
#if defined(RGB_MATRIX_ENABLE) && defined(RGBLIGHT_ENABLE)
|
||||
|
|
|
@ -56,6 +56,9 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"animation": "rainbow_mood"
|
||||
}
|
||||
},
|
||||
"matrix_pins": {
|
||||
|
|
|
@ -17,8 +17,6 @@
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD
|
||||
|
||||
#define IS31FL3733_I2C_ADDRESS_1 IS31FL3733_I2C_ADDRESS_GND_GND
|
||||
#define IS31FL3733_LED_COUNT 64
|
||||
|
||||
|
|
|
@ -79,6 +79,9 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"animation": "rainbow_mood"
|
||||
}
|
||||
},
|
||||
"matrix_pins": {
|
||||
|
|
|
@ -15,8 +15,6 @@
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD
|
||||
|
||||
#define IS31FL3733_I2C_ADDRESS_1 IS31FL3733_I2C_ADDRESS_GND_GND
|
||||
#define IS31FL3733_LED_COUNT 61
|
||||
|
||||
|
|
|
@ -75,6 +75,9 @@
|
|||
"static_gradient": true,
|
||||
"rgb_test": true,
|
||||
"alternating": true
|
||||
},
|
||||
"default": {
|
||||
"animation": "rainbow_mood"
|
||||
}
|
||||
},
|
||||
"matrix_pins": {
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD
|
||||
|
||||
#define IS31FL3741_I2C_ADDRESS_1 IS31FL3741_I2C_ADDRESS_GND
|
||||
|
||||
#if defined(RGB_MATRIX_ENABLE) && defined(RGBLIGHT_ENABLE)
|
||||
|
|
|
@ -62,6 +62,9 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"animation": "rainbow_mood"
|
||||
}
|
||||
},
|
||||
"matrix_pins": {
|
||||
|
|
|
@ -16,5 +16,4 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
# define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6)
|
||||
# define RGBLIGHT_DEFAULT_SPD 10
|
||||
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6)
|
||||
|
|
|
@ -24,6 +24,9 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"speed": 10
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
|
|
|
@ -18,6 +18,3 @@
|
|||
#define SPLIT_HAND_PIN B9
|
||||
#define SERIAL_USART_TX_PIN B6
|
||||
#define SERIAL_USART_SPEED 921600
|
||||
|
||||
#define RGBLIGHT_LAYERS
|
||||
#define RGBLIGHT_DEFAULT_HUE 213
|
||||
|
|
|
@ -36,6 +36,12 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"hue": 213
|
||||
},
|
||||
"layers": {
|
||||
"enabled": true
|
||||
}
|
||||
},
|
||||
"split": {
|
||||
|
|
|
@ -3,8 +3,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL
|
||||
|
||||
#define WS2812_PWM_DRIVER PWMD4
|
||||
#define WS2812_PWM_CHANNEL 4
|
||||
#define WS2812_DMA_STREAM STM32_DMA1_STREAM6
|
||||
|
|
|
@ -31,6 +31,9 @@
|
|||
"static_gradient": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"animation": "rainbow_swirl"
|
||||
},
|
||||
"driver": "ws2812",
|
||||
"led_count": 20,
|
||||
"max_brightness": 120,
|
||||
|
|
|
@ -3,8 +3,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL
|
||||
|
||||
#define WS2812_PWM_DRIVER PWMD4
|
||||
#define WS2812_PWM_CHANNEL 4
|
||||
#define WS2812_DMA_STREAM STM32_DMA1_STREAM6
|
||||
|
|
|
@ -31,6 +31,9 @@
|
|||
"static_gradient": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"animation": "rainbow_swirl"
|
||||
},
|
||||
"driver": "ws2812",
|
||||
"led_count": 20,
|
||||
"max_brightness": 120,
|
||||
|
|
|
@ -3,8 +3,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL
|
||||
|
||||
#define WS2812_PWM_DRIVER PWMD4
|
||||
#define WS2812_PWM_CHANNEL 4
|
||||
#define WS2812_DMA_STREAM STM32_DMA1_STREAM6
|
||||
|
|
|
@ -31,6 +31,9 @@
|
|||
"static_gradient": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"animation": "rainbow_swirl"
|
||||
},
|
||||
"driver": "ws2812",
|
||||
"led_count": 20,
|
||||
"max_brightness": 120,
|
||||
|
|
|
@ -17,6 +17,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#pragma once
|
||||
|
||||
#define BACKLIGHT_DEFAULT_LEVEL 20
|
||||
#define BACKLIGHT_PWM_DRIVER PWMD3
|
||||
#define BACKLIGHT_PWM_CHANNEL 1
|
||||
|
|
|
@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#pragma once
|
||||
|
||||
# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL /* Set default RGB */
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
||||
|
|
|
@ -24,6 +24,9 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"animation": "rainbow_swirl"
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
|
|
|
@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#pragma once
|
||||
|
||||
# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL /* Set default RGB */
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
||||
|
|
|
@ -24,6 +24,9 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"animation": "rainbow_swirl"
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
/*
|
||||
Copyright 2021 OwLab
|
||||
|
||||
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
|
||||
|
||||
# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL
|
||||
# define RGBLIGHT_DEFAULT_VAL 127
|
|
@ -29,6 +29,10 @@
|
|||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"default": {
|
||||
"animation": "rainbow_swirl",
|
||||
"val": 127
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
|
|
|
@ -3,12 +3,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
// RGB Light settings
|
||||
#define RGBLIGHT_LAYERS
|
||||
|
||||
#define RGBLIGHT_MAX_LAYERS 4
|
||||
#define RGBLIGHT_DEFAULT_VAL 155
|
||||
|
||||
// Audio Settings
|
||||
#ifdef AUDIO_ENABLE
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue