diff options
| author | 2018-01-17 12:30:46 -0500 | |
|---|---|---|
| committer | 2018-01-17 12:30:46 -0500 | |
| commit | 0568346cc38f6229a2eeb7d44f9369a8f379e585 (patch) | |
| tree | 58476a3b36243b1b132fe6b40650bbf1d2d20ca2 | |
| parent | Merge pull request #70 from flerovii/nvdrv-close (diff) | |
| parent | hid: Adjust timing based on actual hardware (diff) | |
| download | yuzu-0568346cc38f6229a2eeb7d44f9369a8f379e585.tar.gz yuzu-0568346cc38f6229a2eeb7d44f9369a8f379e585.tar.xz yuzu-0568346cc38f6229a2eeb7d44f9369a8f379e585.zip | |
Merge pull request #64 from shinyquagsire23/hid-timing
hid: Adjust timing based on actual hardware
| -rw-r--r-- | src/core/hle/service/hid/hid.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp index 6254237fa..be7a6ff65 100644 --- a/src/core/hle/service/hid/hid.cpp +++ b/src/core/hle/service/hid/hid.cpp | |||
| @@ -18,9 +18,9 @@ namespace HID { | |||
| 18 | 18 | ||
| 19 | // Updating period for each HID device. | 19 | // Updating period for each HID device. |
| 20 | // TODO(shinyquagsire23): These need better values. | 20 | // TODO(shinyquagsire23): These need better values. |
| 21 | constexpr u64 pad_update_ticks = BASE_CLOCK_RATE / 234; | 21 | constexpr u64 pad_update_ticks = BASE_CLOCK_RATE / 10000; |
| 22 | constexpr u64 accelerometer_update_ticks = BASE_CLOCK_RATE / 104; | 22 | constexpr u64 accelerometer_update_ticks = BASE_CLOCK_RATE / 10000; |
| 23 | constexpr u64 gyroscope_update_ticks = BASE_CLOCK_RATE / 101; | 23 | constexpr u64 gyroscope_update_ticks = BASE_CLOCK_RATE / 10000; |
| 24 | 24 | ||
| 25 | class IAppletResource final : public ServiceFramework<IAppletResource> { | 25 | class IAppletResource final : public ServiceFramework<IAppletResource> { |
| 26 | public: | 26 | public: |