diff --git a/lib/bluetooth/devices/base_device.dart b/lib/bluetooth/devices/base_device.dart index 5456d18..df2a132 100644 --- a/lib/bluetooth/devices/base_device.dart +++ b/lib/bluetooth/devices/base_device.dart @@ -79,7 +79,10 @@ abstract class BaseDevice { await handleButtonsClicked([], longPress: true); } else { // For non-long-press actions: perform a single click + // First call performs the click action (isKeyDown: true, isKeyUp: true) await handleButtonsClicked(clickedButtons, longPress: false); + // Second call cleans up state (clears timer, logs release, clears _previouslyPressedButtons) + // but doesn't perform a release action since longPress: false await handleButtonsClicked([], longPress: false); } } else {