Coder Social home page Coder Social logo

aylz10 / xb1controllerbatteryindicator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from niyashy/xb1controllerbatteryindicator

0.0 2.0 0.0 125 KB

A tray application that shows a battery indicator for an Xbox-ish controller and gives a notification when the battery level drops to (almost) empty.

License: GNU General Public License v2.0

C# 100.00%

xb1controllerbatteryindicator's Introduction

XBox One Controller Battery Indicator

A tray application that shows a battery indicator for an Xbox-ish controller and gives a notification when the battery level drops to (almost) empty.

It was originally written for the XBox One controller since Microsoft dropped all visual hints for low battery, but it should work with any gamepad that can be addressed via XInput (which should be all controllers that work in XBox-controller-enabled games).

Download link for a "ready to run" version at the bottom of this page!
(The green download button at the top is for the source code package)

When more than one controller is present, the tray icon will cycle through the status display every 5 seconds.

Tray icon

When a controller reaches low battery level, a notification is displayed.

Imgur

Controllers reported as working/being recognized so far:

  • XBOne + dongle
  • XBOne Elite + dongle
  • XBOne S + dongle
  • XBOne S + Bluetooth
  • XB360

Currently known issues/limitations:

  • initial recognition of a newly connected controller can take a while. It will be displayed as "waiting for battery level data" at first but should switch to battery level after ~10 seconds and a button press. (This might be a limitation of the XInput API.)

You can download the latest version here.
Some additional details about how it works and what it shows can be found on the wiki page.
Found a bug or wanna give feedback? Open an issue here in github or leave a comment over on reddit.

xb1controllerbatteryindicator's People

Contributors

niyashy avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.