Code Monkey home page Code Monkey logo

Comments (4)

Ryochan7 avatar Ryochan7 commented on July 26, 2024 1

Hopefully there is a way to allow charging to work properly in more cases. As it is, charging will only work if the DS4 is synced to the dongle before starting DS4Windows. That is because the dongle will have an invalid serial associated with it until a controller is synced up. There is nothing in place to update the serial number associated with a controller in the code.

from ds4windows.

Ryochan7 avatar Ryochan7 commented on July 26, 2024 1

I think I might have found a way to detect a controller sync event with the Sony dongle. It looks like a byte in the input report does indicate whether a controller is synced up. Maybe an event can be created to change the serial associated with a device when a sync or disconnect event occurs.

from ds4windows.

Ryochan7 avatar Ryochan7 commented on July 26, 2024 1

With the latest changes, DS4Windows is able to detect when a controller syncs and disconnects from the Sony dongle. Charging a DS4 when it is synced to the Sony dongle now works.

As for disabling controllers entirely, that would be difficult with the current infrastructure. As it is now, the closest that you can do is to enable DInput Only mode for the Sony dongle before plugging in a controller via USB. You would probably be better off just removing the dongle if you want to play a game using a wired connection while it is charging.

from ds4windows.

paulo-lima-dev avatar paulo-lima-dev commented on July 26, 2024

"With the latest changes, DS4Windows is able to detect when a controller syncs and disconnects from the Sony dongle. Charging a DS4 when it is synced to the Sony dongle now works."

That's really nice!
Thanks for looking into this ;)

from ds4windows.

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.