Skip to content

A standalone TypeScript module for interacting with Google Daydream Controller e.g. in a "webvr-polyfill"-based project (via Web Bluetooth API).

License

Notifications You must be signed in to change notification settings

xabuloes/daydream-controller-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

A standalone TypeScript module for interacting with Google Daydream Controller e.g. in a "webvr-polyfill"-based project (via Web Bluetooth API).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published