Example #1
0
        private void WhileTrackingInputEvent()
        {
            switch (buttonInput)
            {
            case ButtonInput.Record:
                inputHandler.StopTrackingAndSerializeData();
                trackingState = TrackingState.Pendling;
                break;

            case ButtonInput.Switch:
                inputHandler.GeneratedFilePopup($"failed to switch tracking type{paragraph}",
                                                "please finish recording");
                break;

            case ButtonInput.Filebrowser:
                inputHandler.GeneratedFilePopup($"failed to open file browser{paragraph}",
                                                "please finish recording");
                break;

            case ButtonInput.Settings:
                inputHandler.GeneratedFilePopup($"failed to open settings{paragraph}",
                                                "please finish recording");
                break;
            }
        }
Example #2
0
 public void OnTrackingStateChanged(string message)
 {
     inputHandler.GeneratedFilePopup(message, "");
 }