1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 10:42:36 +01:00

overlays: enable key repeat by default

This commit is contained in:
Megamouse 2022-04-25 19:23:24 +02:00
parent ff7636ea01
commit 8d662e9327

View File

@ -155,6 +155,11 @@ namespace rsx
{
// Workaround if cellKb did not init the keyboard handler.
handler.Init(1);
// Enable key repeat
std::vector<Keyboard>& keyboards = handler.GetKeyboards();
ensure(!keyboards.empty());
keyboards.at(0).m_key_repeat = true;
}
}