增加了单击启动对话和长按期间对话,默认使用短按启动对话
This commit is contained in:
@@ -278,6 +278,36 @@ menu "Example Configuration"
|
||||
help
|
||||
Ignore raw GPIO chatter briefly after a double-click has been emitted.
|
||||
|
||||
choice TQ_PTT_INTERACTION_MODE
|
||||
prompt "PTT interaction mode"
|
||||
default TQ_PTT_MODE_CLICK_TO_TALK
|
||||
depends on TQ_KEY_INPUT_ENABLE
|
||||
help
|
||||
Select how the PTT key controls multimodal speech input.
|
||||
|
||||
config TQ_PTT_MODE_CLICK_TO_TALK
|
||||
bool "Click-to-talk"
|
||||
help
|
||||
A short press opens one bounded speech-input window. Double-click
|
||||
remains available for the PTT double-click expression and does not
|
||||
start speech input.
|
||||
|
||||
config TQ_PTT_MODE_HOLD_TO_TALK
|
||||
bool "Hold-to-talk"
|
||||
help
|
||||
Preserve the original behavior: press and hold starts speech input,
|
||||
release stops speech input.
|
||||
endchoice
|
||||
|
||||
config TQ_PTT_CLICK_CAPTURE_TIMEOUT_MS
|
||||
int "PTT click-to-talk capture timeout (ms)"
|
||||
default 8000
|
||||
range 1000 60000
|
||||
depends on TQ_KEY_INPUT_ENABLE && TQ_PTT_MODE_CLICK_TO_TALK
|
||||
help
|
||||
Maximum microphone capture window started by one PTT short press.
|
||||
When it expires, uplink capture is stopped and StopSpeech is sent.
|
||||
|
||||
endmenu
|
||||
|
||||
menu "TQ Screen"
|
||||
|
||||
Reference in New Issue
Block a user