Update to latest keyboard-controls usage

This commit is contained in:
Jess Telford 2016-10-05 08:15:56 +11:00
parent 0d13873a75
commit 585f4fd05e
4 changed files with 4 additions and 4 deletions

View file

@ -14,7 +14,7 @@
<a-sky color="#ECECEC"></a-sky> <a-sky color="#ECECEC"></a-sky>
<a-entity position="0 0 3.8"> <a-entity position="0 0 3.8">
<a-camera look-controls-enabled="false" keyboard-controls="fpsMode: true"></a-camera> <a-camera look-controls-enabled="false" keyboard-controls="mode: fps"></a-camera>
</a-entity> </a-entity>
</a-scene> </a-scene>
</body> </body>

View file

@ -23,7 +23,7 @@
<a-sky color="#ECECEC"></a-sky> <a-sky color="#ECECEC"></a-sky>
<a-entity position="0 0 3.8"> <a-entity position="0 0 3.8">
<a-camera look-controls-enabled="false" keyboard-controls="fpsMode: true"></a-camera> <a-camera look-controls-enabled="false" keyboard-controls="mode: fps"></a-camera>
</a-entity> </a-entity>
</a-scene> </a-scene>
</body> </body>

View file

@ -42,7 +42,7 @@
<a-sky color="#ECECEC"></a-sky> <a-sky color="#ECECEC"></a-sky>
<a-entity position="0 0 3.8"> <a-entity position="0 0 3.8">
<a-camera look-controls-enabled="false" keyboard-controls="fpsMode: true"></a-camera> <a-camera look-controls-enabled="false" keyboard-controls="mode: fps"></a-camera>
</a-entity> </a-entity>
<script> <script>
var draggable = document.querySelector('[click-drag]'); var draggable = document.querySelector('[click-drag]');

View file

@ -20,7 +20,7 @@
<a-sky color="#ECECEC"></a-sky> <a-sky color="#ECECEC"></a-sky>
<a-entity position="0 0 3.8"> <a-entity position="0 0 3.8">
<a-camera look-controls-enabled="false" keyboard-controls="fpsMode: true"></a-camera> <a-camera look-controls-enabled="false" keyboard-controls="mode: fps"></a-camera>
</a-entity> </a-entity>
<script> <script>
var draggable = document.querySelector('[click-drag]'); var draggable = document.querySelector('[click-drag]');