Skip to content

Commit

Permalink
Move RGBLight animations to data driven (qmk#21635)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpskenn committed Nov 5, 2023
1 parent 82524a8 commit 1eaeed8
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
2 changes: 0 additions & 2 deletions keyboards/nora/v01/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_LAYERS
#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF // Overriding RGB Lighting on/off status
#define RGBLIGHT_LAYERS_RETAIN_VAL // Keeps RGB values between lighting layer changes
#define RGBLIGHT_ANIMATIONS
#define RGBLIGHT_EFFECT_TWINKLE

/* External EEPROM & Dynamic keymap */
// Use 24LC64 EEPROM
Expand Down
8 changes: 7 additions & 1 deletion keyboards/nora/v01/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@
"led_count": 16,
"max_brightness": 240,
"saturation_steps": 8,
"brightness_steps": 8
"brightness_steps": 8,
"animations": {
"breathing": true,
"rainbow_mood": true,
"rainbow_swirl": true,
"twinkle": true
}
},
"layouts": {
"LAYOUT": {
Expand Down
1 change: 0 additions & 1 deletion keyboards/nora/v03/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_LAYERS
#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF // Overriding RGB Lighting on/off status
#define RGBLIGHT_LAYERS_RETAIN_VAL // Keeps RGB values between lighting layer changes
#define RGBLIGHT_EFFECT_RGB_TEST
#endif

/* External EEPROM */
Expand Down
6 changes: 4 additions & 2 deletions keyboards/nora/v03/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@
"sat_steps": 8,
"speed_steps": 8,
"val_steps": 8,
"max_brightness": 150
},
"rgblight": {
"led_count": 71,
"max_brightness": 150,
"saturation_steps": 8,
"brightness_steps": 8
"brightness_steps": 8,
"animations": {
"tgb_test": true
}
},
"layouts": {
"LAYOUT": {
Expand Down

0 comments on commit 1eaeed8

Please sign in to comment.