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

InputManager: Added mouse buttons 4 and 5 to InputManager mouse handling #12765

Merged
merged 1 commit into from
Jul 19, 2022
Merged

InputManager: Added mouse buttons 4 and 5 to InputManager mouse handling #12765

merged 1 commit into from
Jul 19, 2022

Conversation

PolygonalSun
Copy link
Contributor

A user in the forums brought an issue to our attention where the mouse 4 and 5 buttons (Browser Back and Browser Forward) weren't triggering scene.onPointerObservable. This had worked previously in 4.2. Upon further investigation, it was found that the code used in the InputManager to route the input calls had omitted these buttons. This PR will add them back into the InputManager.

Forum Post: https://forum.babylonjs.com/t/scene-onpointerobservable-doesnt-catch-mouse4-and-mouse5-events-in-babylonjs-5/32225

@azure-pipelines
Copy link

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

@azure-pipelines
Copy link

@PolygonalSun PolygonalSun enabled auto-merge (squash) July 19, 2022 18:42
@PolygonalSun PolygonalSun merged commit 612b191 into BabylonJS:master Jul 19, 2022
RaananW pushed a commit that referenced this pull request Dec 9, 2022
Former-commit-id: 3106fc30fb826877c3aac53f3f8c2fa298894501
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

Successfully merging this pull request may close these issues.

2 participants