Code Monkey home page Code Monkey logo

Comments (4)

Ryochan7 avatar Ryochan7 commented on July 26, 2024

I don't think that I would go beyond supporting a DS4 controller for this application. Although it would be nice to have a generic DirectInput to XInput controller converter, this code base might not be the best resource for working on that. There are a lot of implicit assumptions in the code and profiles that assume that a DS4 controller is being used with its attributes being taken into account. It goes much further than just the DS4Device class. If something like this were to ever happen, the InputMapper approach would probably be taken with a new application being made based on the work done on DS4Windows.

For now, there has been a need to improve the actual experience of using a DualShock 4 as an XInput controller so that will be where the focus of the application will be.

from ds4windows.

GingerAdonis avatar GingerAdonis commented on July 26, 2024

Understandable. :) Guess it's time to buy a third DS4 controller.

from ds4windows.

Ryochan7 avatar Ryochan7 commented on July 26, 2024

Before I had the money to buy a DS4, I had actually worked on a small program to make a DS1 work as an XInput controller. It worked out okay at that time and updates made things better. Other projects like Xiaomi Gamepad and DS4Windows helped with finding out how to interface with the ScpVBus driver. Working on that program is what led me to wanting to help improve DS4Windows. The project has only recently been uploaded to GitHub.

https://github.com/Ryochan7/xinput_scpcontrol_test

One disadvantage to using SDL support instead of HID support in that program is that there is no way to have proper exclusive mode access. The only way around it would be to also use x360ce and use passthrough mode on the emulated controller. On the other hand, the program would work with any gamepad that has a Game Controller mapping for it either in SDL or in an external mapping file; you could also create your own mapping outside of the program. Although mapping capabilities are pretty slim, when using a high poll rate (~4ms), performance is better than where DS4Windows is now.

from ds4windows.

Ryochan7 avatar Ryochan7 commented on July 26, 2024

With the most recent version, DS4Windows performance is pretty close when an action is assigned in a profile. When no actions have been assigned, performance is almost identical to what I had experienced using xinput_scpcontrol_test. There are probably a couple of other tweaks that could be done to improve the performance of the input thread but the major hurdles have been addressed.

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.