Skip to content
 
 

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

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.

About

A WebHID demo for the telephony headsets

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages