It is currently March 28th, 2024, 9:35 pm

XBOX ONE Wireless Controller battery percentage

Get help with creating, editing & fixing problems with skins
AlanMW
Posts: 3
Joined: June 12th, 2016, 12:19 pm

Re: XBOX ONE Wireless Controller battery percentage

Post by AlanMW »

StArL0rd84 wrote:Yup, embarrassing. My dll's had been mixed up.
Bar meter no longer moves when left stick is "tickled" XD
And the Battery_Pad error is gone.
Now the long test begins again to see what values it spits out as the battery drains.
Hopefully this skin can be moved out of the parked skins folder now :D

Results?
DonHuan
Posts: 3
Joined: January 7th, 2016, 1:14 pm

Re: XBOX ONE Wireless Controller battery percentage

Post by DonHuan »

he is gone... :welcome: :welcome: :welcome: :o
User avatar
StArL0rd84
Posts: 424
Joined: February 8th, 2015, 10:07 pm
Location: EU, Denmark.

Re: XBOX ONE Wireless Controller battery percentage

Post by StArL0rd84 »

Finally i got it working.
Tried to use conditions on the battery measure, to show/hide individual images, but didn't work.
I think that's where i got stuck before.
For the hell of it i slapped a bar meter on it, since a string meter would display the correct values.
And it worked!

Image

I am currently making a whole suite with this skin included.
Will of cause post it here when it's ready.

Code: Select all

[mBattery]
 Measure=Plugin
 Plugin=XInput
 Channel=Battery_Pad

[Battery_Shell]
 Meter=Image
 ImageName=#@#Images\Controller\BatteryShell.png
 ImageTint=#BarColor#
 X=50
 Y=50

[Battery_Bar]
 Meter=Bar
 MeasureName=mBattery
 BarImage=#@#Images\Controller\BatteryBar.png
 BarOrientation=Horizontal
 X=10r
 Y=11r
 ImageTint=#BarColor#
One thing still bugs me though.
Upon established connection the battery measure does not update until a button is pressed
or a stick is moved.
([mWorkTime] = 1 ? #Work# : ([mEnergyLoss:%] >= 70% ? #Chillmode# : </>))
User avatar
StArL0rd84
Posts: 424
Joined: February 8th, 2015, 10:07 pm
Location: EU, Denmark.

Re: XBOX ONE Wireless Controller battery percentage

Post by StArL0rd84 »

ok here is the 1st simple skin i came up with.
Although not a "controller-button-monitor-skin" like in my earlier post (Working on it)
Just a simple battery meter :D
http://starl0rd84.deviantart.com/art/xBattery-1-0-625843595

Image
([mWorkTime] = 1 ? #Work# : ([mEnergyLoss:%] >= 70% ? #Chillmode# : </>))
User avatar
maximogta
Posts: 1
Joined: May 7th, 2019, 11:10 am

Re: XBOX ONE Wireless Controller battery percentage

Post by maximogta »

Starlord, cool proyect. Could reupload it to deviantart or give some link to download?
I have been searching for some xbox controller battery meter skin and yours is the only one for rainmeter.
Thanks. :)
soyelrafa
Posts: 96
Joined: March 1st, 2017, 3:09 pm

Re: XBOX ONE Wireless Controller battery percentage

Post by soyelrafa »

maximogta wrote: May 7th, 2019, 11:14 am Starlord, cool proyect. Could reupload it to deviantart or give some link to download?
I have been searching for some xbox controller battery meter skin and yours is the only one for rainmeter.
Thanks. :)
Yeah, +1 from here!