Fixed various type and print format issues
This commit is contained in:
parent
39ee818f98
commit
b7caec8ae2
5 changed files with 37 additions and 18 deletions
|
@ -393,7 +393,7 @@ SDL_SendTouchMotion(SDL_TouchID id, SDL_FingerID fingerid, int relative,
|
|||
Uint16 x = (xin+touch->x_min)*(touch->xres)/(touch->native_xres);
|
||||
Uint16 y = (yin+touch->y_min)*(touch->yres)/(touch->native_yres);
|
||||
Uint16 pressure = (yin+touch->pressure_min)*(touch->pressureres)/(touch->native_pressureres);
|
||||
printf("(%f,%f) --> (%i,%i)",xin,yin,x,y);
|
||||
printf("(%f,%f) --> (%i,%i)\n",xin,yin,x,y);
|
||||
if(touch->flush_motion) {
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue