6 ms·
Thanks for making your site wacom-friendly. A lot of sites don't have any denoising for clicks, so if you try to click with a tablet it ends up dragging a tiny
by wickedchicken 14y ago
Thanks for making your site wacom-friendly. A lot of sites don't have any denoising for clicks, so if you try to click with a tablet it ends up dragging a tiny amount instead (twitter's lightbox is REALLY BAD in this respect).
- plehoux 14y agoIt is pretty simple to implement, you increment a variable on 'touchmove' event, and check on 'touchend' if the variable is less then 3. If it is, you can call your click function.
- mrpollo 14y agothanks for that
- radarsat1 14y agohm. seems like something that the browser should handle for you... don't see why every website should have its own debouncing code.
- jahewson 14y agoAh, but then 3px drags are not allowed, which might ruin your web-based diagram editor or game. Also the granularity of the denouncing will change depending on the size of the click target, so it's really app-specific.
- rwallace 14y agoMuch better to break the rare case of three pixel drags than the common case of, well, clicks! It's not realistic to expect every web programmer to start knowing about tablets. The default should be a reasonable amount of denoising, with a way for the page to change that default when needed.
- betterth 14y agoEspecially considering most web dev's will just implement jquery-ui or somesuch draggable library that will handle the proper 3px drag fix for them.
- btipling 14y agoWhy are you using a wacom tablet to browse the web? Isn't that for drawing?
- stan_rogers 14y agoOnce you go absolute-position, it's hard to go back. With a mouse, you need to be aware of where the cursor is; with a tablet you just need to know where you want it to be.
- darkstalker 14y agoNever used a tablet, but I guess you have to build muscle memory to correctly map tablet -> screen coordinates, right?
- stan_rogers 14y agoIt takes about an hour of use to get there, honestly; it's not quite like keyboard chording. And you adjust very quickly when things change — I have no trouble going back and forth between a large Intuos (12x8" active area) and the Bamboo Connect (5.8x3.6") I carry around in my laptop bag (except that I really miss the spinner and buttons).
- jacobolus 14y ago> It takes about an hour of use to get there, honestly I assume you have a great deal of previous drawing experience? In my experience, people without tens of thousands of hours of drawing experience find it extremely difficult to adapt to using a wacom tablet to control the mouse. I’m sure it can be done, but an hour is an incredibly optimistic time estimate.
- ansgri 14y agoStrange, as I've got used to my Wacom Bamboo in less than half a day without much drawing experience.