dictation-toolbox/dtactions

control of exclusive grammars by the _control grammar

quintijn opened this issue · 1 comments

I just completed the feature that when a unimacro grammars goes exclusive, _control is also made exclusive, in order to make the control commands still active.

Maybe test also for two exclusive unimacro grammars, but probably this will already work.

Add command "reset exclusive mode" and have make a callback into _control when the mic switches off. In that case, from control all exlcusive grammars can call cancelMode (if present in the concerning grammar) and terminate this exclusive mode.

working for the moment, until other issues arrive!