A standalone TypeScript module for interacting with Google Daydream Controller (via Bluetooth).
This module is based on https://github.com/mrdoob/daydream-controller.js, a plain JS approach for using Daydream Controllers.
This repository is not intended to be ready-to-use via a package manager like npm. Simply use the content of ./ts and feel free to adjust it for your usage.
For using the example (showing the integration of the TS class), do the following within the repo directory:
cd ./example
npm install
./node_modules/.bin/tsc
Then simply open index.html in your browser. You can then connect your daydream controller via the "Connect Daydream Controller" button.
...to Mr. Doob for always delivering the JS for the latest stuff!