node-blackmagic-controller

A Node.js library for interfacing with the Blackmagic ATEM Micro Panel (possibly others in future)

MIT License

Downloads
3.1K
Stars
0

@blackmagic-controller

@blackmagic-controller is a collection of libraries for interfacing with the various models of the usb controllers made by Blackmagic Design.

Installing & Usage

Check one of the installable packages for installation and usage instructions:

Have another hid target you wish to use?

The existing implementations are a light wrapper around the platform agnostic @blackmagic-controller/core. You can use your own HID implementation and device scanning/opening logic and reuse all the blackmagiccontroller bits.

Demo

If you are using a Chromium v89+ based browser, you can try out the webhid demo

Linux

On linux, the udev subsystem blocks access to the BlackmagicController without some special configuration. Copy one of the following files into /etc/udev/rules.d/ and reload the rules with sudo udevadm control --reload-rules

  • Use the headless server version when your software will be running as a system service, and is not related to a logged in user
  • Use the desktop user version when your software is run by a user session on a distribution using systemd

Unplug and replug the device and it should be usable

Contributing

The blackmagic-controller team enthusiastically welcomes contributions and project participation! There's a bunch of things you can do if you want to contribute! Please don't hesitate to jump in if you'd like to, or even ask us questions if something isn't clear.

Please refer to the Changelog for project history details, too.