Hi all,
I’ve been working on a Rainmeter skin that displays a notification when a controller is connected or disconnected. I’ve got an image of the controller that appears and disappears based on the connection status, but I’m running into an issue with a text string.
The text string, which says “No Controller Connected,” doesn’t show or hide properly when the controller is disconnected or connected. The text remains visible and only updates when I manually refresh the skin.
Here’s the .ini I’ve been working with:The images of the controller (in the Images group) show and hide properly when the controller is connected or disconnected. However, the text string only updates when I manually refresh the skin, even though I’m using IfEqualAction to hide/show it dynamically.
I’ve tried the following:
Removing Hidden=1 from the text meter and relying on the IfEqualAction to control the visibility.
Using DynamicVariables=1 to ensure the meter updates correctly.
Tried different update intervals (from 1000ms to 2500ms) to make sure it responds in real time.
The issue is that the text string is not hiding or showing automatically when the connection state changes unless I refresh the skin manually.
Can anyone suggest a way to fix this?
I’ve been working on a Rainmeter skin that displays a notification when a controller is connected or disconnected. I’ve got an image of the controller that appears and disappears based on the connection status, but I’m running into an issue with a text string.
The text string, which says “No Controller Connected,” doesn’t show or hide properly when the controller is disconnected or connected. The text remains visible and only updates when I manually refresh the skin.
Here’s the .ini I’ve been working with:
Code:
[Rainmeter]Update=1000[Metadata]Author=SlyGuy69Information=Controller Connection Notification Skin;==========MEASURES==========[Connected]Measure=PluginPlugin=XInputChannel=ConnectedIfEqualValue=1IfEqualAction=[!HideMeter MeterString] ; Hide text when controller is connectedIfEqualValue=0IfEqualAction=[!ShowMeter MeterString] ; Show text when controller is disconnected[MeasureBlink]Measure=CalcFormula=MeasureBlink = 0 ? 255 : 0DynamicVariables=1;==========METERS==========[MeterString]Meter=StringGroup=StringFontSize=15FontColor=255,255,255,[MeasureBlink]SolidColor=0,0,0,128Padding=10,10,10,10AntiAlias=1Text=No Controller ConnectedDynamicVariables=1
I’ve tried the following:
Removing Hidden=1 from the text meter and relying on the IfEqualAction to control the visibility.
Using DynamicVariables=1 to ensure the meter updates correctly.
Tried different update intervals (from 1000ms to 2500ms) to make sure it responds in real time.
The issue is that the text string is not hiding or showing automatically when the connection state changes unless I refresh the skin manually.
Can anyone suggest a way to fix this?
Statistics: Posted by SlyGuy69 — Yesterday, 8:10 pm — Replies 2 — Views 33