Added 2 more keys, stripped unused cruft, and added more docs.
This commit is contained in:
@@ -125,16 +125,6 @@ def rgb_tog(key, state, *args, **kwargs):
|
||||
return state
|
||||
|
||||
|
||||
def rgb_forward(key, state, *args, **kwargs):
|
||||
# TODO
|
||||
return state
|
||||
|
||||
|
||||
def rgb_reverse(key, state, *args, **kwargs):
|
||||
# TODO
|
||||
return state
|
||||
|
||||
|
||||
def rgb_hui(key, state, *args, **kwargs):
|
||||
state.config.pixels.increase_hue(state.config.pixels.hue_step)
|
||||
return state
|
||||
@@ -165,6 +155,16 @@ def rgb_vad(key, state, *args, **kwargs):
|
||||
return state
|
||||
|
||||
|
||||
def rgb_ani(key, state, *args, **kwargs):
|
||||
state.config.pixels.increase_ani()
|
||||
return state
|
||||
|
||||
|
||||
def rgb_and(key, state, *args, **kwargs):
|
||||
state.config.pixels.decrease_ani()
|
||||
return state
|
||||
|
||||
|
||||
def rgb_mode_static(key, state, *args, **kwargs):
|
||||
state.config.pixels.effect_init = True
|
||||
state.config.pixels.animation_mode = 'static'
|
||||
|
Reference in New Issue
Block a user