Code Monkey home page Code Monkey logo

Comments (9)

instinctualjealousy avatar instinctualjealousy commented on July 17, 2024

Can confirm. No detection whatsoever (Windows 10). Xbox 360 wireless controller, set as preferred controller in Windows.

from nfsiise.

zaps166 avatar zaps166 commented on July 17, 2024

Maybe SDL2 issue?

from nfsiise.

instinctualjealousy avatar instinctualjealousy commented on July 17, 2024

Maybe SDL2 issue?

It would almost have to be. I also have a 2.4g model of 8BitDo M30 to test. Being it was primarily designed for the Genesis Mini, it has a weirdly implemented DirectInput mode- because of this, it doesn't work perfectly as-is with a lot of things and doesn't have any SDL2 maps from what I know. It does work barring a minor issue however, and I was able to map all the buttons in-game.

The 2.4g model also can be engaged in an XInput mode (undocumented, unlike the Bluetooth model) that uses the VID/PID pairs of an official wired Xbox 360 controller. In this mode, it is also unresponsive in-game. Given my breadth of games and to a lesser degree emulators relying on SDL2 (and they work fine), this is a peculiar issue. I tried throwing a gamecontrollerdb.txt at it to see if it'd read it/fix it, but no dice.

from nfsiise.

sonik-br avatar sonik-br commented on July 17, 2024

Same here on windows.
X360 and XOne controller does not work. DS4 and DS5 works fine.
SDL seems to detect the xbox devices but I could not get them to work.

from nfsiise.

zaps166 avatar zaps166 commented on July 17, 2024

Hmm, I'll look at this later. @sonik-br I never used DS5 on Windows, do I need to install any drivers to get DS5 vibrations there?

Btw. unfortunately I don't use the controller DB in SDL2, maybe it could be a good idea to do it?

from nfsiise.

sonik-br avatar sonik-br commented on July 17, 2024

DS5 on windows 10 works native. I think it just uses the default HID driver.
Some games even supports the haptic trigger feedback!
I use mine over USB as I don't have Bluetooth.

from nfsiise.

zaps166 avatar zaps166 commented on July 17, 2024

Some games even supports the haptic trigger feedback!

Ok. I can use some haptics on Linux in Witcher 3 😄 (only via USB).

from nfsiise.

sonik-br avatar sonik-br commented on July 17, 2024

Tested on windows...

DS and Xbox returns zero here.
That's why here's no rumble anymore.

Xbox returns zero on SDL_JoystickGetAxis for axis 0, 1, 2, 3.
Axis 4 and 5 works. They are the L and R trigger.

Looks like a problem with SDL2.

EDIT: Got controller working on windows (still no haptic/vibration).
Need to test more and also test o linux. I will send a PR later if it all works.

from nfsiise.

zaps166 avatar zaps166 commented on July 17, 2024

It's fixed on master, I'll release soon!
Thanks @sonik-br

from nfsiise.

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.