Fixed bug #2032: add SDL_GetTouchName to expose the driver name of the device (Thanks @mgerhardy!)

This commit is contained in:
Sylvain
2022-02-08 11:32:20 +01:00
parent 8ce003a42c
commit 34d4f5b14e
3 changed files with 18 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ typedef struct SDL_Touch
int num_fingers;
int max_fingers;
SDL_Finger** fingers;
char *name;
} SDL_Touch;