mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
Qt/Input: disable in-game controls while the pad settings are opened
This commit is contained in:
parent
e80f2793eb
commit
b99a88afe2
6 changed files with 28 additions and 0 deletions
|
|
@ -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>
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue