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

DeviceInputSystem: Pull browser specific code into WebDeviceInputSystem #12865

Merged
merged 10 commits into from
Sep 6, 2022
Merged

DeviceInputSystem: Pull browser specific code into WebDeviceInputSystem #12865

merged 10 commits into from
Sep 6, 2022

Conversation

PolygonalSun
Copy link
Contributor

@PolygonalSun PolygonalSun commented Aug 11, 2022

The purpose of this PR is to pull browser specific code (eg. movementX vs. mozMovementX) into the WebDeviceInputSystem and make it a bit more uniform in execution. This also simplify things for BabylonNative since a lot of this code is irrelevant to its input execution. Also, some references to srcElement were removed because we no longer need to support that property since dropping support for IE.

@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

# Conflicts:
#	packages/dev/core/src/DeviceInput/webDeviceInputSystem.ts
@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

@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

@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
Copy link
Contributor Author

Closing to address next week

@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 marked this pull request as ready for review September 1, 2022 18:28
Copy link
Member

@sebavan sebavan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking good just a few NIT

packages/dev/core/src/DeviceInput/webDeviceInputSystem.ts Outdated Show resolved Hide resolved
packages/dev/core/src/DeviceInput/webDeviceInputSystem.ts Outdated Show resolved Hide resolved
packages/dev/core/src/DeviceInput/webDeviceInputSystem.ts Outdated Show resolved Hide resolved
Copy link
Member

@sebavan sebavan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM lets see what @bghgary thinks before the merge

@PolygonalSun PolygonalSun merged commit 505c0b2 into BabylonJS:master Sep 6, 2022
Copy link
Contributor

@bghgary bghgary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

RaananW pushed a commit that referenced this pull request Dec 9, 2022
…em (#12865)

* WIP

* Fixed ref to srcElement

* Remove commented code

* Prettier

* Changed wheel event check to inputIndex check

* PR feedback

* formatting

* PR Feedback

* prettier

Former-commit-id: 22bc7e95fe7a8674293ddf5c92a2078b6cc11b70
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants