So i am trying to make a skin so that will show upon connection of xbox controller and hides on disconnect but will also change the icon depending on whether battery is above or below 50% but i am at a loss, i am using XInput dll posted here
I moved the IfConditions from the [meterController0Connect] and [meterController0Battery] meters to the [measureController0Connect] and [measureController0Battery] measures.
The IfConditions placed into the [measureController0Battery] measure don't cover the whole range of the domain. IfCondition is true if the measure gets the 0.33 value, while IfCondition2 for values above 0.5. What should go on for other values (below 0.5, excepting 0.33)?
Although once the Author option belonged to the [Rainmeter] section, a while ago it was moved to [Metadata]. You also should have to move it.
Update=10? Why? Don't use a such small value. In fact the smallest possible value is 16 (Note here), but not even this isn't needed. I think the default Update=1000 is the best choice in this case (unless your skin has some not posted parts, which requires a such small Update). I'd probably replace this.
the only values that would change apart from the connect and disconnect would be 0.33, 0.50, 0.75 and 1.0 for the battery level but i only want two images for above 50 and below 50, my biggest issue is making the skin hide when i disconnect my controller. I am basing the commands around this https://forum.rainmeter.net/viewtopic.php?f=128&t=20108&hilit=xinput
simzy wrote: ↑April 6th, 2019, 1:15 pm
the only values that would change apart from the connect and disconnect would be 0.33, 0.50, 0.75 and 1.0 for the battery level but i only want two images for above 50 and below 50, my biggest issue is making the skin hide when i disconnect my controller. I am basing the commands around this https://forum.rainmeter.net/viewtopic.php?f=128&t=20108&hilit=xinput
I don't know that plugin and can't even try it out, because I'm not using XBox, but if only those values are involved, the IfCondition can be modified this way: