case 1: // Red record button deviceManager.ActiveDevice?.StartRecording(); break; case 2: // Yellow custom button InsertVoiceCommandMacro("next_section"); break; case 3: // Blue button – send to dictation workflow UploadToSpeechLive(); break;
switch(button.Id)
deviceManager.Start();