Skip to content

Commit

Permalink
draft ifdef undef define config for rgb effects
Browse files Browse the repository at this point in the history
  • Loading branch information
plodah committed Aug 11, 2024
1 parent 3649451 commit 4d20a7e
Showing 1 changed file with 192 additions and 0 deletions.
192 changes: 192 additions & 0 deletions keyboards/keychron/v2/iso_encoder/keymaps/plodahc/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,57 +76,249 @@
/* ------- RGB MATRIX ------- */
#ifdef RGB_MATRIX_ENABLE

# ifdef ENABLE_RGB_MATRIX_ALPHAS_MODS
# undef ENABLE_RGB_MATRIX_ALPHAS_MODS
# endif
// # define ENABLE_RGB_MATRIX_ALPHAS_MODS

# ifdef ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
# undef ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
# endif
// # define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN

# ifdef ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
# undef ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
# endif
# define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT

# ifdef ENABLE_RGB_MATRIX_BREATHING
# undef ENABLE_RGB_MATRIX_BREATHING
# endif
// # define ENABLE_RGB_MATRIX_BREATHING

# ifdef ENABLE_RGB_MATRIX_BAND_SAT
# undef ENABLE_RGB_MATRIX_BAND_SAT
# endif
// # define ENABLE_RGB_MATRIX_BAND_SAT

# ifdef ENABLE_RGB_MATRIX_BAND_VAL
# undef ENABLE_RGB_MATRIX_BAND_VAL
# endif
// # define ENABLE_RGB_MATRIX_BAND_VAL

# ifdef ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
# undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
# endif
// # define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT

# ifdef ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
# undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
# endif
// # define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL

# ifdef ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
# undef ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
# endif
// # define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT

# ifdef ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
# undef ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
# endif
// # define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL

# ifdef ENABLE_RGB_MATRIX_CYCLE_ALL
# undef ENABLE_RGB_MATRIX_CYCLE_ALL
# endif
// # define ENABLE_RGB_MATRIX_CYCLE_ALL

# ifdef ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
# undef ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
# endif
// # define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT

# ifdef ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
# undef ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
# endif
// # define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN

# ifdef ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
# undef ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
# endif
// # define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON

# ifdef ENABLE_RGB_MATRIX_CYCLE_OUT_IN
# undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN
# endif
// # define ENABLE_RGB_MATRIX_CYCLE_OUT_IN

# ifdef ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
# undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
# endif
// # define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL

# ifdef ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
# undef ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
# endif
// # define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL

# ifdef ENABLE_RGB_MATRIX_CYCLE_SPIRAL
# undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL
# endif
// # define ENABLE_RGB_MATRIX_CYCLE_SPIRAL

# ifdef ENABLE_RGB_MATRIX_DUAL_BEACON
# undef ENABLE_RGB_MATRIX_DUAL_BEACON
# endif
// # define ENABLE_RGB_MATRIX_DUAL_BEACON

# ifdef ENABLE_RGB_MATRIX_RAINBOW_BEACON
# undef ENABLE_RGB_MATRIX_RAINBOW_BEACON
# endif
// # define ENABLE_RGB_MATRIX_RAINBOW_BEACON

# ifdef ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
# undef ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
# endif
// # define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS

# ifdef ENABLE_RGB_MATRIX_FLOWER_BLOOMING
# undef ENABLE_RGB_MATRIX_FLOWER_BLOOMING
# endif
// # define ENABLE_RGB_MATRIX_FLOWER_BLOOMING

# ifdef ENABLE_RGB_MATRIX_RAINDROPS
# undef ENABLE_RGB_MATRIX_RAINDROPS
# endif
// # define ENABLE_RGB_MATRIX_RAINDROPS

# ifdef ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
# undef ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
# endif
// # define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS

# ifdef ENABLE_RGB_MATRIX_HUE_BREATHING
# undef ENABLE_RGB_MATRIX_HUE_BREATHING
# endif
// # define ENABLE_RGB_MATRIX_HUE_BREATHING

