| 42 | float constexpr kForceTapThreshold = 0.75; |
| 43 | |
| 44 | size_t GetValidTouchesCount(std::array<Touch, 2> const & touches) |
| 45 | { |
| 46 | size_t result = 0; |
| 47 | if (touches[0].m_id != -1) |
| 48 | ++result; |
| 49 | if (touches[1].m_id != -1) |
| 50 | ++result; |
| 51 | |
| 52 | return result; |
| 53 | } |
| 54 | } // namespace |
| 55 | |
| 56 | #ifdef DEBUG |
no outgoing calls
no test coverage detected