MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / GetKeyNameAt

Method GetKeyNameAt

KeyboardLayoutManager/KeyboardLayoutManager.cpp:796–804  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

794}
795
796std::string KeyboardLayoutManager::GetKeyNameAt(unsigned int key_idx)
797{
798 if(key_idx < keymap.size())
799 {
800 return keymap[key_idx].name;
801 }
802
803 return KEY_EN_UNUSED;
804}
805
806std::string KeyboardLayoutManager::GetKeyNameAt(unsigned int row, unsigned int col)
807{

Callers 6

SetupZonesMethod · 0.80
SetupZonesMethod · 0.80
SetupZonesMethod · 0.80
DetectDebugControllersFunction · 0.80
SetupZonesMethod · 0.80
SetupZonesMethod · 0.80

Calls 3

sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected