MCPcopy Create free account
hub / github.com/DISTRHO/DPF / printModifiers

Function printModifiers

dgl/src/WindowPrivateData.cpp:1186–1193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1184
1185#if defined(DEBUG) && defined(DGL_DEBUG_EVENTS)
1186static int printModifiers(const uint32_t mods)
1187{
1188 return fprintf(stderr, "Modifiers:%s%s%s%s\n",
1189 (mods & PUGL_MOD_SHIFT) ? " Shift" : "",
1190 (mods & PUGL_MOD_CTRL) ? " Ctrl" : "",
1191 (mods & PUGL_MOD_ALT) ? " Alt" : "",
1192 (mods & PUGL_MOD_SUPER) ? " Super" : "");
1193}
1194
1195static int printEvent(const PuglEvent* event, const char* prefix, const bool verbose)
1196{

Callers 1

printEventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected