Giter Club home page Giter Club logo

Comments (6)

slouken avatar slouken commented on September 13, 2024

I picked up the Apex 4 controller, and it looks like the third interface only has gyro data when mouse mode is enabled. I verified this on both Windows and Linux. I haven't installed the Space Station software or anything, so this is the default firmware out of the box.

The reason why SDL only sees the first interface is because the third interface is using a custom vendor-specific usage page and usage, and that's being ignored right now.

from sdl.

slouken avatar slouken commented on September 13, 2024

If you can figure out what needs to be sent to the controller to enable gyro data with the mouse mode off, then we could create an SDL hidraw driver that supports the back buttons and the gyro simultaneously.

from sdl.

zany130 avatar zany130 commented on September 13, 2024

I picked up the Apex 4 controller, and it looks like the third interface only has gyro data when mouse mode is enabled. I verified this on both Windows and Linux.

Hmmm that's strange on Linux I saw what I assumed was gyro data (but might be wrong) on the 3rd interface with mouse mode off .

I treated with the hid-recoeder

And moving the controller around changed the values

from sdl.

slouken avatar slouken commented on September 13, 2024

I believe you, but maybe something put the controller into a mode where it reports that data? Maybe a firmware update, or the Windows app turning on DS mode?

from sdl.

zany130 avatar zany130 commented on September 13, 2024

Yes I will investigate I don't think it's ds mode as I currently have that off and I don't think that affects Linux anyway

It could be firmware update.

EDIT:
fwiw this is the output I am talking about that I think is gyro
https://asciinema.org/a/RSp7loKVR1IufltoVpFNOphK6

for that test I had the controller wired and I only moved the controller around. i did not touch any of the sticks or buttons.

I also had the gyro mouse off

I then repeatedly placed the controller on a table lifted it up and placed it back down

I saw some of the values going to 0 when placed on a table and then changed when picked up.

So this is gyro correct? I just want to make sure because I might be wrong lol like I saId no experience with any of this lol

EDIT2: this is my settings in the app
image

I wonder if the gyro mapping has anything to do with it...

EDIT3: Intresting that it! if I have gyro mapping disabled in the software I no longer get gyro( or whatever that data was) without toogleing the gyro mouse first in hid recorder

so it seems a gyro mapping has to be set in the software from my testing it doesn't seem to matter what mapping you set (there is mouse, left stick, and right stick) It also doesn't seem to matter if its in "Racing mode" or "FPS mode" for the gyro

from what I understand from reviews and the manual the difference should be fps mode is full gyro in all directions, and racing should be just for left and right tilts

the strange thing is I don't need to press the toggle button that set for this (in my case is LB) to get the gyro output in hid recorder

from sdl.

zany130 avatar zany130 commented on September 13, 2024

would this be enough to get gyro support added in a SDL driver?

not sure if this is "true" gyro or just the same thing as the mouse mode when you press the circle button

from sdl.

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.