(step hidrpc.KeyboardMacroStep)
| 1285 | var keyboardClearStateKeys = make([]byte, hidrpc.HidKeyBufferSize) |
| 1286 | |
| 1287 | func isClearKeyStep(step hidrpc.KeyboardMacroStep) bool { |
| 1288 | return step.Modifier == 0 && bytes.Equal(step.Keys, keyboardClearStateKeys) |
| 1289 | } |
| 1290 | |
| 1291 | func rpcDoExecuteKeyboardMacro(ctx context.Context, macro []hidrpc.KeyboardMacroStep) error { |
| 1292 | logger.Debug().Interface("macro", macro).Msg("Executing keyboard macro") |
no outgoing calls
no test coverage detected