diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2022-04-13 19:52:29 +0200 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2022-04-18 22:02:47 +0200 |
commit | 1d26fabaa763560902413ac4ef024e69fe30c45a (patch) | |
tree | aa9ffd9715dd9f6e8a15565f7ad0b1f6fb2b920c /src/core/hid/hid_types.h | |
parent | Merge pull request #8204 from Docteh/translate_gameslist (diff) | |
download | yuzu-1d26fabaa763560902413ac4ef024e69fe30c45a.tar yuzu-1d26fabaa763560902413ac4ef024e69fe30c45a.tar.gz yuzu-1d26fabaa763560902413ac4ef024e69fe30c45a.tar.bz2 yuzu-1d26fabaa763560902413ac4ef024e69fe30c45a.tar.lz yuzu-1d26fabaa763560902413ac4ef024e69fe30c45a.tar.xz yuzu-1d26fabaa763560902413ac4ef024e69fe30c45a.tar.zst yuzu-1d26fabaa763560902413ac4ef024e69fe30c45a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hid/hid_types.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hid/hid_types.h b/src/core/hid/hid_types.h index 778b328b9..422a9af33 100644 --- a/src/core/hid/hid_types.h +++ b/src/core/hid/hid_types.h @@ -491,9 +491,10 @@ struct SixAxisSensorHandle { }; static_assert(sizeof(SixAxisSensorHandle) == 4, "SixAxisSensorHandle is an invalid size"); +// These parameters seem related to how much gyro/accelerometer is used struct SixAxisSensorFusionParameters { - f32 parameter1; - f32 parameter2; + f32 parameter1{0.03f}; // Range 0.0 to 1.0, default 0.03 + f32 parameter2{0.4f}; // Default 0.4 }; static_assert(sizeof(SixAxisSensorFusionParameters) == 8, "SixAxisSensorFusionParameters is an invalid size"); |