Code Monkey home page Code Monkey logo

Comments (8)

BobRoss05 avatar BobRoss05 commented on May 21, 2024 1

I just finished charging up my controller and with a full battery it works just fine when paired. I actually wen to the old version first to test to see if it crashed, which it did, then I put it back on this build and it works perfectly. Thanks for the quick fix!

from missioncontrol.

NSWRyan avatar NSWRyan commented on May 21, 2024

The DS4 battery data max is 11 while the joycon (dunno about pro controller) is 4. Maybe this causes the issue?
If that is true, then this code does not fix it.
m_battery = src->input0x11.battery_level & 0xe;
dualshock4_controller.cpp

from missioncontrol.

gazba avatar gazba commented on May 21, 2024

I'd like to add: I tried to pair it with a fully charged DS4 controller, and it instantly crashes atmosphere. It wasn't docked, or charging at the moment. Thank you for looking into it, and sorry if i posted in the wrong place, but seemed unnecessary to open a new issue ticket.

from missioncontrol.

BobRoss05 avatar BobRoss05 commented on May 21, 2024

I have the same issue where it crashes atmosphere while pairing a DS4 controller and I actually had the controller working with the system when it had a lower battery percentage.
More specifically i got the DS4 controller to start working when it had around 80% battery, any more and it crashes atmosphere. And at 80% battery the DS4 is seen as full battery by the switch.

from missioncontrol.

ndeadly avatar ndeadly commented on May 21, 2024

I made some changes to the DS4 battery handling code that should (hopefully) fix the invalid values causing the crashes. Try this build out and report back if it fixes the issues you guys are having

MissionControl-0.1.0-ds4-battery-fix.zip

from missioncontrol.

BobRoss05 avatar BobRoss05 commented on May 21, 2024

I just tested by plugging in the DS4 controller which crashed the system on the release build but this custom build allowed it to pair and work while plugged in to power. I'll let the controller charge to full then unplug it and try pairing it with a full battery but this seems to work so far but i'll let you know what the battery does later which I don't think should change because it seems that the DS4 registers itself as 100% charged on its end while plugged in even if it isn't.

from missioncontrol.

ndeadly avatar ndeadly commented on May 21, 2024

@BobRoss05 sounds promising. Looking forward to hearing your findings.

from missioncontrol.

ndeadly avatar ndeadly commented on May 21, 2024

This is now fixed in the latest release.

from missioncontrol.

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.