summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/hid.cpp
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2022-05-06 01:58:00 +0200
committerNarr the Reg <juangerman-13@hotmail.com>2022-05-06 18:13:49 +0200
commitbabd580c6413187e9bffb65c81f3c23daec5fb71 (patch)
tree26c13463df740b8bfbe1213e1aa31efcc6c45d28 /src/core/hle/service/hid/hid.cpp
parentservice: hid: Disable correctly motion input (diff)
downloadyuzu-babd580c6413187e9bffb65c81f3c23daec5fb71.tar
yuzu-babd580c6413187e9bffb65c81f3c23daec5fb71.tar.gz
yuzu-babd580c6413187e9bffb65c81f3c23daec5fb71.tar.bz2
yuzu-babd580c6413187e9bffb65c81f3c23daec5fb71.tar.lz
yuzu-babd580c6413187e9bffb65c81f3c23daec5fb71.tar.xz
yuzu-babd580c6413187e9bffb65c81f3c23daec5fb71.tar.zst
yuzu-babd580c6413187e9bffb65c81f3c23daec5fb71.zip
Diffstat (limited to 'src/core/hle/service/hid/hid.cpp')
-rw-r--r--src/core/hle/service/hid/hid.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp
index eba44eda8..44f892da9 100644
--- a/src/core/hle/service/hid/hid.cpp
+++ b/src/core/hle/service/hid/hid.cpp
@@ -37,8 +37,7 @@ namespace Service::HID {
// Period time is obtained by measuring the number of samples in a second on HW using a homebrew
constexpr auto pad_update_ns = std::chrono::nanoseconds{4 * 1000 * 1000}; // (4ms, 250Hz)
constexpr auto mouse_keyboard_update_ns = std::chrono::nanoseconds{8 * 1000 * 1000}; // (8ms, 125Hz)
-// TODO: Correct update rate for motion is 5ms. Check why some games don't behave at that speed
-constexpr auto motion_update_ns = std::chrono::nanoseconds{10 * 1000 * 1000}; // (10ms, 100Hz)
+constexpr auto motion_update_ns = std::chrono::nanoseconds{5 * 1000 * 1000}; // (5ms, 200Hz)
IAppletResource::IAppletResource(Core::System& system_,
KernelHelpers::ServiceContext& service_context_)