| 11 | |
| 12 | template <typename T> |
| 13 | inline T clip(T v, T amin, T amax) |
| 14 | { |
| 15 | if (v < amin) |
| 16 | return amin; |
| 17 | else if (v > amax) |
| 18 | return amax; |
| 19 | else |
| 20 | return v; |
| 21 | } |
| 22 | |
| 23 | #define TOUCH_PORT_MAX_NUM 1 |
| 24 | #define NO_TOUCH -1 // finger id setting if finger is not touching the screen |
no outgoing calls
no test coverage detected