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

Method getVirtualKey

src/uinputhelper.cpp:334–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332}
333
334int UInputHelper::getVirtualKey(QString codestring)
335{
336 int temp = 0;
337
338 if (getKnownAliasesX11SymVK().contains(codestring))
339 temp = getKnownAliasesX11SymVK().value(codestring);
340
341 return temp;
342}
343
344QHash<QString, int> const &UInputHelper::getKnownAliasesX11SymVK() { return knownAliasesX11SymVK; }
345

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected