mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 07:35:45 +00:00
input_common: Fix UDP uuid
This commit is contained in:
parent
124404e756
commit
3cd0dd4227
3 changed files with 16 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue