{"id":15146598,"url":"https://github.com/webxr-ios/daydream-controller","last_synced_at":"2026-02-04T18:01:05.567Z","repository":{"id":228073687,"uuid":"773083496","full_name":"WebXR-iOS/daydream-controller","owner":"WebXR-iOS","description":"A JS library for using daydream controllers in Javascript!","archived":false,"fork":false,"pushed_at":"2024-03-17T17:11:52.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-06T17:49:41.786Z","etag":null,"topics":["bluetooth","bluetooth-low-energy","controller","controller-api","controllers","daydream","daydream-controllers","google","virtual-reality","vr","webvr","webxr"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WebXR-iOS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-16T17:44:05.000Z","updated_at":"2024-03-16T18:03:11.000Z","dependencies_parsed_at":"2024-03-17T00:54:40.893Z","dependency_job_id":"d638f9d5-4f66-4232-a4f1-d41ce8215519","html_url":"https://github.com/WebXR-iOS/daydream-controller","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"8d4d40711c76d01532b32b6d0fecfe4d87215437"},"previous_names":["webxr-ios/daydream-controller"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/WebXR-iOS/daydream-controller","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebXR-iOS%2Fdaydream-controller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebXR-iOS%2Fdaydream-controller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebXR-iOS%2Fdaydream-controller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebXR-iOS%2Fdaydream-controller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebXR-iOS","download_url":"https://codeload.github.com/WebXR-iOS/daydream-controller/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebXR-iOS%2Fdaydream-controller/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29092706,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T03:31:03.593Z","status":"ssl_error","status_checked_at":"2026-02-04T03:29:50.742Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bluetooth","bluetooth-low-energy","controller","controller-api","controllers","daydream","daydream-controllers","google","virtual-reality","vr","webvr","webxr"],"created_at":"2024-09-26T12:03:05.783Z","updated_at":"2026-02-04T18:01:05.548Z","avatar_url":"https://github.com/WebXR-iOS.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Daydream Controller\nA JS library for using daydream controllers in Javascript!\n\n# How to use\n### Get controller api\n```js\nvar controller = new DaydreamController(); // returns Object\n```\n### Connect to device\n```js\ncontroller.connect(); // returns Bool\n```\n### Disconnect from device\n```js\ncontroller.disconnect(); // returns Undefined\n```\n### Get all info\n```js\ncontroller.getInfo(); // returns Object\n\n{\n  battery: int,\n  model: string,\n  serial: string,\n  firmware: float,\n  hardware: float,\n  software: string,\n  manufacturer: string,\n  pnp_id: string\n}\n```\n### Get battery\n```js\ncontroller.getBattery(); // returns Int (0 - 100)\n```\n### Get model\n```js\ncontroller.getModel(); // returns String\n```\n### Get serial\n```js\ncontroller.getSerial(); // returns String\n```\n### Get firmware revision\n```js\ncontroller.getFirmware(); // returns Float\n```\n### Get hardware revision\n```js\ncontroller.getHardware(); // returns Float\n```\n### Get software revision\n```js\ncontroller.getSoftware(); // returns String\n```\n### Get manufacturer name\n```js\ncontroller.getManufacturer(); // returns String\n```\n### Get PnP ID\n```js\ncontroller.getPnPID(); // returns String\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebxr-ios%2Fdaydream-controller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebxr-ios%2Fdaydream-controller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebxr-ios%2Fdaydream-controller/lists"}