fix: send duplicated keyDownState

This commit is contained in:
Siyuan Miao 2025-09-18 12:46:35 +02:00
parent 83a0dbe628
commit 153f458beb
1 changed files with 0 additions and 1 deletions

View File

@ -1143,7 +1143,6 @@ func rpcDoExecuteKeyboardMacro(ctx context.Context, macro []hidrpc.KeyboardMacro
if err != nil {
logger.Warn().Err(err).Msg("failed to reset keyboard state")
}
gadget.UpdateKeysDown(0, keyboardClearStateKeys)
logger.Debug().Int("step", i).Msg("Keyboard macro cancelled during sleep")
return last, ctx.Err()