#GamePad Powerlevel Indicator

1 messages · Page 1 of 1 (latest)

grizzled sparrow
#

I think this would be a nice QoL addition to ConsolePort. GamePad battery level/state is available via the API since around v9 I believe.

I added it to my local copy of CP in /cp status (second screenshot) but it'd be nice to have a meter similar to the WA I made for it (other screenshot, shows charging/wired).

Thank you!!

nocturne imp
#

Please share the code you used to do it and it'll save me a lot of time. WA might also be useful.

grizzled sparrow
#

Sure thing, would you like it posted here?

grizzled sparrow
#

WA Import string is too long... I'll just throw it on github and share the link

#

Clear WA code is included if you're hesitant about import strings.

#

Not perfect by any means, I worked all of that up yesterday, so it could definitely be much better.

grizzled sparrow
#

I'm attempting to add this myself and submit a pull request. Trying to wrap my head around LUA coming from C#/Java/js/etc is a nightmare

grizzled sparrow
#

Progress!
This is running via ConsolePort

grizzled sparrow
grizzled sparrow
#

I think I'm almost ready for a PR

#

Anchoring options is not something I've tackled yet though, but it's good enough I think for now.

regal meteor
grizzled sparrow
regal meteor
#

any idea when this is comin?

nocturne imp
restive vigil
#

Dealing with batteries sounds trash. I wish the main brand companies sold wired controllers still

orchid cave
restive vigil
#

Damn... I'm about to buy a ps4 or 5 controller next because xbox controllers are uncomfortable for me

nocturne imp
restive vigil
#

Yeah fair. Depending on how long the cable is that could work. I'm not savy with them and assumed you have to charge the battery packs in a bay or something, rendering the controller unsuable for the duration

orchid cave
#

I use an elite and remapped the R3/L3 and the RB/LB to the back paddles. Made the controls substantially more comfortable.