MCPcopy Create free account
hub / github.com/Zalafina/QKeyMapper / detectMappingSwitchKey

Method detectMappingSwitchKey

QKeyMapper/qkeymapper_worker.cpp:16301–16313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16299}
16300
16301bool QKeyMapper_Worker::detectMappingSwitchKey(const QString &keycodeString, int keyupdown)
16302{
16303 bool detected = false;
16304
16305 if (QKeyMapper::KEYMAP_IDLE == QKeyMapper::getInstance()->m_KeyMapStatus) {
16306 detected = detectMappingStartKey(keycodeString, keyupdown);
16307 }
16308 else {
16309 detected = detectMappingStopKey(keycodeString, keyupdown);
16310 }
16311
16312 return detected;
16313}
16314
16315bool QKeyMapper_Worker::detectMappingStartKey(const QString &keycodeString, int keyupdown)
16316{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected