src/events/SDL_touch.c
changeset 5424 2a206577656f
parent 5332 ae8b6fb1feaf
child 5455 5fbf5fc81aa8
equal deleted inserted replaced
5423:b69fa50e80d7 5424:2a206577656f
   394 
   394 
   395 int
   395 int
   396 SDL_SendTouchMotion(SDL_TouchID id, SDL_FingerID fingerid, int relative, 
   396 SDL_SendTouchMotion(SDL_TouchID id, SDL_FingerID fingerid, int relative, 
   397                     float xin, float yin, float pressurein)
   397                     float xin, float yin, float pressurein)
   398 {
   398 {
   399     int index = SDL_GetTouchIndexId(id);
       
   400     SDL_Touch *touch;
   399     SDL_Touch *touch;
   401     SDL_Finger *finger;
   400     SDL_Finger *finger;
   402     int posted;
   401     int posted;
   403     Sint16 xrel, yrel;
   402     Sint16 xrel, yrel;
   404     Uint16 x;
   403     Uint16 x;