diff --git a/inputfiles/addedTypes.jsonc b/inputfiles/addedTypes.jsonc index 5b7586411..1c48025da 100644 --- a/inputfiles/addedTypes.jsonc +++ b/inputfiles/addedTypes.jsonc @@ -76,12 +76,6 @@ ] } }, - "DeviceMotionEventAcceleration": { - "noInterfaceObject": true - }, - "DeviceMotionEventRotationRate": { - "noInterfaceObject": true - }, "HTMLImageElement": { "name": "HTMLImageElement", "properties": { diff --git a/inputfiles/patches/device-motion.kdl b/inputfiles/patches/device-motion.kdl new file mode 100644 index 000000000..406b03487 --- /dev/null +++ b/inputfiles/patches/device-motion.kdl @@ -0,0 +1,2 @@ +interface DeviceMotionEventAcceleration noInterfaceObject=#true +interface DeviceMotionEventRotationRate noInterfaceObject=#true