public override void OnButtonUp(DeckDevice deckDevice)
        {
            if (OBSUtils.IsConnected)
            {
                switch (StreamAction)
                {
                case StreamingState.Start:
                    OBSUtils.StartStreaming();
                    break;

                case StreamingState.Stop:
                    OBSUtils.StopStreaming();
                    break;

                case StreamingState.Toggle:
                    switch (ToggleStreamingAction)
                    {
                    case StreamingStateToggle.Stopped:
                        ToggleStreamingAction = StreamingStateToggle.Recording;
                        OBSUtils.StartRecording();
                        IDeckHelper.setVariable(false, atual_item, deckDevice);
                        break;

                    case StreamingStateToggle.Recording:
                        ToggleStreamingAction = StreamingStateToggle.Stopped;
                        OBSUtils.StopRecording();
                        IDeckHelper.setVariable(true, atual_item, deckDevice);
                        break;
                    }
                    break;
                }
            }
        }
        public override void OnButtonUp(DeckDevice deckDevice)
        {
            if (OBSUtils.IsConnected)
            {
                switch (StreamAction)
                {
                case StreamingState.Start:
                    OBSUtils.StartStreaming();
                    break;

                case StreamingState.Stop:
                    OBSUtils.StopStreaming();
                    break;
                }
            }
        }