Skip to content

bassena/xbox-controller-battery-status

Repository files navigation

xbox-controller-battery-status

A simple personal project. The app is a WPF solution for Windows which uses the open-source SlimDX library to access the recourses of the Xbox 360 controller, and the Hardcodet WPF NotifyIcon library to allow the WPF app to run with a tray icon (as it doesn't natively do so). Both of these libraries can be found under "Manage NuGet Packages" from Visual Studio.

Credit goes to Icon Works from http://www.flaticon.com for the battery icon.

NOTE

The application currently only works for when the controller is set to Player 1 (usually default). Battery status will not be read otherwise.

When Running

When the application is running, a battery icon will show up in the Windows tray:

tray icon

Battery States

There are 5 states in which the battery level will be read as: Full(full icon), Medium (medium icon), Low (low icon), or Empty (empty icon) Charge; or Not Connected (not connected icon).

Tooltips

There are two types of messages that could be given when hovering the mouse over the battery icon:

When the controller is connected

tooltip when controller connected, medium charge

When it isn't

tooltip when controller not connected

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages