Merge pull request #64 from shinyquagsire23/hid-timing
hid: Adjust timing based on actual hardware
This commit is contained in:
commit
0568346cc3
|
@ -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