summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2022-01-14 18:11:20 +0100
committerGitHub <noreply@github.com>2022-01-14 18:11:20 +0100
commit5ce54328301f46c550b629b6d49d696bac6738f4 (patch)
tree3efcbb5cd9ce5c5a9801939aff6e598bad6d8c8c /src
parentMerge pull request #7697 from abouvier/opt-tests (diff)
downloadyuzu-5ce54328301f46c550b629b6d49d696bac6738f4.tar
yuzu-5ce54328301f46c550b629b6d49d696bac6738f4.tar.gz
yuzu-5ce54328301f46c550b629b6d49d696bac6738f4.tar.bz2
yuzu-5ce54328301f46c550b629b6d49d696bac6738f4.tar.lz
yuzu-5ce54328301f46c550b629b6d49d696bac6738f4.tar.xz
yuzu-5ce54328301f46c550b629b6d49d696bac6738f4.tar.zst
yuzu-5ce54328301f46c550b629b6d49d696bac6738f4.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hid/input_converter.cpp2
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;