-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
script: Move gamepad DOM interfaces to script/dom/gamepad/
#38900
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| /* This Source Code Form is subject to the terms of the Mozilla Public | ||
| * License, v. 2.0. If a copy of the MPL was not distributed with this | ||
| * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ | ||
|
|
||
| #[expect(clippy::module_inception, reason = "The interface name is Gamepad")] | ||
| pub(crate) mod gamepad; | ||
| pub(crate) use gamepad::Gamepad; | ||
| pub(crate) mod gamepadbutton; | ||
| pub(crate) mod gamepadbuttonlist; | ||
| pub(crate) mod gamepadevent; | ||
| pub(crate) mod gamepadhapticactuator; | ||
| pub(crate) mod gamepadpose; | ||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -324,11 +324,7 @@ pub(crate) mod fontfaceset; | |||||||
| pub(crate) mod formdata; | ||||||||
| pub(crate) mod formdataevent; | ||||||||
| pub(crate) mod gamepad; | ||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Should we do this instead? To make it same as
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is this marked as resolved?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think the current change makes more sense than the Bluetooth one since it only applies to the specific module that triggers the warning.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see. Probably refactor bluetooth one later then. |
||||||||
| pub(crate) mod gamepadbutton; | ||||||||
| pub(crate) mod gamepadbuttonlist; | ||||||||
| pub(crate) mod gamepadevent; | ||||||||
| pub(crate) mod gamepadhapticactuator; | ||||||||
| pub(crate) mod gamepadpose; | ||||||||
| pub(crate) use self::gamepad::*; | ||||||||
arihant2math marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||
| #[allow(dead_code)] | ||||||||
| pub(crate) mod globalscope; | ||||||||
| pub(crate) mod hashchangeevent; | ||||||||
|
|
||||||||
Uh oh!
There was an error while loading. Please reload this page.