Giter Club home page Giter Club logo

Comments (5)

atar-axis avatar atar-axis commented on July 17, 2024

Wow... i tried to observe discharging of my battery pack - therefore I started some rumble effects, thought it would last maybe an hour or two, but the gamepad is rumbling since 5-6 hours nonstop now and it is still not empty. Not bad microsoft, not bad.

from xpadneo.

atar-axis avatar atar-axis commented on July 17, 2024

I am doing last tests at the moment, but until now it looks like the following:

<- MSb -- LSb -
O XX C MM LL

O: Online
X: Padding/Reserved
C: Charging, I mean really charging something - not the power cord powering the controller
M: Mode - 00: Powered by USB 01: Powered by (disposable) batteries, 10: Powered by Play 'n Charge battery pack
L: Capacity Level - 00: Critical, 11: Full

from xpadneo.

atar-axis avatar atar-axis commented on July 17, 2024

The above seems correct, the only thing is that i recognized the following event:

0b1001_1000 - 98
0b1010_1000 - a8
0b0000_1000 - 08

Therefore one of the X's isn't an Reserved/Padding-bits, but I don't know it's meaning yet.

Update

Seems only to happen then plugging and unplugging the USB cable, maybe this is some sort of error bit.

Update 2

I am doing last tests at the moment, but until now it looks like the following:

<- MSb --- LSb -
O R E C MM LL

  • O: Online
  • R: Reserved / Unused
  • E: Error (?) / Unknown
  • C: Charging, I mean really charging something - not the power cord powering the controller
  • MM: Mode
    • 00: Powered by USB
    • 01: Powered by (disposable) batteries
    • 10: Powered by Play 'n Charge battery pack
  • LL: Capacity Level
    • 00: (Super) Critical
    • 01: Low
    • 10: Medium
    • 11: Full

from xpadneo.

atar-axis avatar atar-axis commented on July 17, 2024

basic support added - closing this issue.

from xpadneo.

atar-axis avatar atar-axis commented on July 17, 2024

documentation: /sys/bus/hid/devices/0005:045E:02FD.000F/power_supply/xpadneo_batt_3a:32:30:3a:34:33/

from xpadneo.

Related Issues (20)

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.