? 2 actions with one button ?

New or modified Mixxx skins

Moderators: garth, User Customization Moderators

? 2 actions with one button ?

Postby +X^N » Wed May 29, 2019 11:43 pm

I would like to modify the LateNight skin to make the Microphone "Talk" button
also activate the "Ducking - Manual" .
Is this possible & what is the syntax ?
...
In the file <mic_unit.xml>
The present syntax for the "Talk" button is :
Code: Select all
                <ObjectName>MicTalkButton</ObjectName>
                <Layout>vertical</Layout>
                <SizePolicy>min,max</SizePolicy>
                <Children>
                  <Template src="skin:button_2state.xml">
                    <SetVariable name="TooltipId">microphone_talkover</SetVariable>
                    <SetVariable name="Size">44f,26f</SetVariable>
                    <SetVariable name="icon">microphone_talkover</SetVariable>
                    <SetVariable name="ConfigKey"><Variable name="group"/>,talkover</SetVariable>
                  </Template>
                </Children>

& In the file <mic_aux_rack.xml>
the present syntax for the "Ducking" is :
Code: Select all
                  <Template src="skin:button_3state.xml">
                    <SetVariable name="TooltipId">talkover_duck_mode</SetVariable>
                    <SetVariable name="ObjectName">MicDuckingButton</SetVariable>
                    <SetVariable name="Size">62f,28f</SetVariable>
                    <SetVariable name="state_0">micDuck</SetVariable>
                    <SetVariable name="state_0_text">OFF</SetVariable>
                    <SetVariable name="state_1">micDuck_over</SetVariable>
                    <SetVariable name="state_1_text">AUTO</SetVariable>
                    <SetVariable name="state_2">micDuck_over</SetVariable>
                    <SetVariable name="state_2_text">MANUAL</SetVariable>
                    <SetVariable name="ConfigKey">[Master],talkoverDucking</SetVariable>
                  </Template>
+X^N
 
Posts: 5
Joined: Sun Apr 21, 2019 12:39 am

Return to Skins

Who is online

Users browsing this forum: No registered users and 1 guest