Open utopianist opened 4 years ago
Yes, it's definitely possible.
Duplicate of #215 Still I'm closing #215 as this one as more info
Solving this issue should also permit using SLP3 on Smartphones. IMHO that last part is not as crucial.
I'm not sure what events are event sent with touchpads or touch devices, I'll need to test this on my laptop.
I've done some reading and found that "touch events are typically available on devices with a touch screen, but many browsers make the touch events API unavailable on all desktop devices, even those with touch screens" (here). "To support both touch and mouse across all types of devices, use pointer events instead." There is the pointerEvent.pointerType property that would permit to handle both touch and mouse without modifying the preferences.
@rsalmei : that might interest you as solving this should solve your issue too.
Thanks for the research on that, I'll see how it performs in the wild. I do have one laptop with a touch screen and a touchpad.
Nice, thanks @remi-garcia! Looking forward to see how it goes.
Just a note: It doesn't work with both a hard right-click or with a gesture(like double-click to drag) on MacBook Pro. But on Windows, just gestures don't work. Hard right-click on the trackpad on Windows works fine.
I'm working in a mouseless PC, likes MacBook. So, I can't trigger SnapLinksPlus's function as click mouse left or right.
Can we achieve this function just only push the key
z
or others? Tks!