namespace WirelessTextSyncer.Windows.Services; public sealed class KeyboardInjectionService : IKeyboardInjectionService { public void InsertText(string text) { if (string.IsNullOrEmpty(text)) { return; } SendKeys.SendWait(text); } public void Backspace() { SendKeys.SendWait("{BACKSPACE}"); } public void Enter() { SendKeys.SendWait("{ENTER}"); } }