Kommentare
This commit is contained in:
parent
a385b59507
commit
ad053d624b
1 changed files with 0 additions and 2 deletions
|
@ -93,11 +93,9 @@ while True:
|
|||
keybow.update()
|
||||
|
||||
|
||||
# If the modifier key is held, light up the layer selector keys
|
||||
for layer in layers.keys():
|
||||
keys[layer].set_led(*colours[layer])
|
||||
|
||||
# Change layer if layer key is pressed
|
||||
if current_layer != layer:
|
||||
if selectors[layer].pressed:
|
||||
current_layer = layer
|
||||
|
|
Loading…
Reference in a new issue