A-Frame component to handle the Oculus Rift Touch Controlers
npm install
npm run start //to launch the web server
To use this component just add the touch-controls library to your page, and add an entity component for each hand.
<html>
<head>
<script src="https://aframe.io/releases/0.3.2/aframe.js"></script>
<script src="touch-controls.js"></script>
</head>
<body>
<a-scene>
<a-entity touch-controls="hand: left"></a-entity>
<a-entity touch-controls="hand: right"></a-entity>
<!-- Your code here -->
</a-scene>
</body>
</html>
#Information I didn't get to find proper hands with all the animations possible with the Touch handling combination. So for now you just see your touch controlers and events are logged in the console.