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:
@@ -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)
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user