input_common: Fix issue where ring and irs are enabled at the same time

This commit is contained in:
german77
2023-01-02 22:11:03 -06:00
committed by Narr the Reg
parent 459fb2b213
commit d05ea2f3eb
4 changed files with 24 additions and 15 deletions

View File

@ -74,8 +74,8 @@ DriverResult JoyconCommonProtocol::SendData(std::span<const u8> buffer) {
}
DriverResult JoyconCommonProtocol::GetSubCommandResponse(SubCommand sc, std::vector<u8>& output) {
constexpr int timeout_mili = 100;
constexpr int MaxTries = 10;
constexpr int timeout_mili = 66;
constexpr int MaxTries = 15;
int tries = 0;
output.resize(MaxSubCommandResponseSize);