input_common: Fix UDP uuid

This commit is contained in:
german77 2021-10-25 12:53:14 -05:00 committed by Narr the Reg
parent 124404e756
commit 3cd0dd4227
3 changed files with 16 additions and 2 deletions

View file

@ -1178,7 +1178,7 @@ void ConfigureInputPlayer::HandleClick(
}
timeout_timer->start(2500); // Cancel after 2.5 seconds
poll_timer->start(50); // Check for new inputs every 50ms
poll_timer->start(25); // Check for new inputs every 25ms
}
void ConfigureInputPlayer::SetPollingResult(const Common::ParamPackage& params, bool abort) {
@ -1205,6 +1205,10 @@ bool ConfigureInputPlayer::IsInputAcceptable(const Common::ParamPackage& params)
return true;
}
if (params.Has("motion")) {
return true;
}
// Keyboard/Mouse
if (ui->comboDevices->currentIndex() == 1 || ui->comboDevices->currentIndex() == 2) {
return params.Get("engine", "") == "keyboard" || params.Get("engine", "") == "mouse";