///////////////////////////////////////////////////////
| 654 | |
| 655 | //////////////////////////////////////////////////////////// |
| 656 | Vector2i getTouchPosition(unsigned int finger) |
| 657 | { |
| 658 | for (const auto& slot : touchSlots) |
| 659 | { |
| 660 | if (slot.id == finger) |
| 661 | return slot.pos; |
| 662 | } |
| 663 | |
| 664 | return {}; |
| 665 | } |
| 666 | |
| 667 | |
| 668 | //////////////////////////////////////////////////////////// |