Hello,
I try
<button pannel="leftd1" action="deck left key 0 ? off & deck left key 0 : blink & deck left key 0">
<pos x="471" y="322"/>
<size width="24" height="12"/>
<down x="471" y="1347"/>
<selected x="471" y="1347"/>
</button>
and when I went below 0 or above 0, it always flashes !
Someone should the solution?
Thank you in advance
I try
<button pannel="leftd1" action="deck left key 0 ? off & deck left key 0 : blink & deck left key 0">
<pos x="471" y="322"/>
<size width="24" height="12"/>
<down x="471" y="1347"/>
<selected x="471" y="1347"/>
</button>
and when I went below 0 or above 0, it always flashes !
Someone should the solution?
Thank you in advance
Posté Sun 12 Jul 15 @ 10:11 am
Yes, because thats what the action you used is doing :)
How do you want that button to behave ?
How do you want that button to behave ?
Posté Sun 12 Jul 15 @ 1:03 pm
hello djdad,
I wish that the button is not flashing KEY 0
As against that flashes when I make the key_move -0.1 or +0.1 key_move
to simplify
Below 0 flashes (blue color)
0 set (white color)
Above 0 flashes (blue color)
thank you djdad
I wish that the button is not flashing KEY 0
As against that flashes when I make the key_move -0.1 or +0.1 key_move
to simplify
Below 0 flashes (blue color)
0 set (white color)
Above 0 flashes (blue color)
thank you djdad
Posté Sun 12 Jul 15 @ 1:33 pm
Oups ! no flashes (blink)
Sorry.
Sorry.
Posté Mon 13 Jul 15 @ 3:38 am
Sorry, still confused.
anyways..
deck left key 0 ? off & deck left key 0 : blink & deck left key 0
Led/button will blink if Key >0 or <0 and off if =0
deck left key 0 ? blink & deck left key 0 : off & deck left key 0
Led/button will be off if Key >0 or <0 and will blink if =0
deck left key 0 ? off & deck left key 0 : on & deck left key 0
Led/button will be on if Key >0 or <0 and off if =0
For version 8 skins (version="8" in the 1st line of the xml), you can also split the action that the button will perform with the query of the "Led"
So have ..
<button action="deck left key 0" query="deck left key 0 ? off : blink" >
anyways..
deck left key 0 ? off & deck left key 0 : blink & deck left key 0
Led/button will blink if Key >0 or <0 and off if =0
deck left key 0 ? blink & deck left key 0 : off & deck left key 0
Led/button will be off if Key >0 or <0 and will blink if =0
deck left key 0 ? off & deck left key 0 : on & deck left key 0
Led/button will be on if Key >0 or <0 and off if =0
For version 8 skins (version="8" in the 1st line of the xml), you can also split the action that the button will perform with the query of the "Led"
So have ..
<button action="deck left key 0" query="deck left key 0 ? off : blink" >
Posté Mon 13 Jul 15 @ 8:22 am
Thank you
I followed your script and I was faced with a problem that I managed to skirted.
Indeed your script works wonders on orientation = "round".
By cons of a button I used the %
Here are 2 scripts
<button pannel="leftd1" action="holding ? key 0 : deck left key_move -0.1" rightclick="holding ? key 0 : deck left key_move +0.1">
<button pannel="leftd1" action="deck left key 50% ? off & deck left key 50% : on & deck left key 50% & deck left key 0" rightclick="deck left match_key">
The desired effect is obtained
thank you again
I followed your script and I was faced with a problem that I managed to skirted.
Indeed your script works wonders on orientation = "round".
By cons of a button I used the %
Here are 2 scripts
<button pannel="leftd1" action="holding ? key 0 : deck left key_move -0.1" rightclick="holding ? key 0 : deck left key_move +0.1">
<button pannel="leftd1" action="deck left key 50% ? off & deck left key 50% : on & deck left key 50% & deck left key 0" rightclick="deck left match_key">
The desired effect is obtained
thank you again
Posté Mon 13 Jul 15 @ 1:39 pm