private void CheckKeyDown(object sender, EventArgs e) { if (!MiscExtensions.ApplicationHasFocus()) { if (Keybinds.IsKeyDown(toggleRecording)) { ToggleRecording(); } } }