fix for dropping keys

This commit is contained in:
Patrick McQuay authored and Kyle Brown committed 2022-02-04 08:37:19 -08:00
1 parent bff1bdf6d9
commit c09cd48218
1 file changed
+1 -6
+1 -6
View File
@@ -141,13 +141,8 @@ class KMKKeyboard:
print('MatrixChange(col={} row={} pressed={})'.format(col, row, is_pressed))
int_coord = intify_coordinate(row, col)
if not is_pressed:
self.current_key = self._coordkeys_pressed[int_coord]
if self.debug_enabled:
print('PressedKeyResolution(key={})'.format(self.current_key))
if self.current_key is None:
self.current_key = self._find_key_in_map(int_coord, row, col)
self.current_key = self._find_key_in_map(int_coord, row, col)
if is_pressed:
self._coordkeys_pressed[int_coord] = self.current_key