Skip to content

Commit

Permalink
update docs to reflect default to either hand
Browse files Browse the repository at this point in the history
  • Loading branch information
machenmusik committed Apr 12, 2017
1 parent 8972f1d commit b0361ec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/components/gearvr-controls.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ and/or pressed buttons (trackpad, trigger).
## Example

```html
<!-- Match Gear VR controller if present, regardless of hand. -->
<a-entity gearvr-controls></a-entity>

<!-- Match Gear VR controller if present and for specified hand. -->
<a-entity gearvr-controls="hand: left"></a-entity>
<a-entity gearvr-controls="hand: right"></a-entity>
```
Expand All @@ -26,7 +30,7 @@ and/or pressed buttons (trackpad, trigger).
| buttonColor | Button colors when not pressed. | #000000 |
| buttonTouchedColor | Button colors when touched. | #777777 |
| buttonHighlightColor | Button colors when pressed and active. | #FFFFFF |
| hand | The hand that will be tracked (i.e., right, left). | right |
| hand | The hand that will be tracked (e.g., right, left). | |
| model | Whether the Daydream controller model is loaded. | true |
| rotationOffset | Offset to apply to model rotation. | 0 |

Expand Down

0 comments on commit b0361ec

Please sign in to comment.