From c09cd48218a207739d70b81ae12360578ffc6f40 Mon Sep 17 00:00:00 2001 From: Patrick McQuay Date: Sun, 30 Jan 2022 22:33:02 -0500 Subject: [PATCH] fix for dropping keys --- kmk/kmk_keyboard.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/kmk/kmk_keyboard.py b/kmk/kmk_keyboard.py index b643de8..1adf21d 100644 --- a/kmk/kmk_keyboard.py +++ b/kmk/kmk_keyboard.py @@ -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