src/events/SDL_touch_c.h
changeset 12404 eb60e952b13f
parent 11811 5d94cb6b24d3
child 12503 806492103856
     1.1 --- a/src/events/SDL_touch_c.h	Wed Nov 07 07:52:39 2018 -0800
     1.2 +++ b/src/events/SDL_touch_c.h	Sat Nov 10 16:15:48 2018 -0400
     1.3 @@ -27,6 +27,7 @@
     1.4  typedef struct SDL_Touch
     1.5  {
     1.6      SDL_TouchID id;
     1.7 +    SDL_TouchDeviceType type;
     1.8      int num_fingers;
     1.9      int max_fingers;
    1.10      SDL_Finger** fingers;
    1.11 @@ -37,7 +38,7 @@
    1.12  extern int SDL_TouchInit(void);
    1.13  
    1.14  /* Add a touch, returning the index of the touch, or -1 if there was an error. */
    1.15 -extern int SDL_AddTouch(SDL_TouchID id, const char *name);
    1.16 +extern int SDL_AddTouch(SDL_TouchID id, SDL_TouchDeviceType type, const char *name);
    1.17  
    1.18  /* Get the touch with a given id */
    1.19  extern SDL_Touch *SDL_GetTouch(SDL_TouchID id);