mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-13 00:58:29 +02:00
MappingButton: remove GetFirstButtonPress logic
This commit is contained in:
@ -42,13 +42,8 @@ void MappingButton::OnButtonPressed()
|
||||
|
||||
setText(QStringLiteral("..."));
|
||||
|
||||
Common::SleepCurrentThread(100);
|
||||
|
||||
SetBlockInputs(true);
|
||||
|
||||
if (m_parent->GetFirstButtonPress())
|
||||
m_reference->Detect(10, dev.get());
|
||||
|
||||
// Avoid that the button press itself is registered as an event
|
||||
Common::SleepCurrentThread(100);
|
||||
|
||||
|
Reference in New Issue
Block a user