diff options
author | bunnei <bunneidev@gmail.com> | 2022-01-21 01:53:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-21 01:53:22 +0100 |
commit | e781f6e7676351302eba229bb940ed4923b32f3b (patch) | |
tree | df78658552310e5d14160d76740b4e049a42c2a9 /src/core/hid | |
parent | Merge pull request #7749 from jbeich/ffmpeg5 (diff) | |
parent | core/hid: Increment shake force (diff) | |
download | yuzu-e781f6e7676351302eba229bb940ed4923b32f3b.tar yuzu-e781f6e7676351302eba229bb940ed4923b32f3b.tar.gz yuzu-e781f6e7676351302eba229bb940ed4923b32f3b.tar.bz2 yuzu-e781f6e7676351302eba229bb940ed4923b32f3b.tar.lz yuzu-e781f6e7676351302eba229bb940ed4923b32f3b.tar.xz yuzu-e781f6e7676351302eba229bb940ed4923b32f3b.tar.zst yuzu-e781f6e7676351302eba229bb940ed4923b32f3b.zip |
Diffstat (limited to 'src/core/hid')
-rw-r--r-- | src/core/hid/input_converter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hid/input_converter.cpp b/src/core/hid/input_converter.cpp index f5acff6e0..860aab400 100644 --- a/src/core/hid/input_converter.cpp +++ b/src/core/hid/input_converter.cpp @@ -114,7 +114,7 @@ Common::Input::MotionStatus TransformToMotion(const Common::Input::CallbackStatu if (TransformToButton(callback).value) { std::random_device device; std::mt19937 gen(device()); - std::uniform_int_distribution<s16> distribution(-1000, 1000); + std::uniform_int_distribution<s16> distribution(-5000, 5000); status.accel.x.raw_value = static_cast<f32>(distribution(gen)) * 0.001f; status.accel.y.raw_value = static_cast<f32>(distribution(gen)) * 0.001f; status.accel.z.raw_value = static_cast<f32>(distribution(gen)) * 0.001f; |