GithubHelp home page GithubHelp logo

Comments (7)

NoXPhasma avatar NoXPhasma commented on May 25, 2024 1

Your commit (502abcf) fixed the wrong Y and X mapping. Now only the DPAD is left and the controller works as intended :)

from xow.

medusalix avatar medusalix commented on May 25, 2024 1

The latest commit should've now fixed the DPAD.

from xow.

medusalix avatar medusalix commented on May 25, 2024

Buttons are mapped according to the Linux docs. So the DPAD is mapped using BTN_NORTH, BTN_EAST, BTN_SOUTH and BTN_WEST. Unfortunately, it looks like BNT_NORTH is equivalent to BTN_X on Linux. I'm not sure which button scheme works best for actual games.

from xow.

NoXPhasma avatar NoXPhasma commented on May 25, 2024

The X and Y buttons definitely doesn't follow what the XBOX One S controller is mapped with xpad (wired), hid_microsoft (bluetooth) or xpadneo (bluetooth). No matter what game/tool I use, it's wrong in all of them.

from xow.

medusalix avatar medusalix commented on May 25, 2024

Should we just ignore the docs and map the buttons using BTN_A, BTN_B, BTN_X and BTN_Y?

from xow.

NoXPhasma avatar NoXPhasma commented on May 25, 2024

I think we should go the same route as xpadneo and xpad go. As this would make sure it's recognized the same way and we don't run into any issues.

I've also just found out that the DPAD won't be recognized in games as well. You've mapped it as buttons 11-14, but apparently with xpad it's mapped as axes 6 and 7.

from xow.

NoXPhasma avatar NoXPhasma commented on May 25, 2024

It does, the mapping is now as expected.

from xow.

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.