yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

Changed polling rate of hid and Right joycon rotation

This commit is contained in:
David Marcec 2018-10-18 21:04:45 +11:00 committed by Zach Hilman
parent 7fbe2c83a7
commit a69b9d73f5
1 changed files with 2 additions and 2 deletions

View File

@ -34,8 +34,8 @@
namespace Service::HID { namespace Service::HID {
// Updating period for each HID device. // Updating period for each HID device.
// TODO(shinyquagsire23): These need better values. // TODO(ogniK): Find actual polling rate of hid
constexpr u64 pad_update_ticks = CoreTiming::BASE_CLOCK_RATE / 100; constexpr u64 pad_update_ticks = CoreTiming::BASE_CLOCK_RATE / 66;
constexpr u64 accelerometer_update_ticks = CoreTiming::BASE_CLOCK_RATE / 100; constexpr u64 accelerometer_update_ticks = CoreTiming::BASE_CLOCK_RATE / 100;
constexpr u64 gyroscope_update_ticks = CoreTiming::BASE_CLOCK_RATE / 100; constexpr u64 gyroscope_update_ticks = CoreTiming::BASE_CLOCK_RATE / 100;
constexpr std::size_t SHARED_MEMORY_SIZE = 0x40000; constexpr std::size_t SHARED_MEMORY_SIZE = 0x40000;