Native Gyro seems a bit eratic #36
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
stale
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-streetpea/chiaki-ng#36
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
First thanks a lot for native Gyro support ! It opens up various games that were impossible to play.
I tried it with Dreams and it seems that it sometimes thinks I'm holding the device upside down (my cursor will go upside down) I also noticed that when I'm still the cursor seems to drift a little bit.
Not sure what info I can provide to help you more but let me know !
Thanks !
Have you turned off the gyro mapping to right joystick in Steam Input?
That's a good point, I tested it in Desktop mode first so I think it would be disabled there but let me check to make sure.
Hmm, I haven’t tried dreams. I’ve tried concrete genie and Astros controller demo which show a cursor or whole controller and seem to work fine. I think the flipping thing happens with a traditional controller as well if you move the input too high for some PS4 games so might not be an issue with Steam Deck gyro.
Having said that, the drifting seems strange. It’s possible there’s something specific about the way dreams is using gyro that is messing with it. I can check out dreams specifically and see if I can recreate it.
I tried dreams and it’s not working right. Up/down works correctly and does switch at a point but it does the same thing on the console with a controller for me. Side to side isn’t working properly. I think it doesn’t like the Steam decks orientation values or something. It’s weird that Astro’s and concrete genie seem to like them fine (I mention these bc you can actually see the controller moving fully in Astro’s and a cursor in concrete genie).
I wanted to mention also that the first time I tried, I also tried the Astro demo and the onscreen controller was in the wrong orientation (sideways) which could explain why I was seeing my cursor upside down in Dreams.
I tried again and now Astro seems to work fine. Dreams is better but still get some drift (but the cursor doesn't go upside down) so perhaps something went wrong with calibration the first time I tried ?
@natcl Astros does seem to have a sort of automatic calibration (really more of just resetting the base state so you can use the controller with any starting orientation such as when laying on your back) at the beginning of its controller demo so strange things can happen depending on the way you were initially holding your controller. Having said that, there is definitely a problem with dreams. It should be using side to side horizontal movement (yaw) when flat facing up not side to side tilt (roll) like it is now. For example, in concrete genie that’s what it does. I’m currently using the Steam Decks orientation values and may need to switch back to manually calculating them (easy fix). I’ll test this and see if it fixes the problem.
@natcl update: yep that fixed it. I’ll post a patch soon. I’m not getting any more drift in dreams and it controls just like it does natively now (I.e. uses yaw not roll for side to side movements.)
Edit: It turns out that the gyro yaw and roll change to the correct positions got reverted and was correct in the code that had the PlayStation calculation and that was the real issue (not using the Steam Deck orientation values). Anyway, it should be fixed now with the 1.3.1 release. Dreams now works properly on my end.
Awesome ! thanks :)