Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple only values / support except option #75

Open
SteveEdson opened this issue Apr 23, 2018 · 1 comment
Open

Support multiple only values / support except option #75

SteveEdson opened this issue Apr 23, 2018 · 1 comment
Assignees

Comments

@SteveEdson
Copy link

We have an issue with the pointer mode on some android devices (force is reported greater than 1, up to values such as 31 etc).

As a result, we want to disable this event and use the polyfill. However, we still want to support mouse and touch. Currently, there doesn't seem to be a way to do this, I'd like for one of the two options to be implemented if possible:

const config = {
    only: ['mouse', 'touch']
};

or

const config = {
    except: 'pointer'
};

Thanks.

@stuyam
Copy link
Owner

stuyam commented Apr 23, 2018

Sounds like this is part feature request, part bug report? I'm guessing the value going above 1 thing should be fixed too, I should have something to max out every outputted value to 1 if anything goes above.

I will also take a look at adding an array option or something for config. I am open to pull requests as well 😄 not sure when exactly I will get around to this but will keep you posted.

@stuyam stuyam self-assigned this Jan 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants