diff --git a/index.bs b/index.bs index 5f7b71d..6ceedb4 100644 --- a/index.bs +++ b/index.bs @@ -40,9 +40,6 @@ urlPrefix: https://w3c.github.io/sensors/; spec: GENERIC-SENSOR text: eavesdropping; url: eavesdropping text: generic mitigations; url: mitigation-strategies text: supported sensor options - text: automation - text: mock sensor type - text: mock sensor reading values urlPrefix: https://w3c.github.io/accelerometer/; spec: ACCELEROMETER type: dfn text: device coordinate system @@ -241,23 +238,13 @@ Abstract Operations {#abstract-operations} Automation {#automation} ========== -This section extends the [=automation=] section defined in the Generic Sensor API [[GENERIC-SENSOR]] -to provide mocking information about the rate of rotation around the device's local three primary axes -for the purposes of testing a user agent's implementation of {{Gyroscope}} API. +This section extends [[GENERIC-SENSOR#automation]] by providing [=Gyroscope=]-specific virtual sensor metadata. -

Mock Sensor Type

- -The {{Gyroscope}} class has an associated [=mock sensor type=] which is -"gyroscope", its [=mock sensor reading values=] -dictionary is defined as follows: - -
-  dictionary GyroscopeReadingValues {
-    required double? x;
-    required double? y;
-    required double? z;
-  };
-
+The [=per-type virtual sensor metadata=] [=map=] must have the following [=map/entry=]: +: [=map/key=] +:: "`gyroscope`" +: [=map/value=] +:: A [=virtual sensor metadata=] whose [=virtual sensor metadata/virtual sensor type=] is [=Gyroscope=] and [=reading parsing algorithm=] is [=parse xyz reading=]. Acknowledgements {#acknowledgements} ================