Giter Club home page Giter Club logo

Comments (4)

sdether avatar sdether commented on July 30, 2024

Additional information: The crash seems to be specific to the controller. When I just list my Xbox controller, everything works fine. It's when I try to use the "FANATEC CSL Elite Wheel Base PlayStation 4" controller is when it crashes.

from devreorder.

briankendall avatar briankendall commented on July 30, 2024

Are you able to check whether the game can receive any input from your Fanatec wheel before starting a race? For example using an input test mode, or sending input in the game's settings to bind a button or axis to one of the game's controls. I'm not sure if this game has either of those modes since I haven't played it, but I'm wondering if the game trying to read input from your wheel is what causes the crash (and it doesn't matter when it tries), or if it's something that only occurs when the game is in a race.

from devreorder.

sdether avatar sdether commented on July 30, 2024

I did some more experiments and it looks like the crash is happening in dinputto8 not devreorder.

  • without either dinputto8 and devreorder
    • can map buttons and analog controls of the Fanatec wheel in options menu
    • The race does not crash
    • The mapped buttons work, but the analog controls do not
  • with only devreorder
    • the device list does not filter
    • otherwise it behaves like the previous case
  • with only devinputto8
    • the devices list of course is not filtered
    • can map buttons and analog controls of the Fanatec wheel in options menu
    • Race crashes on load
  • with both dinputto8 and devreorder
    • the device list is filtered properly
    • can map buttons and analog controls of the wheel in options menu
    • if the mapped device is the Xbox 360 controller, race runs and controls work
    • if any button or analog control on the Fanatec wheel is mapped, race crashes

So my guess is that there's something in the way the Fanatec uses Direct Input that is not compatible with the API mapping that dinputto8 does.

from devreorder.

briankendall avatar briankendall commented on July 30, 2024

That's some good debugging you did there! I hope you can find a solution with the authors of dinputto8.

Also, thanks for letting me know about the existence of dinputto8, since it apparently works in conjunction with devreorder. I'll make a little note in my read me about it.

from devreorder.

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.