WebHID Demo - Keyboard Backlight

Source

The WebHID API lets websites discover and communicate with HID devices. It's currently implemented in Chrome 78.

This sample illustrates the use of the Web HID API to set the keyboard backlight level on a MacBookPro15,1 it should work on every Mac that has a TouchBar.