# ifdef ENABLE_RGB_MATRIX_HUE_PENDULUM
# undef ENABLE_RGB_MATRIX_HUE_PENDULUM
# endif
// # define ENABLE_RGB_MATRIX_HUE_PENDULUM

# ifdef ENABLE_RGB_MATRIX_HUE_WAVE
# undef ENABLE_RGB_MATRIX_HUE_WAVE
# endif
// # define ENABLE_RGB_MATRIX_HUE_WAVE

# ifdef ENABLE_RGB_MATRIX_PIXEL_FRACTAL
# undef ENABLE_RGB_MATRIX_PIXEL_FRACTAL
# endif
// # define ENABLE_RGB_MATRIX_PIXEL_FRACTAL

# ifdef ENABLE_RGB_MATRIX_PIXEL_FLOW
# undef ENABLE_RGB_MATRIX_PIXEL_FLOW
# endif
// # define ENABLE_RGB_MATRIX_PIXEL_FLOW

# ifdef ENABLE_RGB_MATRIX_PIXEL_RAIN
# undef ENABLE_RGB_MATRIX_PIXEL_RAIN
# endif
// # define ENABLE_RGB_MATRIX_PIXEL_RAIN

# ifdef ENABLE_RGB_MATRIX_STARLIGHT
# undef ENABLE_RGB_MATRIX_STARLIGHT
# endif
// # define ENABLE_RGB_MATRIX_STARLIGHT

# ifdef ENABLE_RGB_MATRIX_STARLIGHT_DUAL_HUE
# undef ENABLE_RGB_MATRIX_STARLIGHT_DUAL_HUE
# endif
// # define ENABLE_RGB_MATRIX_STARLIGHT_DUAL_HUE

# ifdef ENABLE_RGB_MATRIX_STARLIGHT_DUAL_SAT
# undef ENABLE_RGB_MATRIX_STARLIGHT_DUAL_SAT
# endif
# define ENABLE_RGB_MATRIX_STARLIGHT_DUAL_SAT

# ifdef ENABLE_RGB_MATRIX_RIVERFLOW
# undef ENABLE_RGB_MATRIX_RIVERFLOW
# endif
# define ENABLE_RGB_MATRIX_RIVERFLOW

//-- Framebuffer Effects
# ifdef ENABLE_RGB_MATRIX_TYPING_HEATMAP
# undef ENABLE_RGB_MATRIX_TYPING_HEATMAP
# endif
// # define ENABLE_RGB_MATRIX_TYPING_HEATMAP

# ifdef ENABLE_RGB_MATRIX_DIGITAL_RAIN
# undef ENABLE_RGB_MATRIX_DIGITAL_RAIN
# endif
// # define ENABLE_RGB_MATRIX_DIGITAL_RAIN

//-- Reactive Effects
# ifdef ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
# endif
// # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE

# ifdef ENABLE_RGB_MATRIX_SOLID_REACTIVE
# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE
# endif
// # define ENABLE_RGB_MATRIX_SOLID_REACTIVE

# ifdef ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
# endif
// # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE

# ifdef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
# endif
// # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE

# ifdef ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
# endif
// # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS

# ifdef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
# endif
// # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS

# ifdef ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
# endif
// # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS

# ifdef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
# endif
// # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS

# ifdef ENABLE_RGB_MATRIX_SPLASH
# undef ENABLE_RGB_MATRIX_SPLASH
# endif
// # define ENABLE_RGB_MATRIX_SPLASH

# ifdef ENABLE_RGB_MATRIX_MULTISPLASH
# undef ENABLE_RGB_MATRIX_MULTISPLASH
# endif
// # define ENABLE_RGB_MATRIX_MULTISPLASH

# ifdef ENABLE_RGB_MATRIX_SOLID_SPLASH
# undef ENABLE_RGB_MATRIX_SOLID_SPLASH
# endif
// # define ENABLE_RGB_MATRIX_SOLID_SPLASH

# ifdef ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
# undef ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
# endif
// # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH

//-- RGB SETTINGS
# ifdef RGB_MATRIX_DEFAULT_MODE
# undef RGB_MATRIX_DEFAULT_MODE
# endif
Expand Down

0 comments on commit 4d20a7e

Please sign in to comment.