summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-09-19 09:39:50 +0200
committerGitHub <noreply@github.com>2020-09-19 09:39:50 +0200
commit8a85a562ed775184b081795cdff826263642278a (patch)
treeb392258089144faef9bd323fdaef2d8390cb55f2
parentMerge pull request #4684 from lioncash/desig4 (diff)
parentTest: Decrease pad_update_ns (diff)
downloadyuzu-8a85a562ed775184b081795cdff826263642278a.tar
yuzu-8a85a562ed775184b081795cdff826263642278a.tar.gz
yuzu-8a85a562ed775184b081795cdff826263642278a.tar.bz2
yuzu-8a85a562ed775184b081795cdff826263642278a.tar.lz
yuzu-8a85a562ed775184b081795cdff826263642278a.tar.xz
yuzu-8a85a562ed775184b081795cdff826263642278a.tar.zst
yuzu-8a85a562ed775184b081795cdff826263642278a.zip
-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 302a25540..1d96f705f 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)