mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-09-08 11:26:23 -05:00
MappingButton: grab and release mouse and keyboard instead of calling parent SetBlockInputs
This commit is contained in:
@@ -369,19 +369,6 @@ std::shared_ptr<ciface::Core::Device> MappingWindow::GetDevice() const
|
||||
return g_controller_interface.FindDevice(m_devq);
|
||||
}
|
||||
|
||||
void MappingWindow::SetBlockInputs(const bool block)
|
||||
{
|
||||
m_block = block;
|
||||
}
|
||||
|
||||
bool MappingWindow::event(QEvent* event)
|
||||
{
|
||||
if (!m_block)
|
||||
return QDialog::event(event);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
void MappingWindow::OnDefaultFieldsPressed()
|
||||
{
|
||||
if (m_controller == nullptr)
|
||||
|
||||
Reference in New Issue
Block a user