mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-17 01:21:05 +00:00
PS Move: Disable Fusion gain (no more drift)
This commit is contained in:
parent
56a254ba9c
commit
585f47c2d9
@ -362,6 +362,7 @@ void ps_move_handler::check_add_device(hid_device* hidDevice, std::string_view p
|
|||||||
// Initialize Fusion
|
// Initialize Fusion
|
||||||
FusionAhrsInitialise(&device->ahrs);
|
FusionAhrsInitialise(&device->ahrs);
|
||||||
device->ahrs.settings.convention = FusionConvention::FusionConventionEnu;
|
device->ahrs.settings.convention = FusionConvention::FusionConventionEnu;
|
||||||
|
device->ahrs.settings.gain = 0.0f; // If gain is set, the algorithm tries to adjust the orientation over time.
|
||||||
FusionAhrsSetSettings(&device->ahrs, &device->ahrs.settings);
|
FusionAhrsSetSettings(&device->ahrs, &device->ahrs.settings);
|
||||||
FusionAhrsReset(&device->ahrs);
|
FusionAhrsReset(&device->ahrs);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user