Breathing now finally working, a key to enable it, not sane defaults, and a toggle button
This commit is contained in:
1 parent
0ba5911f8f
commit
31983a0873
5 files changed
+78
-49
No files matched your search
@@ -118,3 +118,14 @@ def td_pressed(key, state, *args, **kwargs):
|
||||
|
||||
def td_released(key, state, *args, **kwargs):
|
||||
return state._process_tap_dance(key, False)
|
||||
|
||||
|
||||
def rgb_tog(key, state, *args, **kwargs):
|
||||
state.config.pixel_state['enable'] = not state.config.pixel_state['enable']
|
||||
return state
|
||||
|
||||
|
||||
def rgb_mode_breathe(key, state, *args, **kwargs):
|
||||
state.config.pixel_state['animation_mode'] = 'breathing'
|
||||
return state
|
||||
|
||||
Reference in new issue
Block a user