Giter VIP home page Giter VIP logo

telephony-webhid-demo's Introduction

WebHID demo for the telephony headsets

A demo that connects to a USB headsets, including Bluetooth headsets that include USB dongles

WebHID API specification

Browser requirements

WebHID is available in Chrome 78+ behind a flag. To use WebHID, navigate to chrome://flags in a browser window and enable "Experimental Web Platform Features", then restart Chrome.

Usage

  • Plug the headset into a USB port.
  • Open the demo page
  • Select the headset manufacturer to use a preset definition of HID descriptors, OR
  • Select Auto (for ChromeOS, Linux and Mac only), and optionally enter a vendor ID filter. Auto mode will attempt to auto-enumerate the descriptor.
  • Click connect
  • In the device chooser dialog, select the headset
  • Check that a "Connected to device" message is displayed.

After connecting to the headset, try clicking the "Pick Up" button to send an output report. This will cause LEDs to light up on the headset and control unit. The headset should respond with HID input reports. You can also press buttons on the control unit/headset to cause the headset to send HID input reports.

When using a preset definition, the set descriptor will be displayed. When using auto mode, the detected reports will be displayed.

telephony-webhid-demo's People

Contributors

rjohnsondev avatar nondebug avatar rpaskowitz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.