Posts: 187
Threads: 43
Joined: Jul 2015
Reputation:
2
Hi,
Is it possible to have inverted horizontal slider as an option just like the vertical?
Thank you in advance
Posts: 4968
Threads: 28
Joined: Aug 2017
Reputation:
228
Hi
What is the reason behind this?
BR
------------------------------
Ctrl+F5
Posts: 187
Threads: 43
Joined: Jul 2015
Reputation:
2
I have a curtain that opens on the right side, the slider is bounded to curtain position and i need it to respond as the curtain drive. + or right arrow should lower the value.
Posts: 4968
Threads: 28
Joined: Aug 2017
Reputation:
228
For now use another object to convert it like this
Code:
1
grp.write (
'1/1/1' ,
100 +
event.getvalue ()*(-
100 )/
100 )
Change 100 to 255 if you use unsigned object not scale.
------------------------------
Ctrl+F5
Posts: 187
Threads: 43
Joined: Jul 2015
Reputation:
2
I didn't want to go that way, i prefer to invert the actuator drive if there is no other clean option.