OK I think I have a general workaround which is not (too) ugly.
<Connection>
<ConfigKey>[Channel1],cue_set</ConfigKey>
<EmitOnDownPress>true</EmitOnDownPress>
<ButtonState>RightButton</ButtonState>
<ConnectValueToWidget>false</ConnectValueToWidget> <!-- fixes play/pause button state bug -->
<ConnectValueFromWidget>true</ConnectValueFromWidget> <!-- not required since it defaults true -->
<PushButton>true</PushButton> <-- used to force WPushButton to treat this connection like a pushbutton -->
</Connection>
It will be an error to connect two controls to RightButton (or LeftButton) with different PushButton values.
OK I think I have a general workaround which is not (too) ugly.
<Connection> [Channel1] ,cue_set< /ConfigKey> ess>true< /EmitOnDownPres s> RightButton< /ButtonState> ToWidget> false</ ConnectValueToW idget> <!-- fixes play/pause button state bug --> FromWidget> true</ConnectVa lueFromWidget> <!-- not required since it defaults true --> true</PushButto n> <-- used to force WPushButton to treat this connection like a pushbutton -->
<ConfigKey>
<EmitOnDownPr
<ButtonState>
<ConnectValue
<ConnectValue
<PushButton>
</Connection>
It will be an error to connect two controls to RightButton (or LeftButton) with different PushButton values.