DualSense-Windows icon indicating copy to clipboard operation
DualSense-Windows copied to clipboard

gyroscope, 3rd axis not working ?

Open jonasfrey opened this issue 3 years ago • 4 comments

i think one of the axes is missing, when the controller is layed flat on a table and i turn it to the left and right there is no value chang in inState.gyroscope.x nor inState.gyroscope.y nor inState.gyroscope.z

compile and run the attached file to test what i mean

main.cpp.txt

https://user-images.githubusercontent.com/16288044/109431703-28563f00-7a08-11eb-83e6-0eea3a72c08b.mp4

jonasfrey avatar Feb 28 '21 20:02 jonasfrey

That'd be the yaw, right?

MicaelJarniac avatar Mar 01 '21 15:03 MicaelJarniac

well it depends on how you look at the controller if the usb c port points at the screen , then yes it would be the yaw axis image image

jonasfrey avatar Mar 01 '21 19:03 jonasfrey

Sorry for my late response. That is quit interesting, I did notice some odd things there too but I never investigated that issue due to lack of time. I will try to solve the issue as soon as possible thx for reporting

Ohjurot avatar Mar 04 '21 08:03 Ohjurot

I also have problems with the y axis like shown in the video. Will investigate now

Edit 01: The accelerometer is working very well with your code... that interesting because it should work the same way as the gyros

Edit 02: It may be possible that yaw isn't exposed (or at least not there where I suspected it) the currently yaw called position is more like a combination out of the other two axis.... but i continue investigating

Ohjurot avatar Apr 27 '21 11:04 Ohjurot