awesome-webhid
Curated list of resources relating to the WebHID (Human Interface Device) API
https://github.com/robatwilliams/awesome-webhid
Last synced: 15 days ago
JSON representation
Blogs & articles
- Upcoming WebHID API - access Bluetooth/USB HID devices in web applications - An introduction to WebHID with an example showing how to open, listen for input and send output to a device.
Bluetooth, USB, & HID reference
Candidates
- Human Interface Devices (HID) Information - IF)) - Including the device class definition, and usage tables.
- Human Interface Device Profile specification - "An adaptation of the USB HID Specification to operate over a Bluetooth wireless link."
- A Closer Look at HID Class - Explanation of USB HID, with enough detail yet easy to follow.
- Understanding HID report descriptors - Understanding devices' descriptions of themselves.
Demos, experiments & hacks
Candidates
- tomayac/joy-con-webhid/demo/ - using Nintendo Joy-Cons.
- todbot/blink1-webhid - using the blink(1).
- Elgato StreamDeck - using the Elgato Stream Deck (via @elgato-stream-deck/webhid).
- robatwilliams/webhid-demos - using the BlinkStick Strip.
- tomayac/chrome-dino-webhid - using Nintendo Joy-Cons.
Devices
Candidates
- Cleware - sensors, switches, and lights (see clewarecontrol, sniner/cleware)
- Espruino Pico - has an USB HID mode, might also be useful as an emulator?
- Standard USB HID Specification
- (ref)
- X-keys - keyboards, switches, analog controls, and pedals (see HID Data Reports, Integration, xkeys, node-xkeys)
- Cleware - sensors, switches, and lights (see clewarecontrol, sniner/cleware)
- Cleware - sensors, switches, and lights (see clewarecontrol, sniner/cleware)
- Blink(1) - notification light (see demos section, and prior art node-blink1).
- BlinkStick - light devices and controllers (see demos section, and prior art blinkstick)
- Sony DualShock 4 - controller for PlayStation 4 (see libraries section)
- Nintendo Joy-Cons
- Elgato Stream Deck - programmable button panel (see demos, and libraries)
- Razer Kraken Kitty Edition Headset - headset with customizable LED lighting
Forums & discussion
Candidates
- Human Interface Device (HID) API - Introduction by the editor of the specification, and answers to questions.
Good to know
- top-level HID collections - dev/OaDCpCaEe_4/uZ0z7frlAAAJ]), (ref2).
- (ref) - bluetooth/issues/393) APIs allow access to HID-class devices.
Ideas
Candidates
Inspiration from elsewhere
Candidates
- chrome.hid API sample - Generic input/output Chrome App sample.
- blink(1) using the chrome.hid API - Chrome App sample that controls a Blink(1) notification LED.
- Interacting with USB HID devices from web apps - Using a Chrome App as a go-between between a dictation foot pedal and a web application (2015).
- Griffin Powermate Playground - Using WebUSB.
- node-hid examples - Despite the name, most directly use low-level read/write operations rather than HID abstractions.
- Web Bluetooth Demos - Various, plus links to others.
Libraries
Candidates
- TheBITLINK/WebHID-DS4 - using a DualShock 4 controller.
- @elgato-stream-deck/webhid - using the Elgato Stream Deck (see demos).
- tomayac/joy-con-webhid - using Nintendo Joy-Cons.
Real-world applications
Candidates
- Ergometer Space - Track your indoor rowing exercise, alone or with other online users.
- Remap - Customize a keyboard's keymap (see remap-keys/remap).
- Kraken Kitty Edition Controller - Control the LED lighting on your Razer Kraken Kitty Edition headset.
Related
Candidates
Specification & documentation
- WebHID Explainer - The what & why in a nutshell, including basic terminology and an example. Some API details outdated.
- WebHID (Human Interface Device) - Chrome Platform Status
- Chromium implementation tracking bug: WebHID API - Labelled with targeted & stable release versions; see the development/release calendar.
- WebHID API Specification - Including introduction, motivating applications, and security/privacy.
- WebHID Explainer - The what & why in a nutshell, including basic terminology and an example. Some API details outdated.
Tools
Candidates
- USBDeview - View device information.
- USB Device Tree Viewer - View device information including interface and HID descriptors.