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

Response to mouse middle button scrolling? #133

Closed
aaron1028923 opened this issue Aug 4, 2021 · 1 comment
Closed

Response to mouse middle button scrolling? #133

aaron1028923 opened this issue Aug 4, 2021 · 1 comment

Comments

@aaron1028923
Copy link

Any way to use the middle button scrolling?

@drauggres
Copy link
Collaborator

Hi. At the moment I handle only these events:

private static readonly touchEventsNames: TouchEventNames[] = [
'touchstart',
'touchend',
'touchmove',
'touchcancel',
'mousedown',
'mouseup',
'mousemove',
];

Browsers have onwheel event. We can handle it and send a ScrollControlMessage to a device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants