File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
com.neil-enns.trackaudio.sdPlugin/pi
src/events/streamDeck/hotline Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 118118 label ="Automatically enable speaker mode "
119119 > </ sdpi-checkbox >
120120
121- < summary > Advanced options</ summary >
122121 < sdpi-checkbox
123122 setting ="autoSetRx "
124123 label ="Automatically set Rx mode "
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import actionManager from "@managers/action";
33import trackAudioManager from "@managers/trackAudio" ;
44
55/**
6- * Handles the short press of a hotline action. Toggles the tx on both the primary and hotline frequency.
6+ * Handles the short press of a hotline action. Toggles TX and XCA on both the primary and hotline frequency.
77 * @param actionId The action id to toggle the state of
88 */
99export const handleHotlineShortPress = ( action : KeyAction ) => {
@@ -24,16 +24,16 @@ export const handleHotlineShortPress = (action: KeyAction) => {
2424 foundAction . isTxHotline = true ;
2525 }
2626
27- // The primary frequency always gets its xc state toggled to match the tx state,
28- // ensuring xc is re-enabled when tx turns on.
27+ // The primary frequency always gets its xca state toggled to match the tx state,
28+ // ensuring xca is re-enabled when tx turns on.
2929 trackAudioManager . sendMessage ( {
3030 type : "kSetStationState" ,
3131 value : {
3232 frequency : foundAction . primaryFrequency ,
3333 tx : ! foundAction . isTxPrimary ,
3434 rx : undefined ,
35- xc : ! foundAction . isTxPrimary ,
36- xca : undefined ,
35+ xc : undefined ,
36+ xca : ! foundAction . isTxPrimary ,
3737 headset : undefined ,
3838 isOutputMuted : undefined ,
3939 } ,
You can’t perform that action at this time.
0 commit comments