MCPcopy Create free account
hub / github.com/LennartHennigs/Button2 / clickToString

Method clickToString

src/Button2.cpp:241–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239/////////////////////////////////////////////////////////////////
240
241const char* Button2::clickToString(clickType type) const {
242 if (type == single_click) return "single click";
243 if (type == double_click) return "double click";
244 if (type == triple_click) return "triple click";
245 if (type == long_click) return "long click";
246 return "none";
247}
248
249/////////////////////////////////////////////////////////////////
250

Callers 1

testFunction · 0.80

Calls

no outgoing calls

Tested by 1

testFunction · 0.64