mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
script: Move gamepad DOM interfaces to script/dom/gamepad/
(#38900)
Moves interfaces defined by the gamepad spec to the `script/dom/gamepad/` module from `script/dom/`. Testing: Just a refactor shouldn't need any testing Fixes: N/A Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
This commit is contained in:
parent
21a7782206
commit
461ff26812
10 changed files with 26 additions and 18 deletions
12
components/script/dom/gamepad/mod.rs
Normal file
12
components/script/dom/gamepad/mod.rs
Normal file
|
@ -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;
|
Loading…
Add table
Add a link
Reference in a new issue