mirror of https://github.com/jetkvm/kvm.git
fix: send duplicated keyDownState
This commit is contained in:
parent
83a0dbe628
commit
153f458beb
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue