Page 1 of 1

mouseDown on tablet (SOLVED)

Posted: Wed Feb 25, 2015 12:14 pm
by Da_Elf
I followed this tutorial
https://sites.google.com/a/pgcps.org/li ... g-programs
the only two changes i made was to make the name of the grc for drawing a global variable so that i could setup multiple drawing graphics. The 2nd was to set a border around the drawing area and start each handler with "...is within..." to see if they are withing the drawing area. Everything seems to work well when i use a mouse. but when i use a touch device with a stylus its like it doesn't recognise the first mousedown or something making things really messy with a stylus.
Note: i used both a microsoft surface with stylus and an acer touch screen with stylus and same result


----SOLUTION BELOW. HOPE THIS HELPS PEOPLE----------

Re: mouseDown on tablet

Posted: Sun Mar 01, 2015 7:39 pm
by Da_Elf
I've tried these apps as well
http://forums.livecode.com/viewtopic.ph ... 651#p72367

Anyone else tried anything like this with a stylus? Where am i going wrong. The apps work well with a mouse but i cant get a single one to work with a stylus since its not registering short lines drawn quickly like crossing a T

Re: mouseDown on tablet

Posted: Tue Mar 03, 2015 4:35 pm
by MaxV
Probably you should use the touchmove message on Android.

Re: mouseDown on tablet

Posted: Tue Mar 03, 2015 7:09 pm
by Da_Elf
this is for windows not for android. It has the same effect on both microsoft surface and hp touch screen with stylus
will look into touchmove to see if it works with any tablet.

nope.this isnt recognised by windows8 for surface or other touch screen computers. Im guessing its a way windows handles touch and not how livecode handles it

SOLUTION

Posted: Tue Mar 03, 2015 7:32 pm
by Da_Elf
ok. that got me moving in the right direction Its actually nothing to do with livecode (which even though i can get frustrated when i cant figure stuff out i still love it....) it all has to do with all the flicking motions someone does with a pen when crossing T's and stuff like that. Windows has a shitty little option for pens called "flicks" which naturally is interpreting my flicking actions as windows commands and not as mouse down and move. I turned off flicks and voila. everything runs a lot smoother