overlays: enable key repeat by default

This commit is contained in:
Megamouse 2022-04-25 19:23:24 +02:00
parent ff7636ea01
commit 8d662e9327
1 changed files with 5 additions and 0 deletions

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;
}
}