PointerState* Input::getTouchByID(int64 id) { int i = touchID2index(id); if (i == -1) return 0; return getTouchByIndex(i); }
PointerState* Input::getTouchByID(int id) { return getTouchByIndex(touchID2index(id)); }