mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
Input: Enable In-Game Pad Config Reset
This commit is contained in:
parent
5a40c1802b
commit
bc3ab7a9d9
9 changed files with 142 additions and 32 deletions
|
|
@ -142,6 +142,11 @@ void rpcs3_app::InitializeCallbacks()
|
|||
RequestCallAfter(std::move(func));
|
||||
};
|
||||
|
||||
callbacks.reset_pads = [this]()
|
||||
{
|
||||
pad::get_current_handler()->Reset();
|
||||
};
|
||||
|
||||
callbacks.get_kb_handler = [=]() -> std::shared_ptr<KeyboardHandlerBase>
|
||||
{
|
||||
switch (keyboard_handler type = g_cfg.io.keyboard)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue