Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 861 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 861 Bytes

daydream-controller-ts

A standalone TypeScript module for interacting with Google Daydream Controller (via Bluetooth).

General

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.

Using the example

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.

Special thanks...

...to Mr. Doob for always delivering the JS for the latest stuff!