mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Merge commit '889cebb7c20d4195e5d4ac344a2175f2490354cc' into main
This commit is contained in:
commit
2ad73db6e2
@ -73,8 +73,8 @@ touch_handle_touch(void *data,
|
|||||||
**/
|
**/
|
||||||
|
|
||||||
float FIXED_TO_FLOAT = 1. / 10000.;
|
float FIXED_TO_FLOAT = 1. / 10000.;
|
||||||
float xf = FIXED_TO_FLOAT * x;
|
float xf = FIXED_TO_FLOAT * normalized_x;
|
||||||
float yf = FIXED_TO_FLOAT * y;
|
float yf = FIXED_TO_FLOAT * normalized_y;
|
||||||
|
|
||||||
float PRESSURE_TO_FLOAT = 1. / 255.;
|
float PRESSURE_TO_FLOAT = 1. / 255.;
|
||||||
float pressuref = PRESSURE_TO_FLOAT * pressure;
|
float pressuref = PRESSURE_TO_FLOAT * pressure;
|
||||||
|
Loading…
Reference in New Issue
Block a user