fix some bugs

This commit is contained in:
vaxerski
2022-07-03 22:54:47 +02:00
parent f7c4865bac
commit 01228fbc9c
2 changed files with 4 additions and 1 deletions

View File

@@ -392,6 +392,9 @@ void CInputManager::applyConfigToKeyboard(SKeyboard* pKeyboard) {
ASSERT(pKeyboard);
if (!pKeyboard->keyboard->keyboard)
return;
const auto REPEATRATE = HASCONFIG ? g_pConfigManager->getDeviceInt(pKeyboard->name, "repeat_rate") : g_pConfigManager->getInt("input:repeat_rate");
const auto REPEATDELAY = HASCONFIG ? g_pConfigManager->getDeviceInt(pKeyboard->name, "repeat_delay") : g_pConfigManager->getInt("input:repeat_delay");