Added 2 more keys, stripped unused cruft, and added more docs.

This commit is contained in:
Kyle Brown committed 2019-06-21 16:44:03 -07:00
1 parent 5c8c2e97fd
commit f65ea1e841
6 files changed
+86 -20

No files matched your search

+10 -10
View File
@@ -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'