All Projects → charliegerard → daydream-node

charliegerard / daydream-node

Licence: MIT license
Quick Node.js module to connect to the Daydream controller and receive all the data

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to daydream-node

SmartSpin2k
Transform your spin bike into a Smart Trainer!
Stars: ✭ 88 (+417.65%)
Mutual labels:  hardware, bluetooth, ble, bluetooth-low-energy
Continuity
Apple Continuity Protocol Reverse Engineering and Dissector
Stars: ✭ 180 (+958.82%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
Reactivebeacons
Android library scanning BLE beacons nearby with RxJava
Stars: ✭ 171 (+905.88%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
Viro
ViroReact: AR and VR using React Native
Stars: ✭ 1,735 (+10105.88%)
Mutual labels:  vr, virtual-reality, daydream
Easyble
Android BLE framework
Stars: ✭ 155 (+811.76%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
Node Ble
Bluetooth Low Energy (BLE) library written with pure Node.js (no bindings) - baked by Bluez via DBus
Stars: ✭ 159 (+835.29%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
janusweb
An in-browser implementation of JanusVR
Stars: ✭ 145 (+752.94%)
Mutual labels:  vr, virtual-reality, daydream
Nimble Arduino
A fork of the NimBLE library structured for compilation with Ardruino, designed for use with ESP32.
Stars: ✭ 108 (+535.29%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
Blynk Library
Blynk library for embedded hardware. Works with Arduino, ESP8266, Raspberry Pi, Intel Edison/Galileo, LinkIt ONE, Particle Core/Photon, Energia, ARM mbed, etc.
Stars: ✭ 3,305 (+19341.18%)
Mutual labels:  hardware, bluetooth, bluetooth-low-energy
Relativty
An open source VR headset with SteamVR supports for $200
Stars: ✭ 5,544 (+32511.76%)
Mutual labels:  hardware, vr, virtual-reality
Ble.net
Cross-platform Bluetooth Low Energy (BLE) library for Android, iOS, and UWP
Stars: ✭ 137 (+705.88%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
py-bluetooth-utils
Python module containing bluetooth utility functions, in particular for easy BLE scanning and advertising
Stars: ✭ 60 (+252.94%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
Web Bluetooth Terminal
Progressive Web Application for serial communication with your own Bluetooth Low Energy (Smart) devices
Stars: ✭ 130 (+664.71%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
H Ble
Android Ble类库,基于回调,暴露搜索、连接、发送、接收、断开连接等接口,无需关心细节操作即可进行Ble通信。
Stars: ✭ 171 (+905.88%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
Blueborne Scanner
Bluetooth scanner for local devices that may be vulnerable to Blueborne exploit
Stars: ✭ 125 (+635.29%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
Bluetooth
Cross-platform Bluetooth API for Go and TinyGo.
Stars: ✭ 246 (+1347.06%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
Rxbluetoothkit
iOS & OSX Bluetooth library for RxSwift
Stars: ✭ 1,213 (+7035.29%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
Extendable
Blocks Based Bluetooth LE Connectivity framework for iOS/watchOS/tvOS/OSX. Quickly configure centrals & peripherals, perform read/write operations, and respond characteristic updates.
Stars: ✭ 88 (+417.65%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
Aframe
🅰️ web framework for building virtual reality experiences.
Stars: ✭ 13,428 (+78888.24%)
Mutual labels:  vr, virtual-reality, daydream
bluetooth-terminal
ES6 class for serial communication with your own Bluetooth Low Energy (Smart) devices
Stars: ✭ 43 (+152.94%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy

Daydream-node

Update: This package is no longer working with the updated version of the Daydream controller's firmware. If you have not updated it, it might still work.

Quick Node.js module to connect to the Daydream controller and receive all data.

Installation:

Clone this repo and run:

npm install
node examples/simple.js

OR

npm install daydream-node

Usage:

Make sure your Bluetooth connection is on.

var daydream = require("daydream-node")();

daydream.onStateChange(function (data) {
  if (data.isClickDown) {
    // do something
  }
});

Data available:

Buttons events:

// returns true if the button is clicked.
.isClickDown
.isHomeDown
.isAppDown
.isVolPlusDown
.isVolMinusDown

Orientation:

// returns a float number with the orientation value for each axis.
.xOri
.yOri
.zOri

Accelerometer:

// returns a float number with the accelerometer value for each axis.
.xAcc
.yAcc
.zAcc

Gyroscope:

// returns a float number with the gyroscope value for each axis.
.xGyro
.yGyro
.zGyro

Touch events:

// returns a floating number between 0 and 1 representing the position of the finger on the main button on the x and y axis.
.xTouch
.yTouch

This module was built based on @mrdoob's previous work on the same concept using Web Bluetooth.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].