1
Skins / Re: Switching layouts
« on: October 15, 2023, 03:41:52 PM »
Hi parisienne17,
You can do it with buttons whose action is "SWITCH" and the param is the id of the layout you want to switch to.
<button
id="SwitchUp"
action="SWITCH" param="normal"
x="?" y="?"
image="arrow.up"
hoverImage="arrow.up.hover"
downimage="arrow.up.pressed"
tooltip="Switch to normal mode"
/>
<button
id="SwitchDown"
action="SWITCH" param="stick"
x="?" y="?"
image="arrow.down"
hoverImage="arrow.down.hover"
downimage="arrow.down.pressed"
tooltip="Switch to stick mode"
/>
You can do it with buttons whose action is "SWITCH" and the param is the id of the layout you want to switch to.
<button
id="SwitchUp"
action="SWITCH" param="normal"
x="?" y="?"
image="arrow.up"
hoverImage="arrow.up.hover"
downimage="arrow.up.pressed"
tooltip="Switch to normal mode"
/>
<button
id="SwitchDown"
action="SWITCH" param="stick"
x="?" y="?"
image="arrow.down"
hoverImage="arrow.down.hover"
downimage="arrow.down.pressed"
tooltip="Switch to stick mode"
/>