summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFearlessTobi <thm.frey@gmail.com>2020-09-10 16:38:53 +0200
committerFearlessTobi <thm.frey@gmail.com>2020-09-10 16:38:53 +0200
commit57162e1df37784badabaa969f5f4f4987235f468 (patch)
treed2b04a2db1ccea6dfe0bbe76b41e07b19fb604ab /src
parentMerge pull request #4633 from ReinUsesLisp/gpu-init (diff)
downloadyuzu-57162e1df37784badabaa969f5f4f4987235f468.tar
yuzu-57162e1df37784badabaa969f5f4f4987235f468.tar.gz
yuzu-57162e1df37784badabaa969f5f4f4987235f468.tar.bz2
yuzu-57162e1df37784badabaa969f5f4f4987235f468.tar.lz
yuzu-57162e1df37784badabaa969f5f4f4987235f468.tar.xz
yuzu-57162e1df37784badabaa969f5f4f4987235f468.tar.zst
yuzu-57162e1df37784badabaa969f5f4f4987235f468.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/hid/hid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp
index bd3c2f26b..9453134bf 100644
--- a/src/core/hle/service/hid/hid.cpp
+++ b/src/core/hle/service/hid/hid.cpp
@@ -40,7 +40,7 @@ namespace Service::HID {
// Updating period for each HID device.
// HID is polled every 15ms, this value was derived from
// https://github.com/dekuNukem/Nintendo_Switch_Reverse_Engineering#joy-con-status-data-packet
-constexpr auto pad_update_ns = std::chrono::nanoseconds{15 * 1000 * 1000}; // (15ms, 66.6Hz)
+constexpr auto pad_update_ns = std::chrono::nanoseconds{1000 * 1000}; // (1ms, 1000Hz)
constexpr std::size_t SHARED_MEMORY_SIZE = 0x40000;
IAppletResource::IAppletResource(Core::System& system)