MCPcopy Create free account
hub / github.com/SFML/SFML / isTouchDown

Function isTouchDown

src/SFML/Window/Android/InputImpl.cpp:364–370  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

362
363////////////////////////////////////////////////////////////
364bool isTouchDown(unsigned int finger)
365{
366 ActivityStates& states = getActivity();
367 const std::lock_guard lock(states.mutex);
368
369 return states.touchEvents.find(static_cast<int>(finger)) != states.touchEvents.end();
370}
371
372
373////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected