MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / getNativeKeyMapping

Function getNativeKeyMapping

Source/Lua/JuceClasses/LCore.cpp:173–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173static const String getNativeKeyMapping()
174{
175 String ret;
176 for (int i=0; i<1024; i++)
177 {
178 if (KeyPress(i).isValid())
179 {
180 if (! KeyPress(i).getTextDescription().startsWith("#") && KeyPress(i).getTextDescription().isNotEmpty())
181 ret << i << ": " << KeyPress(i).getTextDescriptionWithIcons() << "\n";
182 }
183 }
184 return (ret);
185}
186
187LGlobalFunctions::LGlobalFunctions()
188{

Callers

nothing calls this directly

Calls 6

KeyPressFunction · 0.85
getTextDescriptionMethod · 0.80
isValidMethod · 0.45
startsWithMethod · 0.45
isNotEmptyMethod · 0.45

Tested by

no test coverage detected