pitch/zoom/scrolling

Status
Not open for further replies.

tonton81

Well-known member
ive captured some touchscreen data of a resistive panel that supports double touch, uint16_t X axis, uint16_t Y axis. the zoom/pitch (double finger) has its own uint16_t field of ~ 0x0000 - 0xF800 while the zoom is between ~0x0000 to 0x1000

ive already got touch, and touch+hold working, and i can tell the difference between zoom/pitch and scrolling from the stream, including the pressure of the touch, however, does anyone know a good way to do math on this to be able to use it with mouse.scroll(), a way to calculate the necessary values into something that works to create a zooming in/out effect with teensy mouse library and double finger scrolling?

thanks
 
Status
Not open for further replies.
Back
Top