mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Remove WebVR
This commit is contained in:
parent
d8781c1054
commit
c611e46381
74 changed files with 97 additions and 3178 deletions
|
@ -18,6 +18,8 @@ pub struct GamepadButton {
|
|||
value: Cell<f64>,
|
||||
}
|
||||
|
||||
// TODO: support gamepad discovery
|
||||
#[allow(dead_code)]
|
||||
impl GamepadButton {
|
||||
pub fn new_inherited(pressed: bool, touched: bool) -> GamepadButton {
|
||||
Self {
|
||||
|
@ -53,6 +55,8 @@ impl GamepadButtonMethods for GamepadButton {
|
|||
}
|
||||
}
|
||||
|
||||
// TODO: support gamepad discovery
|
||||
#[allow(dead_code)]
|
||||
impl GamepadButton {
|
||||
pub fn update(&self, pressed: bool, touched: bool) {
|
||||
self.pressed.set(pressed);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue