Merge commit '889cebb7c20d4195e5d4ac344a2175f2490354cc' into main

main
Sam Lantinga 2021-05-07 12:28:57 -07:00
commit 2ad73db6e2
1 changed files with 2 additions and 2 deletions

View File

@ -73,8 +73,8 @@ touch_handle_touch(void *data,
**/
float FIXED_TO_FLOAT = 1. / 10000.;
float xf = FIXED_TO_FLOAT * x;
float yf = FIXED_TO_FLOAT * y;
float xf = FIXED_TO_FLOAT * normalized_x;
float yf = FIXED_TO_FLOAT * normalized_y;
float PRESSURE_TO_FLOAT = 1. / 255.;
float pressuref = PRESSURE_TO_FLOAT * pressure;