ADDED: GetTouchPointId(index) #1972
This commit is contained in:
parent
1627f34032
commit
c96de3a23a
2 changed files with 12 additions and 0 deletions
10
src/core.c
10
src/core.c
|
|
@ -3575,6 +3575,16 @@ Vector2 GetTouchPosition(int index)
|
|||
return position;
|
||||
}
|
||||
|
||||
// Get touch point identifier for given index
|
||||
int GetTouchPointId(int index)
|
||||
{
|
||||
int id = -1;
|
||||
|
||||
if (index < MAX_TOUCH_POINTS) id = CORE.Input.Touch.pointId[index];
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
// Get number of touch points
|
||||
int GetTouchPointCount(void)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue