diff options
| author | 2022-09-09 15:29:22 -0500 | |
|---|---|---|
| committer | 2022-09-10 19:39:25 +0200 | |
| commit | 8f207bd93ddb9778f0242fca0dab6ef155bd2a97 (patch) | |
| tree | ba3035c2a2b304956f6ba2ae6d5ac47d64c1ce52 /src/core/hle | |
| parent | ldn: Initial implementation (diff) | |
| download | yuzu-8f207bd93ddb9778f0242fca0dab6ef155bd2a97.tar.gz yuzu-8f207bd93ddb9778f0242fca0dab6ef155bd2a97.tar.xz yuzu-8f207bd93ddb9778f0242fca0dab6ef155bd2a97.zip | |
yuzu: Multiple room UI improvements
Diffstat (limited to 'src/core/hle')
| -rw-r--r-- | src/core/hle/service/hid/hid.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp index 3d3457160..7e923462b 100644 --- a/src/core/hle/service/hid/hid.cpp +++ b/src/core/hle/service/hid/hid.cpp | |||
| @@ -35,7 +35,8 @@ namespace Service::HID { | |||
| 35 | 35 | ||
| 36 | // Updating period for each HID device. | 36 | // Updating period for each HID device. |
| 37 | // Period time is obtained by measuring the number of samples in a second on HW using a homebrew | 37 | // Period time is obtained by measuring the number of samples in a second on HW using a homebrew |
| 38 | constexpr auto pad_update_ns = std::chrono::nanoseconds{4 * 1000 * 1000}; // (4ms, 250Hz) | 38 | // Correct pad_update_ns is 4ms this is overclocked to lower input lag |
| 39 | constexpr auto pad_update_ns = std::chrono::nanoseconds{1 * 1000 * 1000}; // (1ms, 1000Hz) | ||
| 39 | constexpr auto mouse_keyboard_update_ns = std::chrono::nanoseconds{8 * 1000 * 1000}; // (8ms, 125Hz) | 40 | constexpr auto mouse_keyboard_update_ns = std::chrono::nanoseconds{8 * 1000 * 1000}; // (8ms, 125Hz) |
| 40 | constexpr auto motion_update_ns = std::chrono::nanoseconds{5 * 1000 * 1000}; // (5ms, 200Hz) | 41 | constexpr auto motion_update_ns = std::chrono::nanoseconds{5 * 1000 * 1000}; // (5ms, 200Hz) |
| 41 | 42 | ||