sojamo / controlp5

A gui library for processing.org
GNU Lesser General Public License v2.1
490 stars 142 forks source link

Behavior on Touchscreen Devices #92

Open joquist opened 7 years ago

joquist commented 7 years ago

On a Windows 10 touchscreen device buttons require two taps to function properly.

It seems as if the first tap is required to set the cursor (X,Y) position, and the second tap adds a click event at that position. Tapping a different button seems to set the (X,Y) position at the new button, but adds a click event at the previous position (clicking the prior button).

Is there a way to get around this so that buttons can be clicked by single taps? This really affects functionality on touchscreens.

There's a longer discussion of this behavior here: https://forum.processing.org/two/discussion/4346/processing-application-on-a-touch-screen-tablet

ghost commented 7 years ago

Got the same problem.