Ryochan7 / sc-controller

User-mode driver and GTK3 based GUI for Steam Controller
GNU General Public License v2.0
177 stars 23 forks source link

Official-driver style "Joystick Camera" smooth #52

Closed mochaaP closed 1 year ago

mochaaP commented 2 years ago

Current implementation:

https://user-images.githubusercontent.com/21154023/153705083-3e4b4f3d-71ec-4850-8e75-ff3a94dd8594.mp4

Official implementation:

https://user-images.githubusercontent.com/21154023/153705216-45ea1705-75c3-4ac6-a25e-4266b59736de.mp4

Official driver does a smooth transition between pressed & non pressed state, making the camera smoother in most games.

Ryochan7 commented 2 years ago

The Steam Input implementation has somewhat aggressive smoothing enabled by default. SC Controller doesn't add smoothing to that output type by default IIRC. Adding smoothing and playing with the parameters would probably help a fair amount.

Not entirely sure how accurate the final output would be from the output though. I mostly map the Steam Controller to a virtual KB+M config.

mochaaP commented 2 years ago

I noticed that the "Smooth" checkbox in the configuration interface is disabled for Joystick Camera. Not sure if it's intended or it's only for mouse output?

Ryochan7 commented 2 years ago

SC Controller actively removes support for Smoothing when the XY action points to AxisAction instances which would be used in this case. AxisAction does not allow smoothing to be used for some reason. Might have to look into changing that.

Ryochan7 commented 1 year ago

Looks like I will not get around to changing it