mathieudutour / scroll-through-time

:hourglass: :tophat: :rabbit2: Two fingers scroll moves through time instead of space
https://xkcd.com/1806/
MIT License
721 stars 54 forks source link

Add support for three finger scroll #7

Open peteringram0 opened 7 years ago

peteringram0 commented 7 years ago

Add support for three finger scroll

alondahari commented 6 years ago

+1 I'm actually using two-finger scrolling to scroll through space, which makes this awesome package unusable for me

mallardduck commented 6 years ago

As I was working on #13 I read up on JS detection for such events. Sadly, JS has no native way to distinguish from a true mouse scroll and a trackpad scroll. Because of that there's also limited support for knowing what's going on with 1, 2, vs 3 finger trackpad input.

Maybe some library like Zingtouch could help detect such instances though? Even with that I'm not sure how feasible it would be.

jimigwell commented 6 years ago

hi this could be a very great feature. We can also use cmd+scroll instead of scroll ? Maybe it is possible to do it via keybinding ? i did not acheive it.

milindalvares commented 6 years ago

@jimigwell You can bind a key I think in the settings.

Would love to have 3 finger scroll too. Too bad looks like it's gonna be difficult.

sbrl commented 6 years ago

Yep, on a laptop here too. 3 finger scroll would be ideal, but 2 finger + CTRL would be fine too.

mallardduck commented 6 years ago

@sbrl You should be set to use a modifier key already. Just gotta enable the setting.