Qt/Input: disable in-game controls while the pad settings are opened

This commit is contained in:
Megamouse 2018-12-23 01:35:10 +01:00
parent e80f2793eb
commit b99a88afe2
6 changed files with 28 additions and 0 deletions

View file

@ -146,6 +146,10 @@ void rpcs3_app::InitializeCallbacks()
{
pad::get_current_handler()->Reset();
};
callbacks.enable_pads = [this](bool enable)
{
pad::get_current_handler()->SetEnabled(enable);
};
callbacks.get_kb_handler = [=]() -> std::shared_ptr<KeyboardHandlerBase>
{