Giter Club home page Giter Club logo

Comments (5)

amg-12 avatar amg-12 commented on July 20, 2024 1

For specificity, are you comparing the left analog sticks of all 3 steam controllers?

Yes.

run the cmd joy.cpl (Windows only) and open the gamepad's properties to confirm if the left stick is still behaving like it does on the Switch?

Yes, this shows the controller still behaving the same way plugged into a PC.

Are you using the same firmware on the steam controller to play PC games and Switch games? I never thought of using to like that. If so, Valve might be applying a deadzone by default

No, I use the stock Steam controller firmware to play Steam games, but you are right that Valve applying a deadzone is likely the reason I haven't noticed these issues before.

but that still wouldn't compensate for the one stick that "momentarily jitters upwards when held downwards."

It jitters all the way up to the edge, in a way that probably would be caught by an outer deadzone.

I'm guessing there's serial communication from the switch to the steam controller that isn't getting handled by the steam controller. Under that assumption, capturing the bus traffic may be necessary to make the OpenSourceSteamController firmware comply with the Switch's calibration settings.

I agree. Alternatively, a simpler solution may be to implement a deadzone in the firmware. Perhaps doing both of these is ideal.
Edit: Making the firmware comply with the Switch's calibration settings should also make it compatible with the Switch's button remapping, which would be a great feature.

from opensteamcontroller.

amg-12 avatar amg-12 commented on July 20, 2024 1

I've just found that this is a duplicate of #4, which was meant to be fixed in ca3a510 using a deadzone just like we suggested. I'll try increasing the size of this deadzone to see if it solves the problem for my controller.

Edit: Increasing the deadzone from 128 to 256 partially solved the problem. The stick is now centred while in resting position, whereas before it was behaving like the video in #4. However, it still cannot reach the edge of the ring. I think this could be fixed by adding an outer ring deadzone.

from opensteamcontroller.

2bndy5 avatar 2bndy5 commented on July 20, 2024

Of my three Steam controllers, only one has a left stick that works properly with the Switch firmware. One stick is miscalibrated to point slightly downwards when in resting position, and the other momentarily jitters upwards when held downwards.

For specificity, are you comparing the left analog sticks of all 3 steam controllers? Furthermore, the OpenSourceSteamController firmware isn't applying any smoothing or deadzones on the left analog stick; its just mapping the raw ADC values (ranging 0-1024) to a range of 0-128 for each of the left analog stick's X & Y axis (if I read the source code correctly).

I have not noticed these issues while playing Steam games.

Are you using the same firmware on the steam controller to play PC games and Switch games? I never thought of using to like that. If so, Valve might be applying a deadzone by default in Steam's Switch controller support, but that still wouldn't compensate for the one stick that "momentarily jitters upwards when held downwards." I'm under the impression that the Switch Pro controller is recognized as a DirectInput-based gamepad (not Xinput like the xbox controllers). Assuming this is still true with the OpenSteamController firmware, can run the cmd joy.cpl (Windows only) and open the gamepad's properties to confirm if the left stick is still behaving like it does on the Switch? If you're on Linux, there's a plenty of programs that can display gamepads' output.

Stick calibration is not currently supported for this device.
Calibration may be possible after a system update.

I'm not familiar with the Switch, but I'm guessing there's serial communication from the switch to the steam controller that isn't getting handled by the steam controller. Under that assumption, capturing the bus traffic may be necessary to make the OpenSourceSteamController firmware comply with the Switch's calibration settings. Since you're using custom firmware on the Steam Controller, it is safe to assume that a "system update" to the Switch is not going to help.

from opensteamcontroller.

2bndy5 avatar 2bndy5 commented on July 20, 2024

All of my questions in the last post were leaning toward "it's a hardware problem", and

It jitters all the way up to the edge, in a way that probably would be caught by an outer deadzone.

makes me think there's a bad connection inside the joystick (symptomatic of a momentary short circuit). I don't know if you tried this, but my first attack would be to spray air from a can at the innards, then (if that fails) look at replacement analog joystick(s) - I've read that actually replacing it on the steam controller is harder than it sounds - because these things are usually the first component to fail on gamepads [wink to my old PS3 controllers that I fixed with a tiny roll of scotch tape to secure its shoddily-designed connections].

While I'm more interested in making the firmware compatible with the Switch's calibration settings (sounds like a great challenge), I can try to point you in good direction for building you custom deadzone solution. Although, I don't want to steal credit from @greggersaurus as he may have a better idea about getting either of those things done.

from opensteamcontroller.

amg-12 avatar amg-12 commented on July 20, 2024

All of my questions in the last post were leaning toward "it's a hardware problem"

I was sure of it, it's just a question of software that remedies hardware problems.

my first attack would be to spray air from a can at the innards, then (if that fails) look at replacement analog joystick(s)

Thanks, I'll try that.

I can try to point you in good direction for building you custom deadzone solution.

I'd love to contribute but would need to do a bit more research about how gamepad software is implemented, so your advice would be extremely helpful.

I'm more interested in making the firmware compatible with the Switch's calibration settings (sounds like a great challenge)

It does! Good luck if you try it, it would be very cool to see this working.

from opensteamcontroller.

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.