Re-add LED support

This reverts commit 5b069a0104.
This commit is contained in:
Josh Klar
2019-07-12 17:11:36 -07:00
committed by Kyle Brown
parent f6a39acd26
commit d34e8ce9d2
52 changed files with 1785 additions and 206 deletions

View File

@@ -189,8 +189,7 @@ class InternalState:
return self
if (
changed_key not in self.tap_dance_counts or
not self.tap_dance_counts[changed_key]
changed_key not in self.tap_dance_counts or not self.tap_dance_counts[changed_key]
):
self.tap_dance_counts[changed_key] = 1
self.set_timeout(self.config.tap_time, lambda: self._end_tap_dance(changed_key))
@@ -275,8 +274,7 @@ class InternalState:
for key in keys_pressed:
if (
self.config.leader_mode == LeaderMode.ENTER_ACTIVE and
key == KC.ENT
self.config.leader_mode == LeaderMode.ENTER_ACTIVE and key == KC.ENT
):
self._handle_leader_sequence()
break