MCPcopy Create free account
hub / github.com/AntiMicroX/antimicrox / getKeyRepeatDelay

Method getKeyRepeatDelay

src/inputdevice.cpp:1281–1291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1279bool InputDevice::isKeyRepeatEnabled() { return keyRepeatEnabled; }
1280
1281int InputDevice::getKeyRepeatDelay()
1282{
1283 int tempKeyRepeatDelay = GlobalVariables::InputDevice::DEFAULTKEYREPEATDELAY;
1284
1285 if (keyRepeatDelay != 0)
1286 {
1287 tempKeyRepeatDelay = keyRepeatDelay;
1288 }
1289
1290 return tempKeyRepeatDelay;
1291}
1292
1293int InputDevice::getKeyRepeatRate()
1294{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected