Roll back the tuple indexing change (now access by dot notation), optimize GESC and fix a bug in how it interacts with the reducer

This commit is contained in:
Josh Klar committed 2018-10-01 01:07:57 -07:00
1 parent b5457534bf
commit f80873fdd0
4 files changed
+25 -29

No files matched your search

-1
View File
@@ -57,7 +57,6 @@ class MatrixScanner(AbstractMatrixScanner):
opin.value(0)
if len(pressed) != self.last_pressed_len:
print('LEN PRESSED {} LEN LAST PRESSED {}'.format(len(pressed), self.last_pressed_len))
self.last_pressed_len = len(pressed)
return matrix_changed(pressed)
+1 -1
View File
@@ -44,7 +44,7 @@ class HIDHelper:
self.report_non_mods = memoryview(self._evt)[3:]
def _subscription(self, state, action):
if action[0] == HID_REPORT_EVENT:
if action.type == HID_REPORT_EVENT:
self.clear_all()
consumer_key = None