mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-27 14:04:15 +01:00
Merge pull request #668 from jroweboy/controller-lag
HID: Update controllers less often
This commit is contained in:
commit
068668780c
@ -18,9 +18,9 @@ namespace Service::HID {
|
|||||||
|
|
||||||
// Updating period for each HID device.
|
// Updating period for each HID device.
|
||||||
// TODO(shinyquagsire23): These need better values.
|
// TODO(shinyquagsire23): These need better values.
|
||||||
constexpr u64 pad_update_ticks = CoreTiming::BASE_CLOCK_RATE / 10000;
|
constexpr u64 pad_update_ticks = CoreTiming::BASE_CLOCK_RATE / 100;
|
||||||
constexpr u64 accelerometer_update_ticks = CoreTiming::BASE_CLOCK_RATE / 10000;
|
constexpr u64 accelerometer_update_ticks = CoreTiming::BASE_CLOCK_RATE / 100;
|
||||||
constexpr u64 gyroscope_update_ticks = CoreTiming::BASE_CLOCK_RATE / 10000;
|
constexpr u64 gyroscope_update_ticks = CoreTiming::BASE_CLOCK_RATE / 100;
|
||||||
|
|
||||||
class IAppletResource final : public ServiceFramework<IAppletResource> {
|
class IAppletResource final : public ServiceFramework<IAppletResource> {
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user