Skip to content

Commit

Permalink
Merge pull request #57 from rakuco/adapt-to-automation-changes
Browse files Browse the repository at this point in the history
Adapt to virtual sensor changes in w3c/sensors#475
  • Loading branch information
anssiko authored Dec 7, 2023
2 parents 153424c + 22d42f9 commit ccb15d7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ The <dfn id="gyroscope-sensor-type">Gyroscope</dfn> <a>sensor type</a> has the f
:: Invoke the [=generic sensor permission revocation algorithm=] with "<code><a permission>gyroscope</a></code>".
: [=Default sensor=]
:: The device's main gyroscope sensor.
: [=Virtual sensor type=]
:: "<code><dfn data-lt="gyroscope virtual sensor type">gyroscope</dfn></code>"

A [=latest reading=] of a {{Sensor}} of <a>Gyroscope</a> <a>sensor type</a> includes three [=map/entries=]
whose [=map/keys=] are "x", "y", "z" and whose [=map/values=] contain current <a>angular
Expand Down Expand Up @@ -244,9 +246,9 @@ This section extends [[GENERIC-SENSOR#automation]] by providing [=Gyroscope=]-sp

The [=per-type virtual sensor metadata=] [=map=] must have the following [=map/entry=]:
: [=map/key=]
:: "`gyroscope`"
:: "<code>[=gyroscope virtual sensor type|gyroscope=]</code>"
: [=map/value=]
:: A [=virtual sensor metadata=] whose [=virtual sensor metadata/virtual sensor type=] is [=Gyroscope=] and [=reading parsing algorithm=] is [=parse xyz reading=].
:: A [=virtual sensor metadata=] whose [=virtual sensor metadata/reading parsing algorithm=] is [=parse xyz reading=].

Acknowledgements {#acknowledgements}
================
Expand Down

0 comments on commit ccb15d7

Please sign in to comment.