mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Feat: text to speech source controls PTT of connected sinks
This commit is contained in:
@@ -80,12 +80,8 @@ export const UnitSinkPanel = forwardRef((props: { sink: UnitSink; shortcutKeys:
|
||||
<OlStateButton
|
||||
checked={props.sink.getPtt()}
|
||||
icon={faMicrophoneLines}
|
||||
onClick={() => {}}
|
||||
onMouseDown={() => {
|
||||
props.sink.setPtt(true);
|
||||
}}
|
||||
onMouseUp={() => {
|
||||
props.sink.setPtt(false);
|
||||
onClick={() => {
|
||||
props.sink.setPtt(!props.sink.getPtt());
|
||||
}}
|
||||
tooltip="Talk on frequency"
|
||||
></OlStateButton>
|
||||
|
||||
Reference in New Issue
Block a user