src/events/SDL_touch_c.h
changeset 4677 31607094315c
parent 4676 99b4560b7aa1
child 4678 f8431f66613d
     1.1 --- a/src/events/SDL_touch_c.h	Fri Jul 30 23:18:35 2010 +0400
     1.2 +++ b/src/events/SDL_touch_c.h	Sat Jul 31 01:24:50 2010 +0400
     1.3 @@ -58,6 +58,10 @@
     1.4  extern int SDL_SendTouchMotion(long id, long fingerid,
     1.5  			       int relative, float x, float y, float z);
     1.6  
     1.7 +/* Send a touch down/up event for a touch */
     1.8 +extern int SDL_SendFingerDown(long id, long fingerid, SDL_bool down, 
     1.9 +							  float x, float y, float pressure);
    1.10 +
    1.11  /* Send a touch button event for a touch */
    1.12  extern int SDL_SendTouchButton(long id, Uint8 state, Uint8 button);
    1.13  
    1.14 @@ -67,6 +71,9 @@
    1.15  /* Get the index of a touch device */
    1.16  extern int SDL_GetTouchIndexId(long id);
    1.17  
    1.18 +/* Print a debug message for a nonexistent touch */
    1.19 +extern int SDL_TouchNotFoundError(long id);
    1.20 +
    1.21  #endif /* _SDL_touch_c_h */
    1.22  
    1.23  /* vi: set ts=4 sw=4 expandtab: */