public void Execute(CancellationToken threadCancellationToken) { Common.PlaySoundFile(SoundFile, Volume); if (!PluginManager.DisableKeyboardAPI) { OSKeyPress.Execute(threadCancellationToken); } if (PluginManager.PlugSupportActivated && PluginManager.HasPlugin()) { PluginManager.DoEvent( DCSFPProfile.SelectedProfile.Description, StreamDeckPanelInstance.HIDInstance, StreamDeckCommon.ConvertEnum(_streamDeckPanel.TypeOfPanel), (int)StreamDeckButtonName, true, OSKeyPress.KeyPressSequence); } }
public void Execute(CancellationToken threadCancellationToken) { OSKeyPress.Execute(threadCancellationToken); }