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

MouseWheel horizontal scrolling support (MouseEvent.MOUSE_WHEEL_LEFT, MouseEvent.MOUSE_WHEEL_RIGHT) #1858

Open
2jfw opened this issue Apr 20, 2022 · 6 comments
Labels

Comments

@2jfw
Copy link

2jfw commented Apr 20, 2022

Today, most of the computer mice do offer horizontal scrolling capabilities by pushing the mouse wheel to the left or right side - AIR support for this would be a welcome addition (suggesting MouseEvent.MOUSE_WHEEL_LEFT and MouseEvent.MOUSE_WHEEL_RIGHT).

@2jfw 2jfw added the Feature label Apr 20, 2022
@ajwfrost
Copy link
Collaborator

Thanks for the suggestion .. I think as there's already a mouseWheel event (MouseEvent.MOUSE_WHEEL) which implies a vertical scroll movement, then it would be more likely we do a MouseEvent.MOUSE_WHEEL_HORIZONTAL or MouseEvent.MOUSE_HWHEEL or similar, and have one event for both left/right depending on the delta value?

Will put this down for one of the forthcoming API updates, seems like a fairly good idea :-)

@2jfw
Copy link
Author

2jfw commented Apr 21, 2022

Thanks for the suggestion .. I think as there's already a mouseWheel event (MouseEvent.MOUSE_WHEEL) which implies a vertical scroll movement, then it would be more likely we do a MouseEvent.MOUSE_WHEEL_HORIZONTAL or MouseEvent.MOUSE_HWHEEL or similar, and have one event for both left/right depending on the delta value?

Sounds good - having only one Event and then a "delta" analog to existing MouseEvent.MOUSE_WHEEL would even be better 👍

@2jfw
Copy link
Author

2jfw commented Apr 21, 2022

Will put this down for one of the forthcoming API updates, seems like a fairly good idea :-)

We could add that to the Roadmap, too btw..
https://github.com/orgs/airsdk/projects/2

@ajwfrost
Copy link
Collaborator

Good plan! I keep meaning to try to fill that in....

@2jfw
Copy link
Author

2jfw commented Mar 1, 2023

Any news on this?

@ajwfrost
Copy link
Collaborator

ajwfrost commented Mar 1, 2023

We missed this one from SWF v50 - but planning to get this one into SWF v51, roughly pencilled in for the summer...
thanks

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

No branches or pull requests

2 participants