Jump to content
LaunchBox Community Forums

Switch Theme WIP


Grila

Recommended Posts

Wonder if the XInput API has a battery level status for wireless controllers.

Edit:

Oh looky looky, indeed it does:

XInputGetBatteryInformation function

http://sharpdx.org/wiki/class-library-api/xinput/

Hook that baby up to your usercontrol as an additional datasource.

like, BatteryControl.Source = Controller

and then BatteryControl.Controller = 1

then we can just do a for loop on the Xinput api response for number of controllers plugged in and generate all the battery controls. (maybe even make that it's own control too), then you can just change the flow direction up, down, left, right

Edited by spektor56
  • Like 2
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...