ten1seven / what-input

A global utility for tracking the current input method (mouse/pointer, keyboard or touch).
https://ten1seven.github.io/what-input
MIT License
1.36k stars 77 forks source link

Extend buffer timeout #22

Closed patrickhlauke closed 8 years ago

patrickhlauke commented 8 years ago

300ms is causing iOS (which has default delay of ~350ms) to trigger touch, then mouse (once mouse compatibility events fire). through trial and error (on iPhone 6S) a value of around 650ms seems more appropriate (and still snappier than the original 1s from previous version)

ten1seven commented 8 years ago

Oh man, thanks for catching this! I'd done a bunch of work on it today and thought 300ms was working.