hid: Adjust timing based on actual hardware
This commit is contained in:
parent
9ae55884d2
commit
008823724f
|
@ -18,9 +18,9 @@ namespace 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 = BASE_CLOCK_RATE / 234;
|
constexpr u64 pad_update_ticks = BASE_CLOCK_RATE / 10000;
|
||||||
constexpr u64 accelerometer_update_ticks = BASE_CLOCK_RATE / 104;
|
constexpr u64 accelerometer_update_ticks = BASE_CLOCK_RATE / 10000;
|
||||||
constexpr u64 gyroscope_update_ticks = BASE_CLOCK_RATE / 101;
|
constexpr u64 gyroscope_update_ticks = BASE_CLOCK_RATE / 10000;
|
||||||
|
|
||||||
class IAppletResource final : public ServiceFramework<IAppletResource> {
|
class IAppletResource final : public ServiceFramework<IAppletResource> {
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in a new issue